← Back to team overview

openjdk team mailing list archive

[Bug 705339] Re: Rhino shell crashes with NullPointerException

 

Assigning to package "rhino" since it's a rhino bug

** Package changed: openjdk-6 (Ubuntu) => rhino (Ubuntu)

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
https://bugs.launchpad.net/bugs/705339

Title:
  Rhino shell crashes with NullPointerException

Status in “rhino” package in Ubuntu:
  New

Bug description:
  ~$ java -jar /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar
  Rhino 1.7 release 2 2010 01 20
  Exception in thread "main" java.lang.NullPointerException
  	at sun.org.mozilla.javascript.Kit.classOrNull(Kit.java:92)
  	at sun.org.mozilla.javascript.tools.shell.ShellLine.getStream(ShellLine.java:65)
  	at sun.org.mozilla.javascript.tools.shell.Global.getIn(Global.java:829)
  	at sun.org.mozilla.javascript.tools.shell.Main.processSource(Main.java:385)
  	at sun.org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:196)
  	at sun.org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:117)
  	at sun.org.mozilla.javascript.Context.call(Context.java:515)
  	at sun.org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
  	at sun.org.mozilla.javascript.tools.shell.Main.exec(Main.java:179)
  	at sun.org.mozilla.javascript.tools.shell.Main.main(Main.java:157)

  I suppose it's same error like:
  http://stackoverflow.com/questions/1942922/error-when-running-rhino/1943349#1943349
  https://bugzilla.mozilla.org/show_bug.cgi?id=495785

  My system:
  ~$ java -version
  java version "1.6.0_20"
  OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu1~10.04.1)
  OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

  ~$ lsb_release -rd
  Description:	Ubuntu 10.04.1 LTS
  Release:	10.04



References