Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4066432

Applet->Properties throws NumberFormatException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.1.8
    • 1.0.2, 1.1
    • tools
    • None
    • 1.1.8
    • x86, sparc
    • solaris_2.5.1, windows_nt
    • Verified

        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

              bchristi Brent Christian
              cbucchersunw Christopher Bucchere (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: