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 152147 - AssertionError: unsupported type returned by Variable.getName():class org.netbeans.modules.php.editor.parser.astnodes.InfixExpression
Summary: AssertionError: unsupported type returned by Variable.getName():class org.net...
Status: CLOSED DUPLICATE of bug 147920
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Tomasz Slota
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-02 09:35 UTC by Marian Mirilovic
Modified: 2009-01-22 14:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 102742


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-11-02 09:35:16 UTC
10 duplicates so far ...

Build: NetBeans IDE Dev (Build 200808311401)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.26-1-686, i386
User comments: 
STACKTRACE: (first 10 lines)
java.lang.AssertionError: unsupported type returned by Variable.getName():class
org.netbeans.modules.php.editor.parser.astnodes.InfixExpression
        at org.netbeans.modules.php.editor.CodeUtils.extractVariableName(CodeUtils.java:117)
        at org.netbeans.modules.php.editor.CodeUtils.extractFunctionName(CodeUtils.java:315)
        at org.netbeans.modules.php.editor.CodeUtils.extractFunctionName(CodeUtils.java:300)
        at org.netbeans.modules.php.editor.verification.PHPVerificationVisitor.visit(PHPVerificationVisitor.java:280)
        at org.netbeans.modules.php.editor.parser.astnodes.MethodInvocation.accept(MethodInvocation.java:70)
        at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:121)
        at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:234)
        at
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:246)
        at org.netbeans.modules.php.editor.parser.astnodes.ExpressionStatement.accept(ExpressionStatement.java:71)
        at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:121)
Comment 1 Tomasz Slota 2008-11-24 18:14:21 UTC
.

*** This issue has been marked as a duplicate of 147920 ***
Comment 2 Marian Mirilovic 2009-01-22 14:43:39 UTC
v/c