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 184602 - AssertionError at org.netbeans.modules.php.editor.api.QualifiedName.createUnqualifiedName
Summary: AssertionError at org.netbeans.modules.php.editor.api.QualifiedName.createUnq...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 11:51 UTC by Filip Zamboj
Modified: 2010-04-21 16:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 168310


Attachments
stacktrace (2.34 KB, text/plain)
2010-04-21 11:51 UTC, Filip Zamboj
Details
stacktrace (2.46 KB, text/plain)
2010-04-21 11:53 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2010-04-21 11:51:48 UTC
Build: NetBeans IDE Dev (Build 100421-c43437331587)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux

User Comments:
fzamboj: rewriting 
define("BAZ", "baz_value");
to 
define("foo\BAZ", "baz_value");

exception thrown when \ typed




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.php.editor.api.QualifiedName.createUnqualifiedName(QualifiedName.java:263)
   at org.netbeans.modules.php.editor.api.QualifiedName.append(QualifiedName.java:351)
   at org.netbeans.modules.php.editor.elements.FullyQualifiedElementImpl.composeQualifiedName(FullyQualifiedElementImpl.java:71)
   at org.netbeans.modules.php.editor.elements.ConstantElementImpl$ConstantSignatureParser.getQualifiedName(ConstantElementImpl.java:148)
   at org.netbeans.modules.php.editor.elements.ConstantElementImpl.matchesQuery(ConstantElementImpl.java:101)
   at org.netbeans.modules.php.editor.elements.ConstantElementImpl.fromSignature(ConstantElementImpl.java:91)
Comment 1 Filip Zamboj 2010-04-21 11:51:59 UTC
Created attachment 97786 [details]
stacktrace
Comment 2 Filip Zamboj 2010-04-21 11:53:03 UTC
Created attachment 97787 [details]
stacktrace

code completion invoked