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

GitHub | K0zka | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 54#237137557

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

    GitHub comment 35#223973834

    GitHub | 9 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 | 8 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 | 10 months ago | K0zka
    java.lang.ClassCastException: org.mockito.Answers cannot be cast to org.mockito.stubbing.Answer

    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