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

[TEST_BUG] Test javax/swing/JFileChooser/8062561/bug8062561.java fails on Windows XP only

XMLWordPrintable

      Testsuite name: Regression ( j2se_javax_gui )
      Test name(s): javax/swing/JFileChooser/8062561/bug8062561.java
      Product(s) tested: JDK 7u80b08 (32-bit jdk)
      OS/architecture: Windows XP Pro SP3/ x86

      Error log file (if present): see comments

      Reproducible: Always
      Reproducible on machine: adc6140238.us.oracle.com, adc6140230.us.oracle.com
      Is it a Regression: No
      Regression introduced in release/build: N/A
      Test result on the last GAed release for this train: Fail ( 1.7.0_76 b13 )
      Test result on FCS: Fail ( 1.7.0 b148 )

      Is it a platform specific issue: Yes( Passes in Windows 7)

      Exception/Error from Log:
      ----------System.out:(29/1880)*----------
      os name: Windows XP
      after OS Check!
      C:\\jdk\\jdk1.7.0_80b08\\jre\\bin\\java -Djava.security.manager -Djava.security.policy=security2.policy bug8062561 CHECK_FILE_CHOOSER
      [RESULT] : The sub process has cleanly exited : PASS
      ========= Child process stderr ========
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
      at sun.awt.shell.Win32ShellFolderManager2.getPersonal(Win32ShellFolderManager2.java:206)
      at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:252)
      at sun.awt.shell.ShellFolder.get(ShellFolder.java:254)
      at javax.swing.filechooser.FileSystemView.getDefaultDirectory(FileSystemView.java:429)
      at javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:565)
      at javax.swing.JFileChooser.<init>(JFileChooser.java:344)
      at javax.swing.JFileChooser.<init>(JFileChooser.java:296)
      at bug8062561$1.run(bug8062561.java:86)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
      at java.awt.EventQueue.access$300(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:706)
      at java.awt.EventQueue$3.run(EventQueue.java:704)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

      ----------System.err:(15/902)----------
      java.lang.RuntimeException: [RESULT] : Exception in child process : FAIL
      at bug8062561.performTest(bug8062561.java:178)
      at bug8062561.generatePolicyFile(bug8062561.java:153)
      at bug8062561.main(bug8062561.java:52)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: [RESULT] : Exception in child process : FAIL
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: [RESULT] : Exception in child process : FAIL
      Test run log location:
      Steps to reproduce: see comments

            sgupta Shobhit Gupta
            sgupta Shobhit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: