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 201309020001) 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: GUEST: While opening project, this error has occured. bfanger: Background scanning of projects... Stacktrace: java.lang.NullPointerException at org.netbeans.modules.php.editor.model.impl.VariousUtils.isStaticClassName(VariousUtils.java:1639) at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:837) at org.netbeans.modules.php.editor.parser.astnodes.Assignment.accept(Assignment.java:123) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:144) at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scan(ModelVisitor.java:196) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:280)
Created attachment 139568 [details] stacktrace
Created attachment 139627 [details] stacktrace Completed downloading source files for new project
Should be fixed for 7.4.
Reproducible case: <?php class ClassName { function __construct() { $foo = "\Bar\Baz"; $foo::$bar = ""; // <-- NPE } } ?>
Fixed in web-main #2fda3523a449 Please verify, thanks.
The fix seems OK to me.
verified in trunk, please continue with integration Product Version: NetBeans IDE Dev (Build 201309110001) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Transplanted, thanks.