This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.74-b02, Java(TM) SE Runtime Environment, 1.8.0_74-b02 OS: Linux User Comments: GUEST: i really dont know how it happened. im just working on servlets and jsps etc. terje7601: Just entered the following line in the "Browser Log" Output window: document.getElementById("option-list-template") GUEST: In debug I put some expression into Browser Log GUEST: i was debugging JS (angularjs) and tried printing, to the log, using the console, a variable but nothing would print everflux: typed name of undefined variable in web console GUEST: Using Output console (Web) GUEST: Cordova Application - Run on Android Device - Output - Browser Log I tried the command: "localStorage.getItem('latitude');" and hit the enter key. everflux: used console to evaluate getAttribut("class") expression Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.webkit.tooling.console.BrowserConsoleLogger.logMessage(BrowserConsoleLogger.java:248) at org.netbeans.modules.web.webkit.tooling.console.BrowserConsoleLogger.logMessage(BrowserConsoleLogger.java:233) at org.netbeans.modules.web.webkit.tooling.console.BrowserConsoleLogger.messageAdded(BrowserConsoleLogger.java:175) at org.netbeans.modules.web.webkit.debugging.api.console.Console.notifyConsoleMessage(Console.java:176) at org.netbeans.modules.web.webkit.debugging.api.console.Console.access$100(Console.java:61) at org.netbeans.modules.web.webkit.debugging.api.console.Console$InputCallback.line(Console.java:248)
Created attachment 158398 [details] stacktrace
Fixed by changeset: 296296:9beaf83832e9 http://hg.netbeans.org/core-main/rev/9beaf83832e9
Integrated into 'main-silver', will be available in build *201603240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9beaf83832e9 User: mentlicher@netbeans.org Log: #257874: "text" property can be missing in ConsoleMessage.