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 37321

Summary: Exception when clicking on a package
Product: java Reporter: nzordan <nzordan>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description nzordan 2003-11-18 20:27:13 UTC
I get an exception clicking on any packages (on 
the left).
It makes the Object Browser completely unusable.
Is there something I can do to make it work, it 
is a very important tool for me.

---
Annotation: Exception occurred in Request 
Processor
java.lang.IllegalAccessError: tried to access 
method 
org.openide.loaders.DataFolder.getChildrenList()
Ljava/util/List; from class 
org.openide.loaders.DataObjectFilter$4
	at 
org.openide.loaders.DataObjectFilter$4.run
(DataObjectFilter.java:409)
	at org.openide.util.Task.run
(Task.java:136)
	at 
org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:328)
[catch] at 
org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:670)
---

The org.openide.DataFolder.getChildrenList() is 
package 
private. When called from the 
org.openide.loaders.DataObjectFilter$4 it yields 
an 
IllegalAccessError. This might seem 
inappropriate since 
they actually reside in the same package.

My guess is that the offending class is loaded 
using a 
different classloader. From a security 
perspective, that's 
the same thing as residing in different package.

This is the exception detail:
Annotation: Exception occurred in Request 
Processor
java.lang.IllegalAccessError: tried to access 
method 
org.openide.loaders.DataFolder.getChildrenList()
Ljava/util/List; from class 
org.openide.loaders.DataObjectFilter$4
	at 
org.openide.loaders.DataObjectFilter$4.run
(DataObjectFilter.java:409)
	at org.openide.util.Task.run
(Task.java:136)
	at 
org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:328)
[catch] at 
org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:667)
Comment 1 _ rkubacki 2005-02-07 09:43:48 UTC
The old objectbrowser module support is discontinued and module is no
longer in distribution.