Hi, I have 2 applet problems.

1)
I uploaded a new jar file to server to replace old one.
When I load web page in browser for that applet (on this pc), I keep getting the old jar file getting loaded as the applet (even on different browsers on this pc).
But when I run the web page on laptop, the newly updated jar gets loaded(as expected).

Its been doing this for about 3 days, I really don't get how this old applet is loading into pc, really confusing me.


2) I have the same (jar file and 'res' folder) loaded in 2 different servers.
On my own server (itanets), there are no java errors in the applet.
But on this different server, I get this error below:

INIT
START
java.net.MalformedURLException: no protocol: 
	at java.net.URL.<init>(Unknown Source)
	at java.net.URL.<init>(Unknown Source)
	at java.net.URL.<init>(Unknown Source)
	at sun.plugin.liveconnect.SecureInvocation.checkLiveConnectCaller(Unknown Source)
	at sun.plugin.liveconnect.SecureInvocation.access$000(Unknown Source)
	at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
java.io.IOException: mark/reset not supported
	at sun.net.www.http.KeepAliveStream.reset(Unknown Source)
	at java.io.FilterInputStream.reset(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.reset(Unknown Source)
	at java.io.FilterInputStream.reset(Unknown Source)
	at com.sun.media.sound.WaveFileReader.getFMT(Unknown Source)
	at com.sun.media.sound.WaveFileReader.getAudioInputStream(Unknown Source)
	at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
	at basicplayer.SimpleAudioPlayer.run(SimpleAudioPlayer.java:130)
	at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-7" java.lang.NullPointerException
	at basicplayer.SimpleAudioPlayer.run(SimpleAudioPlayer.java:158)
	at java.lang.Thread.run(Unknown Source)

Seems as though it is something to do with the wav files inside the 'res' folder, but makes no sense, as they are exactly the same as on other server, I copied them across directly, and error still persists.


Can anyone explain what might be happening in either of these cases cause I'm out of ideas now.

Thanks for any help

Sorry, I completely missed the error you posted.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.