java.lang.IllegalAccessError: tried to access method org.mockito.internal.util.MockUtil.<init>()V from class com.nhaarman.mockito_kotlin.CreateInstanceKt

GitHub | unintelligible | 5 months ago
  1. 0
    Update Mockito to newest version.
  2. 0

    any() doesn't seem to work with latest Mockito (2.0.94-beta)

    GitHub | 5 months ago | unintelligible
    java.lang.IllegalAccessError: tried to access method org.mockito.internal.util.MockUtil.<init>()V from class com.nhaarman.mockito_kotlin.CreateInstanceKt
  3. 0

    NoClassDefFoundError on org.springframework.boot.test.mock.mockito.MockReset

    Stack Overflow | 1 month ago | Incredible
    java.lang.IllegalAccessError: tried to access method org.mockito.internal.util.MockUtil.<init>()V from class org.springframework.boot.test.mock.mockito.MockReset
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mockito 2.0.94-beta breaks org.springframework.boot.test.mock.mockito.MockReset

    GitHub | 6 months ago | thetric
    java.lang.IllegalAccessError: tried to access method org.mockito.internal.util.MockUtil.<init>()V from class org.springframework.boot.test.mock.mockito.MockReset
  6. 0

    Unit must be a singleton

    YouTrack | 4 years ago
    java.lang.IllegalAccessError: tried to access method jet.Tuple0.<init>()V from class testUnit.namespace
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalAccessError

    tried to access method org.mockito.internal.util.MockUtil.<init>()V from class com.nhaarman.mockito_kotlin.CreateInstanceKt

    at com.nhaarman.mockito_kotlin.CreateInstanceKt.uncheckedMock()
  2. com.nhaarman.mockito_kotlin
    CreateInstanceKt.createInstance
    1. com.nhaarman.mockito_kotlin.CreateInstanceKt.uncheckedMock(CreateInstance.kt:180)
    2. com.nhaarman.mockito_kotlin.CreateInstanceKt.createInstance(CreateInstance.kt:58)
    2 frames