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

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

XMLWordPrintable

    • 1.0beta2
    • sparc
    • generic
    • Not verified

      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]

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: