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 256908 - ArrayIndexOutOfBoundsException: -2
Summary: ArrayIndexOutOfBoundsException: -2
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 22:29 UTC by Exceptions Reporter
Modified: 2015-12-01 22:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221454


Attachments
stacktrace (4.07 KB, text/plain)
2015-12-01 22:29 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-12-01 22:29:48 UTC
This bug was originally marked as duplicate of bug 235630, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Windows 7

User Comments:
GUEST: Ran findbugs inspection tool on a large project




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -2
   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:525)
   at org.netbeans.modules.findbugs.RunFindBugs$2TaskImpl.run(RunFindBugs.java:523)
   at org.netbeans.modules.findbugs.RunFindBugs$7.run(RunFindBugs.java:556)
   at org.netbeans.modules.findbugs.RunFindBugs$7.run(RunFindBugs.java:553)
Comment 1 Exceptions Reporter 2015-12-01 22:29:50 UTC
Created attachment 157602 [details]
stacktrace