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 215656 - ArrayIndexOutOfBoundsException: -1
Summary: ArrayIndexOutOfBoundsException: -1
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
: 215673 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-17 20:53 UTC by Exceptions Reporter
Modified: 2012-07-19 03:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 190828


Attachments
stacktrace (7.29 KB, text/plain)
2012-07-17 20:53 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-07-17 20:53:40 UTC
This bug was originally marked as duplicate of bug 214229, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 RC1 (Build 201206272359)
VM: Java HotSpot(TM) Client VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05
OS: Windows Vista

Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at org.netbeans.modules.php.editor.index.IdentifierSignature.create(IdentifierSignature.java:261)
   at org.netbeans.modules.php.editor.index.PHPIndexer$1.visit(PHPIndexer.java:363)
   at org.netbeans.modules.php.editor.parser.astnodes.PHPDocTypeNode.accept(PHPDocTypeNode.java:64)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:61)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:445)
Comment 1 Exceptions Reporter 2012-07-17 20:53:44 UTC
Created attachment 122122 [details]
stacktrace
Comment 2 Ondrej Brejla 2012-07-18 08:00:11 UTC
Really don't know how it could happen. Assert added in web-main #d4d3718bcc6a
Comment 3 Ondrej Brejla 2012-07-18 09:34:36 UTC
*** Bug 215673 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2012-07-19 03:30:04 UTC
Integrated into 'main-golden', will be available in build *201207190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d4d3718bcc6a
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #215656 - ArrayIndexOutOfBoundsException: -1 (assert added)