java.lang.IllegalAccessError: tried to access class plugin.operation.cleanup.IElementCleanup from class $Proxy2

easymock | virtualwarp | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    IllegalAccessError for Package-Scope-Interfaces

    GitHub | 2 years ago | henri-tremblay
    java.lang.IllegalAccessError: tried to access class plugin.operation.cleanup.IElementCleanup from class $Proxy2
  2. 0

    IllegalAccessError for Package-Scope-Interfaces

    easymock | 8 years ago | virtualwarp
    java.lang.IllegalAccessError: tried to access class plugin.operation.cleanup.IElementCleanup from class $Proxy2

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access class plugin.operation.cleanup.IElementCleanup from class $Proxy2

      at $Proxy2.createCleanup()
    2. Unknown
      ModelCleanUp.cleanupAndValidate
      1. $Proxy2.createCleanup(Unknown Source)
      2. ModelCleanUp.cleanupAndValidate(ModelCleanUp.java:35)
      2 frames
    3. plugin.operation.cleanup
      ModelCleanUpTest.test_validateAndCleanup
      1. plugin.operation.cleanup.ModelCleanUpTest.test_validateAndCleanup(ModelCleanUpTest.java:56)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. JUnit
      OldTestClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:124)
      7. junit.framework.TestSuite.runTest(TestSuite.java:232)
      8. junit.framework.TestSuite.run(TestSuite.java:227)
      9. org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
      9 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
      1 frame
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      5 frames