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

Summary: ArrayIndexOutOfBoundsException: -2
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221454
Attachments: stacktrace

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