-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
6
-
x86
-
windows_xp
Tested OS/Browser:
XP-Pro(sp2))/ IE6
win 2000 pro(sp4)/IE6
Tested build: j2re 1.6.0- build 40
Problem:
-------
It is related to the cache issue. Applets load OK the first time, but fail to load the second time, third time, and so on....
The work around is that users have to delete the plug-in cache every time before loading applets the next time.
The problem does not occur if using MS VM.
Steps to reproduce:
------------------
1) Install j2re1.6.0-build 40 into the test system
2) Browse http://games.iwon.com/index.html
3) Login as user "applabsuser" with password "app123"
4) Select the "Slots" game under "Casino Games" section
5) Click on "Play Now For Free"
6) You can play the game a little bit, or just simply click on "Exit Here" button in the applet after the applet loaded without playing
7) Close the applet, IE browser
8) Try to bring up the applet again.
Applet can not be loaded. It throws the exception
An unexpected error occured while loading game
java.lang.NegativeArraySizeException
java.lang.NegativeArraySizeException
at slots.SlotSpriteFactory.produce(SlotSpriteFactory.java)
at slots.SlotsCanvas.setImages(SlotsCanvas.java)
at gamehouse.SuperApplet.run(SuperApplet.java)
at java.lang.Thread.run(Unknown Source)
NOTE: If you clear the Plug-in cache after step 7) above, the you will not see the problem-
************************************************************************************
The problem also observed with a different applet: same issue with different exception message:
java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at sun.plugin.viewer.context.AppletAudioClip.<init>(Unknown Source)
at sun.plugin.viewer.context.AppletAudioClipFactory$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.viewer.context.AppletAudioClipFactory.createAudioClip(Unknown Source)
at sun.plugin.viewer.context.DefaultPluginAppletContext.getAudioClip(Unknown Source)
at java.applet.Applet.getAudioClip(Unknown Source)
at java.applet.Applet.getAudioClip(Unknown Source)
at com.esjava.j102.anim.Applet.startSilence(Applet.java)
at com.esjava.j102.anim.Applet.start(Applet.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.esjava.j102.anim.Applet.startSilence(Applet.java)
at com.esjava.j102.anim.Applet.start(Applet.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
###@###.### 2005-06-16 01:13:48 GMT
XP-Pro(sp2))/ IE6
win 2000 pro(sp4)/IE6
Tested build: j2re 1.6.0- build 40
Problem:
-------
It is related to the cache issue. Applets load OK the first time, but fail to load the second time, third time, and so on....
The work around is that users have to delete the plug-in cache every time before loading applets the next time.
The problem does not occur if using MS VM.
Steps to reproduce:
------------------
1) Install j2re1.6.0-build 40 into the test system
2) Browse http://games.iwon.com/index.html
3) Login as user "applabsuser" with password "app123"
4) Select the "Slots" game under "Casino Games" section
5) Click on "Play Now For Free"
6) You can play the game a little bit, or just simply click on "Exit Here" button in the applet after the applet loaded without playing
7) Close the applet, IE browser
8) Try to bring up the applet again.
Applet can not be loaded. It throws the exception
An unexpected error occured while loading game
java.lang.NegativeArraySizeException
java.lang.NegativeArraySizeException
at slots.SlotSpriteFactory.produce(SlotSpriteFactory.java)
at slots.SlotsCanvas.setImages(SlotsCanvas.java)
at gamehouse.SuperApplet.run(SuperApplet.java)
at java.lang.Thread.run(Unknown Source)
NOTE: If you clear the Plug-in cache after step 7) above, the you will not see the problem-
************************************************************************************
The problem also observed with a different applet: same issue with different exception message:
java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at sun.plugin.viewer.context.AppletAudioClip.<init>(Unknown Source)
at sun.plugin.viewer.context.AppletAudioClipFactory$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.viewer.context.AppletAudioClipFactory.createAudioClip(Unknown Source)
at sun.plugin.viewer.context.DefaultPluginAppletContext.getAudioClip(Unknown Source)
at java.applet.Applet.getAudioClip(Unknown Source)
at java.applet.Applet.getAudioClip(Unknown Source)
at com.esjava.j102.anim.Applet.startSilence(Applet.java)
at com.esjava.j102.anim.Applet.start(Applet.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.esjava.j102.anim.Applet.startSilence(Applet.java)
at com.esjava.j102.anim.Applet.start(Applet.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
###@###.### 2005-06-16 01:13:48 GMT
- duplicates
-
JDK-6262486 COMPATIBILITY: jagex_com - Monkey Puzzle applet fails to load
- Closed