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 31361

Summary: IllegalAccessError when clicking on something in the leftmost pane
Product: java Reporter: thhal <thhal>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description thhal 2003-02-22 12:06:17 UTC
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 nzordan 2003-10-18 17:24:36 UTC
Also happens on NetBeans ver 3.5.1 (PC XP)
Comment 2 nzordan 2003-10-20 17:56:50 UTC
On 3.5 this bug renders the module completely unusable
Comment 3 Marian Mirilovic 2009-10-26 12:35:11 UTC
worksforme in NB 6.8