Page 1 of 1
Crash with JRE 6.10RC
Posted: Tue Sep 23, 2008 9:31 am
by agravier
Hi. Just tried to run the main page applet with Sun's JRE 6.10RC.Same result in all browsers:
[code]java.lang.IllegalArgumentException: Length of Base64 encoded input string is not a multiple of 4.
at org.hacker.engine.Base64Coder.decode(Base64Coder.java:114)
at org.hacker.engine.Base64Coder.decode(Base64Coder.java:103)
at org.hacker.engine.war.ReplayApplet.createGUI(ReplayApplet.java:94)
at org.hacker.engine.war.ReplayApplet.access$0(ReplayApplet.java:57)
at org.hacker.engine.war.ReplayApplet$1.run(ReplayApplet.java:44)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
[/code]
Posted: Tue Sep 23, 2008 3:27 pm
by adum
hmmn, what OS are you using?
thanks,
adum
Posted: Tue Sep 23, 2008 5:28 pm
by agravier
adum wrote:hmmn, what OS are you using?
That was XP SP2. I'll give the exact version info tomorrow. I tested wtih Firefox 2 and the latest Chrome. versions tomorrow too. For Java, it was jre-6u10-rc2-windows-i586. 32 bit.
Posted: Wed Sep 24, 2008 5:11 am
by agravier
XP 5.1.2600 SP2.
Firefox 3.0.1 and Chrome 0.2.149.30
jre-6u10-rc2-windows-i586
Re: Crash with JRE 6.10RC
Posted: Fri Sep 26, 2008 5:24 pm
by MerickOWA
agravier wrote:Hi. Just tried to run the main page applet with Sun's JRE 6.10RC.Same result in all browsers:
Code: Select all
java.lang.IllegalArgumentException: Length of Base64 encoded input string is not a multiple of 4.
at org.hacker.engine.Base64Coder.decode(Base64Coder.java:114)
at org.hacker.engine.Base64Coder.decode(Base64Coder.java:103)
at org.hacker.engine.war.ReplayApplet.createGUI(ReplayApplet.java:94)
at org.hacker.engine.war.ReplayApplet.access$0(ReplayApplet.java:57)
at org.hacker.engine.war.ReplayApplet$1.run(ReplayApplet.java:44)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I'm getting the same error.
OS: XP Pro 5.1.2600 SP3
Java Plug-in: 1.6.0_10-rc
Browsers:
IE 7.0.5730.11
FF 3.0.1
Chrome 0.2.153.1 (Official Build 2519)
Posted: Fri Sep 26, 2008 5:50 pm
by adum
sigh, i get this too. why can't sun EVER get Java working right in the browser? it's so, so sad.
well, at least i can try to debug now...
adum
Posted: Fri Sep 26, 2008 6:06 pm
by adum
okay, think i worked around it. let me know if anyone has more problems...
adum
Posted: Fri Sep 26, 2008 7:19 pm
by MerickOWA
adum wrote:okay, think i worked around it. let me know if anyone has more problems...
adum
slightly different error now
java.lang.NullPointerException
at org.hacker.engine.Base64Coder.decode(Base64Coder.java:103)
at org.hacker.engine.war.ReplayApplet.createGUI(ReplayApplet.java:94)
at org.hacker.engine.war.ReplayApplet.access$0(ReplayApplet.java:57)
at org.hacker.engine.war.ReplayApplet$1.run(ReplayApplet.java:44)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Posted: Fri Sep 26, 2008 7:43 pm
by adum
hmmn... i get that too sometimes. i wonder if it's a product of how big the replay is? this new JRE probably doesn't handle big params. great.
adum