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 237187 - ArrayIndexOutOfBoundsException: 35328
Summary: ArrayIndexOutOfBoundsException: 35328
Status: RESOLVED DUPLICATE of bug 235089
Alias: None
Product: java
Classification: Unclassified
Component: FindBugs (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Petr Cyhelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-16 10:19 UTC by Jiri Prox
Modified: 2014-02-24 13:04 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203841


Attachments
stacktrace (3.53 KB, text/plain)
2013-10-16 10:19 UTC, Jiri Prox
Details
stacktrace (2.44 KB, text/plain)
2013-12-04 09:09 UTC, Jiri Prox
Details
stacktrace (3.05 KB, text/plain)
2013-12-18 23:52 UTC, MackSix
Details
stacktrace (3.05 KB, text/plain)
2013-12-18 23:55 UTC, MackSix
Details
stacktrace (2.82 KB, text/plain)
2013-12-25 21:30 UTC, muellermi
Details
stacktrace (2.82 KB, text/plain)
2013-12-25 21:39 UTC, muellermi
Details
stacktrace (2.82 KB, text/plain)
2013-12-25 21:42 UTC, muellermi
Details
stacktrace (3.53 KB, text/plain)
2014-01-20 17:18 UTC, MackSix
Details
stacktrace (3.05 KB, text/plain)
2014-01-28 20:25 UTC, host
Details
stacktrace (3.53 KB, text/plain)
2014-02-04 14:19 UTC, swpalmer
Details
stacktrace (2.93 KB, text/plain)
2014-02-17 11:19 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-10-16 10:19:38 UTC
Build: NetBeans IDE Dev (Build 20131014-f962ff2a7ce7)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b49, Java(TM) SE Runtime Environment, 1.8.0-ea-b107
OS: Windows 7

User Comments:
jiriprox: Running all analyzers

GUEST: Editing any file

mps77: inspect with findbug




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 35328
   at org.objectweb.asm.ClassReader.accept(ClassReader.java:0)
   at edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44)
   at org.objectweb.asm.ClassReader.accept(ClassReader.java:0)
   at edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:106)
   at edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:492)
   at edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76)
Comment 1 Jiri Prox 2013-10-16 10:19:40 UTC
Created attachment 141140 [details]
stacktrace
Comment 2 Jiri Prox 2013-10-16 10:20:48 UTC
Source file:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package foo;

/**
 *
 * @author jprox
 */
public class A {

    public static void main(String[] args) {
     String s = new String();
     String localeName = null;
     if(localeName.toLowerCase().startsWith("en_")) {
         
     }
    }
    
    
    
}
Comment 3 Jiri Prox 2013-12-04 09:09:10 UTC
Created attachment 142835 [details]
stacktrace

AIOOBE exception when opening following class:

package javaapplication6;


public class UtilityClass {
    public void neco() {
        System.out.println("ok2");
        
    }
}
Comment 4 Exceptions Reporter 2013-12-04 09:09:14 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203841
Comment 5 MackSix 2013-12-18 23:52:07 UTC
Created attachment 143320 [details]
stacktrace

1. Installed NetBeans and ran it, then shut it down.
2. Ran NetBeans again.
3. Opened up large Free-Form project (jEdit 5.1)
3. While scanning was going on, ran Source>>Inspect and chose to install FindBugs.
4. After FindBugs installed, set configuration to FindBugs and clicked Inspect Button.

This Exception occured.
Comment 6 MackSix 2013-12-18 23:55:07 UTC
Created attachment 143321 [details]
stacktrace

1. Restarted NetBeans.
2. Tried to run FindBugs on same Free-Form project (jEdit 5.1).
This Exception was thrown. Repeatable.
Comment 7 muellermi 2013-12-25 21:30:25 UTC
Created attachment 143452 [details]
stacktrace

editing options, tab quality
Comment 8 muellermi 2013-12-25 21:39:25 UTC
Created attachment 143454 [details]
stacktrace

edit
Comment 9 Exceptions Reporter 2013-12-25 21:39:29 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203841
Comment 10 muellermi 2013-12-25 21:42:25 UTC
Created attachment 143455 [details]
stacktrace

edit
Comment 11 Exceptions Reporter 2013-12-25 21:42:29 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203841
Comment 12 MackSix 2014-01-20 17:18:51 UTC
Created attachment 144162 [details]
stacktrace

Ran Source >> Inspect on simple Java Maven project.

Prompted to install Findbugs and did so.

Ran Inspection with All Analyzers and this happened.
Comment 13 host 2014-01-28 20:25:09 UTC
Created attachment 144484 [details]
stacktrace

I just invoked the FindBug plugin on my source code
Comment 14 swpalmer 2014-02-04 14:19:16 UTC
Created attachment 144779 [details]
stacktrace

Attempted to run Source -> Inspect on a Java source file, with the FindBugs plugin installed.
Comment 15 Exceptions Reporter 2014-02-06 09:31:25 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203841
Comment 16 swpalmer 2014-02-11 21:14:22 UTC
Is this not a duplicate of Issue 235089 ?
Comment 17 Petr Cyhelsky 2014-02-17 11:19:30 UTC
Created attachment 145299 [details]
stacktrace

_
Comment 18 Petr Cyhelsky 2014-02-24 13:04:26 UTC

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