-
Bug
-
Resolution: Fixed
-
P4
-
1.2.1
-
None
-
beta
-
x86
-
windows_nt
-
Verified
JDK-1.2.1-K:
Displaying the attached html(t-test008.html) into JEditorPane prints out the following exception message:
To reproduce:
java TextViewPane t-test008.html
java.lang.NullPointerException
at javax.swing.text.html.FrameView.changedUpdate(FrameView.java:303)
at javax.swing.text.CompositeView.forwardUpdateToView(CompositeView.java
:312)
at javax.swing.text.CompositeView.forwardUpdate(CompositeView.java:284)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:167)
at javax.swing.text.CompositeView.changedUpdate(CompositeView.java:736)
at javax.swing.text.CompositeView.forwardUpdateToView(CompositeView.java
:312)
at javax.swing.text.CompositeView.forwardUpdate(CompositeView.java:284)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:167)
at javax.swing.text.CompositeView.changedUpdate(CompositeView.java:736)
at javax.swing.text.CompositeView.forwardUpdateToView(CompositeView.java
:312)
at javax.swing.text.CompositeView.forwardUpdate(CompositeView.java:284)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:167)
at javax.swing.text.CompositeView.changedUpdate(CompositeView.java:736)
at javax.swing.text.html.BlockView.changedUpdate(BlockView.java:162)
at javax.swing.text.CompositeView.forwardUpdateToView(CompositeView.java
:312)
at javax.swing.text.CompositeView.forwardUpdate(CompositeView.java:284)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:167)
at javax.swing.text.CompositeView.changedUpdate(CompositeView.java:736)
at javax.swing.text.html.BlockView.changedUpdate(BlockView.java:162)
at javax.swing.plaf.basic.BasicTextUI$RootView.changedUpdate(BasicTextUI
.java:1230)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.changedUpdate(BasicT
extUI.java:1431)
at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.
java:184)
at javax.swing.text.html.HTMLDocument.fireChangedUpdate(HTMLDocument.jav
a:896)
at javax.swing.text.html.HTMLDocument$HTMLReader.adjustEndElement(HTMLDo
cument.java:1598)
at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java
:1633)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:244)
at javax.swing.JEditorPane.read(JEditorPane.java:404)
at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:450)
bae-chul.kim@eng 1999-03-11
Displaying the attached html(t-test008.html) into JEditorPane prints out the following exception message:
To reproduce:
java TextViewPane t-test008.html
java.lang.NullPointerException
at javax.swing.text.html.FrameView.changedUpdate(FrameView.java:303)
at javax.swing.text.CompositeView.forwardUpdateToView(CompositeView.java
:312)
at javax.swing.text.CompositeView.forwardUpdate(CompositeView.java:284)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:167)
at javax.swing.text.CompositeView.changedUpdate(CompositeView.java:736)
at javax.swing.text.CompositeView.forwardUpdateToView(CompositeView.java
:312)
at javax.swing.text.CompositeView.forwardUpdate(CompositeView.java:284)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:167)
at javax.swing.text.CompositeView.changedUpdate(CompositeView.java:736)
at javax.swing.text.CompositeView.forwardUpdateToView(CompositeView.java
:312)
at javax.swing.text.CompositeView.forwardUpdate(CompositeView.java:284)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:167)
at javax.swing.text.CompositeView.changedUpdate(CompositeView.java:736)
at javax.swing.text.html.BlockView.changedUpdate(BlockView.java:162)
at javax.swing.text.CompositeView.forwardUpdateToView(CompositeView.java
:312)
at javax.swing.text.CompositeView.forwardUpdate(CompositeView.java:284)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:167)
at javax.swing.text.CompositeView.changedUpdate(CompositeView.java:736)
at javax.swing.text.html.BlockView.changedUpdate(BlockView.java:162)
at javax.swing.plaf.basic.BasicTextUI$RootView.changedUpdate(BasicTextUI
.java:1230)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.changedUpdate(BasicT
extUI.java:1431)
at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.
java:184)
at javax.swing.text.html.HTMLDocument.fireChangedUpdate(HTMLDocument.jav
a:896)
at javax.swing.text.html.HTMLDocument$HTMLReader.adjustEndElement(HTMLDo
cument.java:1598)
at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java
:1633)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:244)
at javax.swing.JEditorPane.read(JEditorPane.java:404)
at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:450)
bae-chul.kim@eng 1999-03-11
- relates to
-
JDK-4298825 JEditorPane hasn't been able to display Frame html data.
-
- Closed
-