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 201210180002) VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: Linux User Comments: apepin: Steps to reproduce: - cretae C/C++ project with existing sources Result: NPE occurs Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelElementFactory.create(ModelElementFactory.java:164) at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:589) at com.oracle.nashorn.ir.ObjectNode.accept(ObjectNode.java:82) at com.oracle.nashorn.ir.VarNode.accept(VarNode.java:163) at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:484) at com.oracle.nashorn.ir.FunctionNode.accept(FunctionNode.java:308)
Created attachment 126201 [details] stacktrace
Created attachment 126293 [details] stacktrace creating a new HTML project with Twitter Bootstrap template
Fixed in web-main http://hg.netbeans.org/web-main/rev/e45dcd060161
Integrated into 'main-golden', will be available in build *201210231040* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e45dcd060161 User: Petr Pisl <ppisl@netbeans.org> Log: #220436 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelElementFactory.create