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 - IllegalAccessError when clicking on something in the leftmost pane
Summary: IllegalAccessError when clicking on something in the leftmost pane
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-22 12:06 UTC by thhal
Modified: 2009-10-26 12:35 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 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