Weird prob with Java

Started by Tanzanite, Apr 03, 2007, 12:23:08

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tanzanite

If anyone can solve this for me, I shall kiss your feet  :laugh:

For about 2 days I was playing games at www.playandwin.co.uk everything was fine. Then on Sunday, I went and had dinner and afterwards went back to playing, the games suddenly stopped working. Java applet failed to load.

I have reinstalled Java (latest version) about 4 times. I even tried the old MS virtual machine. I also reinstalled windows  :laugh:
Every other Java game works on other websites. I've asked the other players at playandwin and they don't have a problem. Weirdly I can play one game, bingo spinner but that's it.

I am stumped. Any ideas?

Rik

Which browser are you using?
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Tanzanite

I.E 6 but I've tried I.E 7 and Firefox and it's still the same.

DorsetBoy

IE6 > Tools > Sun Java console >does that show any errors?

Clear cookies/cache/temp interenet files.

IE6 cache size too large or too small ?

Tanzanite

Done the last 2 things, still the same.

This is what I'm getting from the java console:

Java Plug-in 1.5.0_11
Using JRE version 1.5.0_11 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\EveB


----------------------------------------------------
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>
----------------------------------------------------

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.cache.CachedFileLoader.writeHeaders(Unknown Source)
   at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)
   at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)
   at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   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
Calling: INITIALIZED()
Calling: CONNECT_SUCCESS(www.playandwin.co.uk, 6120)
Calling: LOGIN_SUCCESS(dk.komogvind.chat.shared.c@18a8ce2)
Calling: ROOM_JOINED(Room ID: 19 Name: "SuperBall" Props: MP)
Calling: CHATTER_LEFT(Room ID: 19 Name: "SuperBall" Props: MP, dk.komogvind.chat.shared.c@17b0998)
Calling: CONNECTION_CLOSED()
Calling: INITIALIZED()
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.cache.CachedFileLoader.writeHeaders(Unknown Source)
   at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)
   at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)
   at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   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
Calling: CONNECT_SUCCESS(www.playandwin.co.uk, 6120)
Calling: LOGIN_SUCCESS(dk.komogvind.chat.shared.c@d1e233)
Calling: ROOM_JOINED(Room ID: 19 Name: "SuperBall" Props: MP)
Calling: CONNECTION_CLOSED()

Rik

Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Tanzanite

Just tried all that and still no joy  :(

All I can think of is my ISP is suddenly blocking a port or there's something wrong with the scripts on the site but surely then no one coud play and there's people playing so can't be that.

Tears hair out.

DorsetBoy

#7
Have you cleared your DNS cache?



You could try posting here..........


CNETFORUM

Tanzanite

Still have the same prob after clearing the dns cache.

Will give the other forum a go, thanks.

DorsetBoy

Sun Java help page is here...........JAVAHELP

Tanzanite

Thought I'd update. It was actually a prob with the site and seems to be ok now, some problems occassionaly but they don't last long. Can't believe I wore myself out for a week thinking it was something to do with me. Still, it was a learning experience  :laugh:

Rik

Thanks for the update, Eve. It's always nice to resolve things, but frustrating when you find that you've been banging you head against the wall for no good reason. :(
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Tanzanite

I have a big dent in my forehead now  :laugh:

Rik

I always use to top of my head, Eve, it's harder! :)
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Lance

But then you end up with dents in the wall!
Lance
_____

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

Not really, Lance, I choose a wall that exactly matches the hardness of my head, thus producing a state of painful equilibrium. :) :crazy:
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Tanzanite