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 235630 - ArrayIndexOutOfBoundsException: 469
Summary: ArrayIndexOutOfBoundsException: 469
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: FindBugs (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-07 01:34 UTC by alied
Modified: 2015-03-13 03:14 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203658


Attachments
stacktrace (1.51 KB, text/plain)
2013-09-07 01:35 UTC, alied
Details
stacktrace (1.44 KB, text/plain)
2013-09-27 17:39 UTC, theshadow27
Details
stacktrace (1.44 KB, text/plain)
2013-09-27 17:51 UTC, theshadow27
Details
testcase: Issue235630.java (1.40 KB, text/plain)
2013-09-27 17:59 UTC, theshadow27
Details
stacktrace (1.44 KB, text/plain)
2014-01-08 13:09 UTC, Petr Cyhelsky
Details
stacktrace (1.51 KB, text/plain)
2014-02-03 20:25 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2013-09-07 01:34:59 UTC
This bug was originally marked as duplicate of bug 234403, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201309060001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
alied: reverting modifications from the left-hand indicators in a svn-backed source file. This belonged to a Glassfish-deployed maven webapp with deploy on save.
hmmm... don't know what else to add.

alied: now I noticed that the exception poped out just after entering the  mouse cursor over a yellow-underlined line (that sounds awful) with the header of a unused private function, thus a hint was below the mouse cursor.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 469
   at com.sun.tools.javac.util.Position$LineMapImpl.getStartPosition(Position.java:175)
   at com.sun.tools.javac.util.Position$LineMapImpl.getStartPosition(Position.java:179)
   at org.netbeans.modules.findbugs.RunFindBugs$2TaskImpl.run(RunFindBugs.java:501)
   at org.netbeans.modules.findbugs.RunFindBugs$2TaskImpl.run(RunFindBugs.java:499)
   at org.netbeans.modules.findbugs.RunFindBugs.runInJavac(RunFindBugs.java:523)
   at org.netbeans.modules.findbugs.RunFindBugs.spanForEnclosingMethod(RunFindBugs.java:515)
Comment 1 alied 2013-09-07 01:35:01 UTC
Created attachment 139784 [details]
stacktrace
Comment 2 theshadow27 2013-09-27 17:39:46 UTC
Created attachment 140572 [details]
stacktrace

Reproduced via test case
Comment 3 theshadow27 2013-09-27 17:51:44 UTC
Created attachment 140573 [details]
stacktrace

Reporduced via test case
Comment 4 Exceptions Reporter 2013-09-27 17:51:48 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203658
Comment 5 theshadow27 2013-09-27 17:59:03 UTC
Created attachment 140576 [details]
testcase: Issue235630.java

Steps to reproduce via attached testcase:

 0) FindBugs plugin must be installed and active 
     (Editor -> Hints -> Language = FindBugs -> Run FindBugs in editor = checked)
 
 1) Cut (using ctrl+x) the code between the two comments (InnerClass1)
 
AIOB exception from the Exception Report is produced consistently in dev 20130927
Comment 6 Petr Cyhelsky 2014-01-08 13:09:41 UTC
Created attachment 143708 [details]
stacktrace

reproduced
Comment 7 Exceptions Reporter 2014-02-03 20:25:15 UTC
Created attachment 144749 [details]
stacktrace

I was running a weblogic project
Comment 8 Exceptions Reporter 2015-01-26 16:15:51 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203658
Comment 9 Petr Hejl 2015-03-12 10:53:51 UTC
Fixed in web-main 2da15e9abbdb. Thanks for the test case.
Comment 10 Quality Engineering 2015-03-13 03:14:26 UTC
Integrated into 'main-silver', will be available in build *201503130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2da15e9abbdb
User: Petr Hejl <phejl@netbeans.org>
Log: #235630 - ArrayIndexOutOfBoundsException: 469