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 kodo.runtime.KodoHelper can not access a member of class xxx.core.model.competitor.CompetitorImpl with modifiers "public final" at kodo.runtime.KodoHelper.setDetachedState(KodoHelper.java:496) at kodo.runtime.DetachManager.setDetachedVariables(DetachManager.java:231) at kodo.runtime.DetachManager.detach(DetachManager.java:168) at kodo.runtime.DetachManager.detach(DetachManager.java:55) at kodo.runtime.PersistenceManagerImpl.detach(PersistenceManagerImpl.java:3073) at xxx.core.model.competitor.CompetitorImplTest.doCheckPersistent(CompetitorImplTest.java:798) at xxx.core.model.DatabaseTest.checkPersistent(DatabaseTest.java:133) at xxx.core.model.DatabaseTest.testPersistence(DatabaseTest.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl..java:25) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at junit.extensions.TestSetup$1.protect(TestSetup.java:19) at junit.extensions.TestSetup.run(TestSetup.java:23) at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(Unknown Source) at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(UnknownSource) at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(UnknownSource) at com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl..java:25) at com.intellij.rt.execution.application.AppMain.main(Unknown Source) Caused by: java.lang.IllegalAccessException: Class kodo.runtime.KodoHelper can not access a member of class xxx.core.model.competitor.CompetitorImpl with modifiers "public final" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57) at kodo.runtime.KodoHelper.invoke(KodoHelper.java:625) at kodo.runtime.KodoHelper.setDetachedState(KodoHelper.java:491) ... 22 more

Users with the same issue

tvrmsmith
2 times, last one,
jf-ast
2 times, last one,
Handemelindo
8 times, last one,
batwalrus76
3 times, last one,
Nikolay Rybak
1 times, last one,
34 more bugmates