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 201309110001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15 OS: Mac OS X User Comments: mhaungs: I have just installed and started Netbeans IDE Dev 201309110001 and, during startup, it was in the process of "Background scanning of projects" when at 70% complete I got this exception. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelElementFactory.create(ModelElementFactory.java:125) at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:686) at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:291) at org.netbeans.modules.javascript2.editor.model.impl.ModelVisitor.enter(ModelVisitor.java:1162) at jdk.nashorn.internal.ir.ReferenceNode.accept(ReferenceNode.java:67) at jdk.nashorn.internal.ir.BinaryNode.accept(BinaryNode.java:178)
Created attachment 139938 [details] stacktrace
Fixed in webmain. http://hg.netbeans.org/web-main/rev/5825137eb072 I was expecting that this can not happen. I don't know how often it can happen and if we will not get another report I would keep it as P3 or Vlado do you want to increase it to P2 to fix it in NetBeans 7.4? The fix is extremely easy.
If it's easy and safe I am not against.
... But I don't know whether it is not too late as it all should be integrated before 10 pm
Ok I put it into the releases: http://hg.netbeans.org/releases/rev/0d090ec95a9b
Integrated into 'main-silver', will be available in build *201309130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5825137eb072 User: Petr Pisl <ppisl@netbeans.org> Log: #235823 - NullPointerException at org.netbeans.modules.javascript2.editor.model.impl.ModelElementFactory.create
Cannot reproduce, verified Product Version: NetBeans IDE 7.4 RC2 (Build 201309252201) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b13 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)