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

app. viewer in debug mode throws a NullPointerException for WireFrame/example1.h

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0beta2
    • CPU:
      sparc
    • OS:
      generic
    • Verification:
      Not verified

      Description

      Here's the output

      This applet works fine when applet viewer is not in debug mode.

      userguide% appletviewer -debug WireFrame/example1.html
      Loading jdb ...
      0xee301bd8:class(sun.applet.AppletViewer)
      > run
      run sun.applet.AppletViewer WireFrame/example1.html
      running ...
      Uncaught exception: java.lang.NullPointerException
              at java.lang.Integer.parseInt(Integer.java)
              at java.lang.Integer.parseInt(Integer.java)
              at sun.net.www.URLConnection.getContentLength(URLConnection.java:150)
              at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:67)
              at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:150)
              at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:115)
              at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:101)
              at sun.applet.AppletPanel.run(AppletPanel.java:221)
              at java.lang.Thread.run(Thread.java)
       
      Thread-6[1]

        Attachments

          Activity

            People

            Assignee:
            tballsunw Tom Ball (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: