java.lang.IllegalAccessException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.IllegalAccessException: Class B can not access a member of class A with modifiers "private" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) at java.lang.Class.newInstance0(Class.java:349) at java.lang.Class.newInstance(Class.java:308) at B.doOperation(B.java:27) at B.main(B.java:43)

Users with the same issue

Unknown visitor1 times, last one,
Unknown visitor1 times, last one,
jf-ast
2 times, last one,
Andreas Häber
1 times, last one,
batwalrus76
3 times, last one,
37 more bugmates