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 143394 - AssertionError at org.netbeans.modules.php.editor.CodeUtils.findClassNameEnclosingDeclaration
Summary: AssertionError at org.netbeans.modules.php.editor.CodeUtils.findClassNameEncl...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomasz Slota
URL: http://statistics.netbeans.org/except...
Keywords:
: 143902 154915 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-10 20:16 UTC by Tomas Mysik
Modified: 2008-12-12 15:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 85227


Attachments
stacktrace (1.68 KB, text/plain)
2008-08-10 20:16 UTC, Tomas Mysik
Details
stacktrace (25 bytes, text/plain)
2008-08-14 18:56 UTC, big_al
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2008-08-10 20:16:43 UTC
Build: NetBeans IDE Dev (Build 080808)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.26-gentoo, i386

User Comments: 
invoke CC

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.php.editor.CodeUtils.findClassNameEnclosingDeclaration(CodeUtils.java:109)
        at org.netbeans.modules.php.editor.CodeUtils.resolveFunctionType(CodeUtils.java:162)
        at org.netbeans.modules.php.editor.PHPCodeCompletion.getVariables(PHPCodeCompletion.java:774)
        at org.netbeans.modules.php.editor.PHPCodeCompletion.getVariableProposals(PHPCodeCompletion.java:733)
        at org.netbeans.modules.php.editor.PHPCodeCompletion.autoCompleteExpression(PHPCodeCompletion.java:715)
        at org.netbeans.modules.php.editor.PHPCodeCompletion.complete(PHPCodeCompletion.java:440)
Comment 1 Tomas Mysik 2008-08-10 20:16:52 UTC
Created attachment 66973 [details]
stacktrace
Comment 2 big_al 2008-08-14 18:56:32 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError
Comment 3 big_al 2008-08-14 18:56:35 UTC
Created attachment 67455 [details]
stacktrace
Comment 4 Tomasz Slota 2008-08-15 06:46:18 UTC
Confirmed, probably a P2, will be somewhat tricky to fix.
Comment 5 Tomasz Slota 2008-08-15 16:38:44 UTC
Fixed.

http://hg.netbeans.org/main/rev/de8edc372312
Comment 6 Tomasz Slota 2008-09-18 16:05:20 UTC
*** Issue 143902 has been marked as a duplicate of this issue. ***
Comment 7 rmatous 2008-12-08 13:46:38 UTC
*** Issue 154915 has been marked as a duplicate of this issue. ***