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.

Bug 157661 - AssertionError: class org.netbeans.modules.php.editor.parser.astnodes.ReflectionVariable
Summary: AssertionError: class org.netbeans.modules.php.editor.parser.astnodes.Reflect...
Status: RESOLVED DUPLICATE of bug 157454
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmatous
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-30 12:47 UTC by tprochazka
Modified: 2009-04-09 17:09 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145615


Attachments
stacktrace (7.09 KB, text/plain)
2009-01-30 12:47 UTC, tprochazka
Details
stacktrace (7.09 KB, text/plain)
2009-01-30 14:10 UTC, tprochazka
Details
stacktrace (7.09 KB, text/plain)
2009-02-01 11:21 UTC, tprochazka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tprochazka 2009-01-30 12:47:10 UTC
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)
Comment 1 tprochazka 2009-01-30 12:47:18 UTC
Created attachment 76377 [details]
stacktrace
Comment 2 tprochazka 2009-01-30 14:10:14 UTC
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)
Comment 3 tprochazka 2009-01-30 14:10:17 UTC
Created attachment 76382 [details]
stacktrace
Comment 4 tprochazka 2009-02-01 11:21:18 UTC
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)
Comment 5 tprochazka 2009-02-01 11:21:28 UTC
Created attachment 76423 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-02-02 07:58:37 UTC
This issue has already 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145615
Comment 7 Marian Mirilovic 2009-03-26 14:00:18 UTC
126 duplicates ... P2
Comment 8 Filip Zamboj 2009-03-26 19:58:12 UTC
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? 
Comment 9 fsuter 2009-03-26 22:36:05 UTC
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...)
Comment 10 rmatous 2009-04-09 17:09:48 UTC
Fixed

*** This issue has been marked as a duplicate of 157454 ***