Bug report: NPE in DebugLogger.levelAbove
Jim Laskey (Oracle)
james.laskey at oracle.com
Wed Oct 9 00:53:04 PDT 2013
Are you multi-threading?
On 2013-10-09, at 8:43 AM, Tal Liron <tal.liron at threecrickets.com> wrote:
> The code uses Logger.getLevel(), but doesn't take into account that the value could be null. Exception trace:
>
> java.lang.NullPointerException
> at jdk.nashorn.internal.runtime.DebugLogger.levelAbove(DebugLogger.java:129)
> at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:352)
> at jdk.nashorn.internal.runtime.Context.compile(Context.java:887)
> at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:844)
> at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:387)
>
More information about the nashorn-dev
mailing list