-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
generic
-
solaris
In Solaris Headless Testsuite fails throwing NPE at java.util.Hashtable.get(Hashtable.java) when different methods related to the same is called
BEGIN: javax.swing.JEditorPane: do__init__0
!! FAIL: javax.swing.JEditorPane: do__init__0 status=fail with exception=java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at java.awt.Component.getFontMetrics(Component.java:2125)
at javax.swing.text.WrappedPlainView.updateMetrics(WrappedPlainView.java:304)
at javax.swing.text.WrappedPlainView.updateChildren(WrappedPlainView.java:283)
at javax.swing.text.WrappedPlainView.insertUpdate(WrappedPlainView.java:446)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1414)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1643)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185)
at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:736)
at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:693)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:117)
at javax.swing.text.DefaultEditorKit.read(DefaultEditorKit.java:244)
at javax.swing.JEditorPane.setText(JEditorPane.java:1285)
at javax.swing.JEditorPane.<init>(JEditorPane.java:268)
at javax_swing_JEditorPane.do__init__0(javax_swing_JEditorPane.java:18)
at javax_swing_JEditorPane.run(javax_swing_JEditorPane.java:3780)
at java.lang.Thread.run(Thread.java:579)
Testsuite is available at
/net/sqesvr/export/awt/awt_ws/Headless
Attached is the failiure scenarios which throws NPE and the complete Test Report
BEGIN: javax.swing.JEditorPane: do__init__0
!! FAIL: javax.swing.JEditorPane: do__init__0 status=fail with exception=java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at java.awt.Component.getFontMetrics(Component.java:2125)
at javax.swing.text.WrappedPlainView.updateMetrics(WrappedPlainView.java:304)
at javax.swing.text.WrappedPlainView.updateChildren(WrappedPlainView.java:283)
at javax.swing.text.WrappedPlainView.insertUpdate(WrappedPlainView.java:446)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1414)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1643)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185)
at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:736)
at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:693)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:117)
at javax.swing.text.DefaultEditorKit.read(DefaultEditorKit.java:244)
at javax.swing.JEditorPane.setText(JEditorPane.java:1285)
at javax.swing.JEditorPane.<init>(JEditorPane.java:268)
at javax_swing_JEditorPane.do__init__0(javax_swing_JEditorPane.java:18)
at javax_swing_JEditorPane.run(javax_swing_JEditorPane.java:3780)
at java.lang.Thread.run(Thread.java:579)
Testsuite is available at
/net/sqesvr/export/awt/awt_ws/Headless
Attached is the failiure scenarios which throws NPE and the complete Test Report
- duplicates
-
JDK-4464675 Headless Testsuite throws NPE at getLineWidth() for Swing Components
- Closed