-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
x86
-
windows_98
-
Verified
An ArrayIndexOutOfBoundsException occurs and the system crashes when you try to oepn an empty text file in Font2DTest demo on Win98. Sometimes the system crashes immediately after the Exception comes and sometimes it happens after you perfom a few other operations such as change Size/Style etc.
Steps to reproduce:
1) Create an empty text file in Notepad
2) Run Font2DTest demo
3) From the 'Text ot use:' drop down list choose Text file. In the Load dialog Open the empty text file you have created.
4) An ArrayIndexOutOfBoundsException comes and the system hangs after some time.
The following Exception comes:
java.lang.ArrayIndexOutOfBoundsException
at Font2DTest.readTextFile(Font2DTest.java:462)
at Font2DTest.itemStateChanged(Font2DTest.java:786)
at java.awt.Choice.processItemEvent(Choice.java:579)
at java.awt.Choice.processEvent(Choice.java:551)
at java.awt.Component.dispatchEventImpl(Component.java:3455)
at java.awt.Component.dispatchEvent(Component.java:3322)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:14
0)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
kathleen.zelony@eng 2001-01-18
Steps to reproduce:
1) Create an empty text file in Notepad
2) Run Font2DTest demo
3) From the 'Text ot use:' drop down list choose Text file. In the Load dialog Open the empty text file you have created.
4) An ArrayIndexOutOfBoundsException comes and the system hangs after some time.
The following Exception comes:
java.lang.ArrayIndexOutOfBoundsException
at Font2DTest.readTextFile(Font2DTest.java:462)
at Font2DTest.itemStateChanged(Font2DTest.java:786)
at java.awt.Choice.processItemEvent(Choice.java:579)
at java.awt.Choice.processEvent(Choice.java:551)
at java.awt.Component.dispatchEventImpl(Component.java:3455)
at java.awt.Component.dispatchEvent(Component.java:3322)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:14
0)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
kathleen.zelony@eng 2001-01-18
- relates to
-
JDK-4395467 Font2DTest hangs on Win9x
-
- Resolved
-