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 Dev (Build javascript2-frameworks-1860-on-20160414) VM: OpenJDK 64-Bit Server VM, 25.66-b17, OpenJDK Runtime Environment, 1.8.0_66-internal-b17 OS: Linux User Comments: Dusty: Regained focus Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.model.ModelVisitor.setModifiers(ModelVisitor.java:1484) at org.netbeans.modules.javascript2.model.ModelVisitor.enterFunctionNode(ModelVisitor.java:789) at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:319) at com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60) at com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47) at com.oracle.js.parser.ir.BinaryNode.accept(BinaryNode.java:170)
Created attachment 159308 [details] stacktrace
Do you have reproducible case? I mean, whether you get this npe during editing a file or during indexing?
I'm sorry I don't: suddendly the IDE started to generate tons of these errors after getting focus and I had to quit it because it became unusable.
After restarting the ide, it was ok? Or the errors are here still?
After the restart I continue to have problems: http://statistics.netbeans.org/analytics/exception.do?id=816518 I'll wipe the user dir to restart with a clean situation
It did not solve the problem: opening a simple project gives exeption http://statistics.netbeans.org/analytics/exception.do?id=816538
But maybe I'm using an old build, please advise if there is a more recent one to test
This is fixed in web-main.