-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta2
-
generic
-
generic
The following exception is thrown on all platforms when starting up Java2Demo:
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:397)
at java.lang.Integer.parseInt(Integer.java:479)
at java2d.demos.Paint.TextureAnim$DemoControls.actionPerformed(TextureAnim.java:341)
at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1194)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1265)
at javax.swing.JComboBox.intervalAdded(JComboBox.java:1275)
at javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:133)
at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:127)
at javax.swing.JComboBox.addItem(JComboBox.java:697)
at java2d.demos.Paint.TextureAnim$DemoControls.<init>(TextureAnim.java:308)
at java2d.demos.Paint.TextureAnim.<init>(TextureAnim.java:84)
at sun.reflect.GeneratedConstructorAccessor128.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:263)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at java2d.DemoPanel.<init>(DemoPanel.java:58)
at java2d.DemoGroup.<init>(DemoGroup.java:87)
at java2d.Java2Demo.<init>(Java2Demo.java:128)
at java2d.Java2Demo.main(Java2Demo.java:469)
This was reproduced on WinNT, RedHat 6.1, SolSparc 2.8, and Solx86 2.9.
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:397)
at java.lang.Integer.parseInt(Integer.java:479)
at java2d.demos.Paint.TextureAnim$DemoControls.actionPerformed(TextureAnim.java:341)
at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1194)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1265)
at javax.swing.JComboBox.intervalAdded(JComboBox.java:1275)
at javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:133)
at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:127)
at javax.swing.JComboBox.addItem(JComboBox.java:697)
at java2d.demos.Paint.TextureAnim$DemoControls.<init>(TextureAnim.java:308)
at java2d.demos.Paint.TextureAnim.<init>(TextureAnim.java:84)
at sun.reflect.GeneratedConstructorAccessor128.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:263)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at java2d.DemoPanel.<init>(DemoPanel.java:58)
at java2d.DemoGroup.<init>(DemoGroup.java:87)
at java2d.Java2Demo.<init>(Java2Demo.java:128)
at java2d.Java2Demo.main(Java2Demo.java:469)
This was reproduced on WinNT, RedHat 6.1, SolSparc 2.8, and Solx86 2.9.
- duplicates
-
JDK-4478750 Java2D demo throws java.lang.NumberFormatException.
-
- Closed
-