java.lang.IllegalAccessError

K

K. S.

Hi all,

I am getting the following runtime error:
java.lang.IllegalAccessError: tried to access class

This trace back to:
Jtree.addTreeSelectionListener(new TreeSelectionListener() { ...

Can anybody help?
Thanks!
 
I

Ike

please post your code, and what you are getting in the java console when the
error occurs -Ike
 
K

K. S.

Hmm well the problem is when I fix the code somewhere or comment out
the line that causes the error, the java.lang.IllegalAccessError
appears somewhere else.
Everytime though it seems like the error is appearing at weird place.
The current line causing the exception is:

Runnable r = new Runnable() {

Weird, isnot it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top