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

Test javax/swing/text/DevanagariEditor.java fails in mach5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 11
    • client-libs

      This test fails in mach5:
      ----------System.err:(28/2129)----------
      java.lang.Error: no ComponentUI class for: javax.swing.JEditorPane[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,caretColor=,disabledTextColor=,editable=true,margin=,selectedTextColor=,selectionColor=,kit=,typeHandlers=]
      at java.desktop/javax.swing.UIDefaults.getUIError(UIDefaults.java:760)
      at java.desktop/javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:133)
      at java.desktop/javax.swing.UIDefaults.getUI(UIDefaults.java:790)
      at java.desktop/javax.swing.UIManager.getUI(UIManager.java:1065)
      at java.desktop/javax.swing.text.JTextComponent.updateUI(JTextComponent.java:352)
      at java.desktop/javax.swing.text.JTextComponent.<init>(JTextComponent.java:326)
      at java.desktop/javax.swing.JEditorPane.<init>(JEditorPane.java:198)
      at DevanagariEditor.main(DevanagariEditor.java:34)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:841)
      java.lang.NullPointerException
      at java.desktop/javax.swing.JEditorPane.setText(JEditorPane.java:1422)
      at DevanagariEditor.main(DevanagariEditor.java:34)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:841)

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

            psadhukhan Prasanta Sadhukhan
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: