-
Bug
-
Resolution: Fixed
-
P4
-
1.0.2, 1.1
-
None
-
1.1.8
-
x86, sparc
-
solaris_2.5.1, windows_nt
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2016198 | 1.2.2 | Brent Christian | P4 | Resolved | Fixed | 1.2.2 |
Load an applet in appletviewer 1.0.2 and then select "Properties" from the "Applet" menu. You'll get the following:
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java)
at java.lang.Integer.valueOf(Integer.java)
at sun.applet.AppletProps.reset(AppletProps.java:103)
at sun.applet.AppletProps.<init>(AppletProps.java:73)
at sun.applet.AppletViewer.networkProperties(AppletViewer.java:468)
at sun.applet.AppletViewer.handleEvent(AppletViewer.java:559)
at java.awt.Component.postEvent(Component.java:844)
at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
at sun.awt.motif.MMenuItemPeer.action(MMenuItemPeer.java:44)
at java.lang.Thread.run(Thread.java)
-------------------------------------------------------------------------------
The above description is missing one vital point.
The steps to reproduce this bug are :
Run appletviewer
From the menu Applet->Properties, set the Http proxy server, but don't set
the Http proxy port, and press the Apply button.
You get a NumberFormatException on 1.2beta4 and 1.1.6
mick.fleming@Ireland 1998-06-29
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java)
at java.lang.Integer.valueOf(Integer.java)
at sun.applet.AppletProps.reset(AppletProps.java:103)
at sun.applet.AppletProps.<init>(AppletProps.java:73)
at sun.applet.AppletViewer.networkProperties(AppletViewer.java:468)
at sun.applet.AppletViewer.handleEvent(AppletViewer.java:559)
at java.awt.Component.postEvent(Component.java:844)
at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
at java.awt.MenuComponent.postEvent(MenuComponent.java:94)
at sun.awt.motif.MMenuItemPeer.action(MMenuItemPeer.java:44)
at java.lang.Thread.run(Thread.java)
-------------------------------------------------------------------------------
The above description is missing one vital point.
The steps to reproduce this bug are :
Run appletviewer
From the menu Applet->Properties, set the Http proxy server, but don't set
the Http proxy port, and press the Apply button.
You get a NumberFormatException on 1.2beta4 and 1.1.6
mick.fleming@Ireland 1998-06-29
- backported by
-
JDK-2016198 Applet->Properties throws NumberFormatException
- Resolved
- relates to
-
JDK-4222691 New AppletViewer messages need to be translated
- Resolved