java.lang.ClassCastException: org.mockito.Answers cannot be cast to org.mockito.stubbing.Answer

GitHub | K0zka | 6 months ago
  1. 0

    GitHub comment 54#237137557

    GitHub | 6 months ago | K0zka
    java.lang.ClassCastException: org.mockito.Answers cannot be cast to org.mockito.stubbing.Answer
  2. 0

    GitHub comment 35#223973834

    GitHub | 7 months ago | sbuettner
    java.lang.ClassCastException: org.mockito.Answers cannot be cast to org.mockito.stubbing.Answer
  3. 0

    Android Test: ClassCastException: org.mockito.Answers cannot be cast to org.mockito.stubbing.Answer

    GitHub | 7 months ago | cypressious
    java.lang.ClassCastException: org.mockito.Answers cannot be cast to org.mockito.stubbing.Answer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    eq and any failing with data classes

    GitHub | 9 months ago | K0zka
    java.lang.ClassCastException: org.mockito.Answers cannot be cast to org.mockito.stubbing.Answer
  6. 0
    When you have no build parameters, uncheck 'This build is parameterized'

    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.ClassCastException

      org.mockito.Answers cannot be cast to org.mockito.stubbing.Answer

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