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 234403 - ArrayIndexOutOfBoundsException: 199
Summary: ArrayIndexOutOfBoundsException: 199
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: FindBugs (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Cyhelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-14 20:16 UTC by alied
Modified: 2013-08-15 11:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 203048


Attachments
stacktrace (1.51 KB, text/plain)
2013-08-14 20:16 UTC, alied
Details
stacktrace (1.51 KB, text/plain)
2013-08-14 20:22 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2013-08-14 20:16:16 UTC
Build: NetBeans IDE Dev (Build 201308122300)
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: editing a java class source file.
The project is on SVN and using the CLI svn client (1.8)




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 199
   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-08-14 20:16:18 UTC
Created attachment 138702 [details]
stacktrace
Comment 2 alied 2013-08-14 20:22:00 UTC
Created attachment 138703 [details]
stacktrace

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.
Comment 3 Petr Cyhelsky 2013-08-15 11:07:01 UTC
(In reply to alied from comment #2)
> 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.

please attach the code snippet, so that i can reproduce it.