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 43267 - AIOOBE browsing JAR
Summary: AIOOBE browsing JAR
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 43280 (view as bug list)
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-05-14 12:04 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-05-14 12:04:45 UTC
For jnn, I built a small library jar with the openide-html renderer 
and its dependencies.  When browsing it in Explorer | Files, 
opening the openide.awt package causes the following 
exception:


Annotation: Exception occurred in Request Processor
java.lang.ArrayIndexOutOfBoundsException: -1
	at 
org.netbeans.modules.java.j2seproject.classpath.ClassPathProvi
derImpl.getSourcepath(ClassPathProviderImpl.java:202)
	at 
org.netbeans.modules.java.j2seproject.classpath.ClassPathProvi
derImpl.findClassPath(ClassPathProviderImpl.java:231)
	at 
org.netbeans.modules.java.project.ProjectClassPathProvider.find
ClassPath(ProjectClassPathProvider.java:36)
	at 
org.netbeans.api.java.classpath.ClassPath.getClassPath(ClassPat
h.java:398)
	at 
org.netbeans.modules.clazz.CompiledDataNode.resolveIcons(Co
mpiledDataNode.java:92)
	at 
org.netbeans.modules.clazz.ClassDataNode.run(ClassDataNode.j
ava:190)
	at org.openide.util.Task.run(Task.java:136)
	at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.ja
va:330)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProces
sor.java:686)
Comment 1 Jesse Glick 2004-05-14 21:11:16 UTC
Can't reproduce, but code is clearly wrong, so will fix.
Comment 2 Jesse Glick 2004-05-16 17:08:06 UTC
committed     Up-To-Date  1.6        
java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ClassPathProviderImpl.java
Comment 3 Tomas Hurka 2004-08-17 13:14:53 UTC
*** Issue 43280 has been marked as a duplicate of this issue. ***