Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8026111

The code uses Logger.getLevel(), but doesn't take into account that the value could be null.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • core-libs
    • None

      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)

      Only affects debugging mode.

            jlaskey Jim Laskey
            jlaskey Jim Laskey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: