Subj : Re: NullPointerException To : mozilla-jseng@mozilla.org From : tomi@osaka.niss.co.jp (Tomita Tomohiro) Date : Wed May 28 2003 02:44 am Hi Aru, The option for JDK1.4 is "-Djava.compiler=NONE". But, if you encounter same trouble with this option, you shuld check your program. # I encountered some trouble with J9VM, but never with JDK1.4 vm. It is better way to post your program this mailing list. Enybody will point out the error :-) Regards, Tomohiro On Fri, 23 May 2003 14:10:04 -0400 "Arumugam Appadurai" wrote: > Hello there, > As I am using JDK1.4, the -Xnojit option is no longer supported. If you > know of an equivalent one in JDK1.4, could you please let me know that? > In the mean time, let me google it too to find the equivalent. > > I appreciate your help. > > Thanks and regards > Aru > > -----Original Message----- > From: Tomita Tomohiro [mailto:tomi@osaka.niss.co.jp] > Sent: Thursday, May 22, 2003 10:52 PM > To: mozilla-jseng@mozilla.org > Subject: Re: NullPointerException > > > 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/ > _______________________________ _________________________ http://www.niss.co.jp/ _______________________________ 『世の中で一番楽しく立派なことは一生涯を貫く仕事をもつことです。』 日進ソフトウエア エンベデッドソリューション事業部 システム部技術四課 冨田 知宏 Email:tomi@osaka.niss.co.jp _________________________ http://www.niss.co.jp/ _______________________________ .