Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6923226

Exceptions at running JavaTest GUI

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b03
    • CPU:
      x86
    • OS:
      windows_xp, windows_vista, windows_7
    • Verification:
      Verified

      Backports

        Description

        Testsuite name: Regression test suite
        JDK/JRE tested: jdk-6u19-fcs-bin-b02-windows-i586-02_feb_2010.exe
        OS/architecture: win7-ultimate-i586
        Reproducible: Always
        Is it a platform specific regression: Y
        Is it a Regression: Y
        Regression introduced in release/build: 6u19 b01
        Steps to reproduce:
        Take an javatest.jar (I used a 3.2.2_02 fcs b08 version)
        Delete .javatest folder from HOME dir.
        Run java -jar javatest.jar

        A lot of exceptions are thrown:
        Exception in thread "Basic L&F File Loading Thread" java.lang.NullPointerException
        at sun.awt.shell.Win32ShellFolder2.hasAttribute(Win32ShellFolder2.java:523)
        at sun.awt.shell.Win32ShellFolder2.isFileSystem(Win32ShellFolder2.java:514)
        at sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(Win32ShellFolderManager2.java:348)
        at sun.awt.shell.ShellFolder.isFileSystemRoot(ShellFolder.java:242)
        at javax.swing.filechooser.FileSystemView.isFileSystemRoot(FileSystemView.java:310)
        at javax.swing.filechooser.WindowsFileSystemView.isTraversable(FileSystemView.java:632)
        at javax.swing.JFileChooser.isTraversable(JFileChooser.java:1561)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:232)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:211)
        FileSystemView.getShellFolder: f=C:\JDK\jdk1.6.0_19\bin
        java.io.FileNotFoundException: Execution was interrupted
        at sun.awt.shell.Win32ShellFolderManager2.createShellFolder(Win32ShellFolderManager2.java:54)
        at sun.awt.shell.Win32ShellFolderManager2.createShellFolder(Win32ShellFolderManager2.java:44)
        at sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:218)
        at javax.swing.filechooser.FileSystemView.getShellFolder(FileSystemView.java:507)
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:431)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:218)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:211)
        Exception in thread "Basic L&F File Loading Thread" java.lang.NullPointerException
        at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:434)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:218)
        at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:211)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rupashka Pavel Porvatov (Inactive)
                  Reporter:
                  tonyli Tony Li
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: