possible JRE1.5 error?

Discussion in 'Java' started by nialltimpson, Mar 28, 2005.

  1. nialltimpson

    nialltimpson Guest

    I've been working on a project involveing many applets, I have been useing
    jdk 1.3 on one fast pc and every thing works ok, but I had to transfer to
    a slower pc wunning jdk 1.5, and all of a sudden applets take 2 to 3
    min's to load when they used to only take 2-3 seconds, these applets are
    only at max 15 kb, also now none of the applets are loading and there all
    giving the error

    java.lang.RuntimeException: java.lang.NullPointerException
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
    Source)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
    Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPanel.paint(Unknown Source)
    at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)
    at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)
    at sun.plugin.util.GrayBoxPainter.progressFinish(Unknown Source)
    at sun.plugin.util.EventMulticaster.progressFinish(Unknown Source)
    at sun.plugin.util.ProgressMonitor.unregisterSource(Unknown Source)
    at sun.net.ProgressSource.finishTracking(Unknown Source)
    at sun.net.www.http.KeepAliveStream.close(Unknown Source)
    at sun.net.www.MeteredStream.justRead(Unknown Source)
    at sun.net.www.MeteredStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at
    sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown
    Source)
    at
    sun.net.www.protocol.http.HttpURLConnection$ErrorStream.getErrorStream(Unknown
    Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
    Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown
    Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.plugin.cache.PluginCacheHandler.get(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
    Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
    Source)
    ... 15 more

    If anyone has any idea, I would really appreceate it as this is couseing
    me great greaf, thank

    Niall
     
    nialltimpson, Mar 28, 2005
    #1
    1. Advertising

  2. "nialltimpson" <> writes:

    > java.lang.RuntimeException: java.lang.NullPointerException
    > at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
    > Source)
    > at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
    > Source)
    > at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    > at sun.applet.AppletClassLoader.getBytes(Unknown Source)


    This seems to indicate the URL-using classloader cannot find at least
    one class or archive. Are you sure the server you use to serve the
    applet is correctly configured? How does your applet or object element
    look like in the HTML?
     
    Tor Iver Wilhelmsen, Mar 29, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Max
    Replies:
    0
    Views:
    739
  2. qazmlp
    Replies:
    4
    Views:
    690
    John C. Bollinger
    Jul 15, 2004
  3. James
    Replies:
    2
    Views:
    392
    Michael Borgwardt
    Dec 15, 2004
  4. Sadhiesh
    Replies:
    0
    Views:
    446
    Sadhiesh
    Jan 17, 2005
  5. sujit
    Replies:
    1
    Views:
    948
    Arne Vajhøj
    Jan 5, 2011
Loading...

Share This Page