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

Test javax/swing/text/AbstractDocument/DocumentInsert/DocumentInsertAtWrongPositionTest.java fails in mach5

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
    • CPU:
      generic
    • OS:
      generic

      Description

      This test fails in mach5:
      ----------System.err:(64/5488)----------
      java.lang.Error: no ComponentUI class for: javax.swing.JTextField[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,caretColor=,disabledTextColor=,editable=true,margin=,selectedTextColor=,selectionColor=,columns=0,columnWidth=0,command=,horizontalAlignment=CENTER]
      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.JTextField.<init>(JTextField.java:230)
      at java.desktop/javax.swing.JTextField.<init>(JTextField.java:182)
      at DocumentInsertAtWrongPositionTest.main(DocumentInsertAtWrongPositionTest.java:37)
      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.Error: no ComponentUI class for: javax.swing.JTextPane[,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 java.desktop/javax.swing.JTextPane.<init>(JTextPane.java:87)
      at DocumentInsertAtWrongPositionTest.main(DocumentInsertAtWrongPositionTest.java:38)
      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.Error: no ComponentUI class for: javax.swing.JTextArea[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,caretColor=,disabledTextColor=,editable=true,margin=,selectedTextColor=,selectionColor=,colums=0,columWidth=0,rows=0,rowHeight=0,word=false,wrap=false]
      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.JTextArea.<init>(JTextArea.java:199)
      at java.desktop/javax.swing.JTextArea.<init>(JTextArea.java:145)
      at DocumentInsertAtWrongPositionTest.main(DocumentInsertAtWrongPositionTest.java:40)
      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.text.JTextComponent.setCaretPosition(JTextComponent.java:1691)
      at java.desktop/javax.swing.text.JTextComponent.select(JTextComponent.java:1933)
      at java.desktop/javax.swing.JTextArea.<init>(JTextArea.java:208)
      at java.desktop/javax.swing.JTextArea.<init>(JTextArea.java:145)
      at DocumentInsertAtWrongPositionTest.main(DocumentInsertAtWrongPositionTest.java:40)
      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              serb Sergey Bylokhov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: