Subj : NullPointerException To : netscape.public.mozilla.jseng From : "Aru" Date : Fri May 23 2003 02:09 am 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. Thanks -Aru .