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 20090130015637) VM: Java HotSpot(TM) Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows Vista, 6.0, x86 User Comments: GUEST: 1. Installed dev version of netbeans 2. Opened it 3. Added existing project as main 4. Pondered what to do next 5. Got this while pondering Stacktrace: java.lang.AssertionError: class org.netbeans.modules.php.editor.parser.astnodes.ReflectionVariable at org.netbeans.modules.php.editor.CodeUtils.extractVariableName(CodeUtils.java:145) at org.netbeans.modules.php.editor.index.PHPIndexer$TreeAnalyzer.indexVarsInAssignment(PHPIndexer.java:501) at org.netbeans.modules.php.editor.index.PHPIndexer$TreeAnalyzer.access$700(PHPIndexer.java:206) at org.netbeans.modules.php.editor.index.PHPIndexer$TreeAnalyzer$1.visit(PHPIndexer.java:366) at org.netbeans.modules.php.editor.parser.astnodes.Assignment.accept(Assignment.java:109) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:51)
Created attachment 76377 [details] stacktrace
Build: NetBeans IDE Dev (Build 20090130015637) VM: Java HotSpot(TM) Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows Vista, 6.0, x86 User Comments: Stacktrace: java.lang.AssertionError: class org.netbeans.modules.php.editor.parser.astnodes.ReflectionVariable at org.netbeans.modules.php.editor.CodeUtils.extractVariableName(CodeUtils.java:145) at org.netbeans.modules.php.editor.index.PHPIndexer$TreeAnalyzer.indexVarsInAssignment(PHPIndexer.java:501) at org.netbeans.modules.php.editor.index.PHPIndexer$TreeAnalyzer.access$700(PHPIndexer.java:206) at org.netbeans.modules.php.editor.index.PHPIndexer$TreeAnalyzer$1.visit(PHPIndexer.java:366) at org.netbeans.modules.php.editor.parser.astnodes.Assignment.accept(Assignment.java:109) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:51)
Created attachment 76382 [details] stacktrace
Created attachment 76423 [details] stacktrace
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=145615
126 duplicates ... P2
this issue wasn't reproduced on NetBeans IDE Dev (Build 090326) Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02 System: Linux version 2.6.27-11-generic running on amd64; UTF-8; en_US (nb) Is it fixed? Did somebody reproduced, recently?
I just tried again with the nightly build 200903250219 and the problem didn't seem to happen anymore (however, the test wasn't totally conclusive, as this build was horribly slow, consumed memory like mad and finally froze while trying to save a file...)
Fixed *** This issue has been marked as a duplicate of 157454 ***