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 200912170200) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Windows 7, 6.1, x86 User Comments: stefanv: did nothing. GUEST: if ????? "{" ????? Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 2 at org.netbeans.modules.php.editor.model.impl.ParameterImpl.toParameters(ParameterImpl.java:133) at org.netbeans.modules.php.editor.index.PHPIndex.findFunctions(PHPIndex.java:292) at org.netbeans.modules.php.editor.index.PHPIndex.getAllTopLevel(PHPIndex.java:145) at org.netbeans.modules.php.editor.index.PHPIndex.getAllTopLevel(PHPIndex.java:130) at org.netbeans.modules.php.editor.PHPCodeCompletion.autoCompleteExpression(PHPCodeCompletion.java:860) at org.netbeans.modules.php.editor.PHPCodeCompletion.complete(PHPCodeCompletion.java:276)
Created attachment 92787 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=163456
Created attachment 93188 [details] stacktrace CC in a php file
*** Bug 179395 has been marked as a duplicate of this bug. ***
This bug already has 100 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=163456
Could someone confirm that deleting var/cache folder in userdir solves the problem. Seems like updating problem for me (old index is read by new code).
Fixed: http://hg.netbeans.org/web-main/rev/973264a2e8bc
Integrated into 'main-golden', will be available in build *201002170200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/973264a2e8bc User: Radek Matous <rmatous@netbeans.org> Log: #178893 - ArrayIndexOutOfBoundsException
Created attachment 94479 [details] stacktrace
I guess this Bug should be reopend. The problem was gone after the fix but in the latest build it reoccurs now again?
(In reply to comment #10) > I guess this Bug should be reopend. The problem was gone after the fix but in > the latest build it reoccurs now again? If so, please, reopen this issue and provide example file or project so we can reproduce and fix. Thanks.
Unfortunately i cannot provide you neither of two because of copyright and security issues. :( Hopefully someone else can and will provide the necessary files. I am sorry.
(In reply to comment #12) > Unfortunately i cannot provide you neither of two because of copyright and > security issues. :( Isn't possible to create "something similar"? I mean a PHP file with similar structure, language constructs etc. Thanks a lot.