Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

notinited message is random

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a problem with an applet I wrote´┐Ż
The applet works great on my development machine (obviously), which runs on the NT 4.0 workstation platform. The applet works with the appletviewer, IE 5.0 and Netscape 4.76 on this machine.
I also tested it on my win98se machine. Again, no problems using Netscape 4.07 and IE 5.0
My client then tested the applet on two win98 machines with IE 4.0 & 5.0. They were very satisfied. But, when we put it on the web server some users started complaining that they were getting an 'Applet notinited' error.
I have a user copy, paste and send to me the results of the Java Consol. It is:
Java(TM) Plug-in: Version 1.3.0_01
Using JRE version 1.3.0_01 Java HotSpot(TM) Client VM
User home directory = C:\WINNT\Profiles\Administrator.001Proxy Configuration: no proxy----------------------------------------------------
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
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
java.lang.NullPointerException at Source) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source) at Source) at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$ Source) at Method) at sun.applet.AppletClassLoader.findClass(Unknown Source) at 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 Source) at Source)
My questions:
1)Why does this happen on some machines and not others? It does not seem to be platform or browser specific.
2)What is the above message really telling me?
3)What if anything can I do to make sure this application works on Java enabled browsers?

Is this the real life? Is this just fantasy? Is this a tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic