Subj : Re: NullPointerException To : mozilla-jseng@mozilla.org From : tomi@osaka.niss.co.jp (Tomita Tomohiro) Date : Fri May 23 2003 06:51 am Hi Aru, On Fri, 23 May 2003 01:09:03 GMT "Aru" wrote: > Hello there, > > I am right now using Rhin RC1.5 R4.1 and am getting a NullPointerException, > but randomly. > I give my javascript to the Context.evaluateString(). > Creation of context and Scriptable were everything ok. > I do get "SOMETIMES" the foll exception, > > java.lang.NullPointerException > at > org.mozilla.javascript.optimizer.Codegen.generateCode(Codegen.java:381) > at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:97) > at org.mozilla.javascript.Context.compile(Context.java:2018) > at org.mozilla.javascript.Context.compile(Context.java:1948) > at org.mozilla.javascript.Context.compileReader(Context.java:899) > at org.mozilla.javascript.Context.evaluateReader(Context.java:817) > at org.mozilla.javascript.Context.evaluateString(Context.java:784) > > Any help on this issue would highly be appreciated. Jut try to add the option "-Xnojit" to your Java VM execution commandline. > > Thanks -Aru > > _________________________ http://www.niss.co.jp/ _______________________________ Tomohiro Tomita Email:tomi@osaka.niss.co.jp EMBEDDED SOLUTION BUSINESS DIV NISSIN SOFTWARE CORP. CENTRAL SHIN-OSAKA BUILDING 4-5-36,MIYAHARA TEL:81-6-6350-3121 YODOGAWA-KU OSAKA 532-0003 JAPAN FAX:81-6-6350-3129 _________________________ http://www.niss.co.jp/ _______________________________ .