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 233011 - ArrayIndexOutOfBoundsException: 8963
Summary: ArrayIndexOutOfBoundsException: 8963
Status: RESOLVED DUPLICATE of bug 235089
Alias: None
Product: java
Classification: Unclassified
Component: FindBugs (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Cyhelsky
Depends on:
Reported: 2013-07-18 15:09 UTC by Jiri Prox
Modified: 2014-02-24 13:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200727

stacktrace (3.59 KB, text/plain)
2013-07-18 15:09 UTC, Jiri Prox
stacktrace (2.81 KB, text/plain)
2013-08-10 00:35 UTC, MackSix
Run FindBugs on this JDK 8 project. (28.42 KB, application/zip)
2013-08-10 00:40 UTC, MackSix

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-07-18 15:09:57 UTC
Build: NetBeans IDE Dev (Build 201307150106)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b40, Java(TM) SE Runtime Environment, 1.8.0-ea-b98
OS: Windows 7

User Comments:
zdenek.rod: I run manven goal.

jiriprox: AIOOBE when running findbug analysis

java.lang.ArrayIndexOutOfBoundsException: 8963
   at org.objectweb.asm.ClassReader.readClass(
   at org.objectweb.asm.ClassReader.accept(
   at edu.umd.cs.findbugs.asm.FBClassReader.accept(
   at org.objectweb.asm.ClassReader.accept(
   at edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(
   at edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(
Comment 1 Jiri Prox 2013-07-18 15:09:59 UTC
Created attachment 137393 [details]
Comment 2 Jan Lahoda 2013-07-18 20:13:35 UTC
Is there a way for me to reproduce? With a way to reproduce, I unfortunately don't see much chances for this to be fixed.
Comment 3 Petr Cyhelsky 2013-07-31 14:57:51 UTC
changing owner
Comment 4 Jan Lahoda 2013-08-05 08:51:01 UTC
Happened to me too. In my case, the reason was that 1.8 classfiles (e.g. java/lang/CharSequence.class from 1.8.0-b100) was being analyzed, but the version of ASM used probably does not understand it properly.
Comment 5 MackSix 2013-08-10 00:35:16 UTC
Created attachment 138523 [details]

1. Using Findbugs on TS Formattnig project that uses JDK 8.
Comment 6 MackSix 2013-08-10 00:38:46 UTC
(In reply to comment #2)
> Is there a way for me to reproduce? With a way to reproduce, I unfortunately
> don't see much chances for this to be fixed.

Yup, run FindBugs on attached "Format" project. 

I am running NetBeans on jdk1.7.0_40-ea-b38 and the project is using JDK 8 build b102.
Comment 7 MackSix 2013-08-10 00:40:18 UTC
Created attachment 138524 [details]
Run FindBugs on this JDK 8 project.
Comment 8 Petr Cyhelsky 2014-02-24 13:26:04 UTC

*** This bug has been marked as a duplicate of bug 235089 ***