-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.2
-
generic, x86
-
generic, solaris
Build Tested: Mantis B17
OS : Solaris IA 9 (32 bit), Solaris IA 8(32 bit)
Locales: th_TH.UTF-8, en_US
Steps to Reproduce:
==================
1) On a IA8/IA9 system, set th_TH.UTF-8 or en_US as the default locale.
2) Install Mantis B17.
3) Launch Stylepad demo
% java -jar Stylepad.jar
4) The Stylepad demo window opens, but at the same time the following exception is thrown on the console:
java.lang.NullPointerException
at javax.swing.text.FlowView.changedUpdate(FlowView.java:264)
at javax.swing.text.ParagraphView.changedUpdate(ParagraphView.java:666)
at javax.swing.text.View.forwardUpdateToView(View.java:1221)
at javax.swing.text.View.forwardUpdate(View.java:1192)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:222)
at javax.swing.text.View.changedUpdate(View.java:798)
at javax.swing.plaf.basic.BasicTextUI$RootView.changedUpdate(BasicTextUI.java:1515)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.changedUpdate(BasicTextUI.java:1756)
at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.java:213)
at javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable.run(DefaultStyledDocument.java:2477)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
NOTE:
- The NPE is thrown intermittently. I was able to get the exception atleast
once in 2-3 runs.
- This problem is not reproducible with Mantis B16. Looks like a regression.
###@###.### 2003-02-28
- duplicates
-
JDK-4835792 NullPointerException is thrown when the /demo/jfc/Stylepad is started
-
- Closed
-
-
JDK-4814470 Inconsistent font behavior in 1.4.2 (Mantis)
-
- Closed
-