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

[TEST BUG] javax/swing/text/html/parser/Test8017492.java fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b13
    • OS:
      linux_oracle_5.5

      Backports

        Description

        fails with jdk1.8.0b100, jdk1.8.0b99, jdk1.7.0_25b15

        elapsed time (seconds): 0.256
        ----------System.out:(0/0)----------
        ----------System.err:(30/1815)----------
        java.lang.NullPointerException
        at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1001)
        at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:996)
        at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:991)
        at java.awt.Toolkit.getEventQueue(Toolkit.java:1735)
        at java.awt.EventQueue.isDispatchThread(EventQueue.java:1026)
        at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1363)
        at javax.swing.text.StyleContext.reclaim(StyleContext.java:454)
        at javax.swing.text.StyleContext.addAttribute(StyleContext.java:311)
        at javax.swing.text.html.StyleSheet.addAttribute(StyleSheet.java:578)
        at javax.swing.text.StyleContext$NamedStyle.addAttribute(StyleContext.java:1501)
        at javax.swing.text.StyleContext$NamedStyle.setName(StyleContext.java:1312)
        at javax.swing.text.StyleContext$NamedStyle.<init>(StyleContext.java:1259)
        at javax.swing.text.StyleContext.addStyle(StyleContext.java:107)
        at javax.swing.text.StyleContext.<init>(StyleContext.java:87)
        at javax.swing.text.html.StyleSheet.<init>(StyleSheet.java:166)
        at javax.swing.text.html.HTMLDocument.<init>(HTMLDocument.java:281)
        at Test8017492$3.<init>(Test8017492.java:73)
        at Test8017492.main(Test8017492.java:73)
        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:491)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:724)

        JavaTest Message: Test threw exception: java.lang.NullPointerException
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.NullPointerException
        result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


        test result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                serb Sergey Bylokhov
                Reporter:
                asakharu Aleksandr Sakharuk (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: