File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes notinited message is random Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "notinited message is random" Watch "notinited message is random" New topic
Author

notinited message is random

seveninstl
Greenhorn

Joined: Jan 30, 2001
Posts: 3
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 sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(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 sun.plugin.security.PluginClassLoader.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)
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?

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

programming - easy<br />spelling - hard
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: notinited message is random