• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet not loading after upgrading to Java 6

 
Paramita Verghese
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After having upgraded my JRE to 1.6.0 rc, I'm having an issue with applet "notinited". This is the error I see on the Java console. Does anyone have any ideas on what must be going wrong? It's not an issue with classpath, as I can revert back to JRE1.5 update 8 and the whole thing starts to work!

------------------------------------------------------

Java Plug-in 1.6.0-rc
Using JRE version 1.6.0-rc Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\pxverg


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

load: class au.gov.apra.stats.gui.eci.applet.IntD2A not found.
java.lang.ClassNotFoundException: au.gov.apra.stats.gui.eci.applet.IntD2A
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.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.MeteredStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(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)
... 10 more
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Caused by: java.net.SocketException: socket closed

This sounds strange. Can you run it locally using appletviewer?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic