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 - Exception when clicking on a package
Summary: Exception when clicking on a package
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P1 blocker with 1 vote (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 20:27 UTC by nzordan
Modified: 2005-02-07 09:43 UTC (History)
0 users

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 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.