Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ICE browser (ver. 5.0.6) on KAFFE Virtual Machine (ver. 1.0.7) -- javascript causing errors

4 views
Skip to first unread message

JoonHyuk

unread,
Oct 30, 2002, 1:16:36 AM10/30/02
to
Hello,

I've tried to run ICE browser (ver. 5.0.6) on KAFFE Virtual Machine
(ver. 1.0.7). It works fine with only HTML code, but causes error when
HTML code contains <JavaScript tag>. ICE browser works good without
JavaScript.

I included the simple JavaScript as below in a HTML file for testing:

<script language="JavaScript">
<!--
document.write("Hello World!");
//-->
</script>

However, the following run-time error has been generated:


java.lang.ExceptionInInitializerError: [exception was
java.lang.SecurityException]
at ice.scripters.js.ContextData.<init>(ContextData.java:18)
at ice.scripters.js.TheScripter.enterContext(TheScripter.java:687)
at ice.scripters.js.TheScripter.init(TheScripter.java:407)
at ice.storm.StormBase.getScripter(StormBase.java:1399)
at ice.storm.DefaultPilotContext.getScripter(DefaultPilotContext.java:165)
at ice.pilots.html4.ThePilot.doScriptEval(ThePilot.java:327)
at ice.pilots.html4.DOMBuilder.endElement(DOMBuilder.java:849)
at ice.pilots.html4.Lex2.parseElement(Lex2.java:956)
at ice.pilots.html4.Lex2.parseMarkup(Lex2.java:778)
at ice.pilots.html4.Lex2.do_parse(Lex2.java:552)
at ice.pilots.html4.Lex2.parse(Lex2.java:527)
at ice.pilots.html4.Lex2.parse(Lex2.java:510)
at ice.pilots.html4.ThePilot.parse(ThePilot.java:623)
at ice.storm.StormBase.do_render_content(StormBase.java:949)
at ice.storm.DefaultPilotContext.run(DefaultPilotContext.java:123)
at java.lang.Thread.run(Thread.java:328)
java.lang.NoClassDefFoundError: org/mozilla/javascript/Context
at ice.scripters.js.ContextData.<init>(ContextData.java:18)
at ice.scripters.js.TheScripter.enterContext(TheScripter.java:687)
at ice.scripters.js.TheScripter.eval(TheScripter.java:492)`
at ice.pilots.html4.ThePilot.doScriptEval(ThePilot.java:329)
at ice.pilots.html4.DOMBuilder.endElement(DOMBuilder.java:849)
at ice.pilots.html4.Lex2.parseElement(Lex2.java:956)
at ice.pilots.html4.Lex2.parseMarkup(Lex2.java:778)
at ice.pilots.html4.Lex2.do_parse(Lex2.java:552)
at ice.pilots.html4.Lex2.parse(Lex2.java:527)
at ice.pilots.html4.Lex2.parse(Lex2.java:510)
at ice.pilots.html4.ThePilot.parse(ThePilot.java:623)
at ice.storm.StormBase.do_render_content(StormBase.java:949)
at ice.storm.DefaultPilotContext.run(DefaultPilotContext.java:123)
at java.lang.Thread.run(Thread.java:328)

If anyone could give me any solution or even a clue, I would
appreciate it.
Thanks.

Joon

0 new messages