Bug#512498: rhino: NPE at startup

Marcus Better marcus at better.se
Wed Jan 21 10:27:21 UTC 2009


Package: rhino
Version: 1.7R2~pre-2
Severity: serious

rhino throws NullPointerException when invoked from the command line:

~$ rhino
Exception in thread "main" java.lang.NullPointerException
        at org.mozilla.javascript.Kit.classOrNull(Kit.java:92)
        at org.mozilla.javascript.tools.shell.ShellLine.getStream(ShellLine.java:65)
        at org.mozilla.javascript.tools.shell.Global.init(Global.java:153)
        at org.mozilla.javascript.tools.shell.Global$1.run(Global.java:108)
        at org.mozilla.javascript.Context.call(Context.java:502)
        at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511)
        at org.mozilla.javascript.tools.shell.Global.init(Global.java:105)
        at org.mozilla.javascript.tools.shell.Main.exec(Main.java:158)
        at org.mozilla.javascript.tools.shell.Main.main(Main.java:140)

This does not happen with 1.7R1-2.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rhino depends on:
ii  default-jre [java2-runtime]  1.5-30      Standard Java or Java compatible R
ii  ibm-j2sdk1.6 [java2-runtime] 1.6.0       Java(TM) JDK, Standard Edition, IB
ii  jamvm [java1-runtime]        1.5.1-3     virtual machine which conforms to 
ii  java-gcj-compat [java2-runti 1.0.78-2    Java runtime environment using GIJ
ii  openjdk-6-jre [java2-runtime 6b14-1~exp1 OpenJDK Java runtime, using Hotspo

rhino recommends no packages.

Versions of packages rhino suggests:
pn  rhino-doc                     <none>     (no description available)

-- no debconf information





More information about the pkg-java-maintainers mailing list