java.lang.IllegalStateException

no last call on a mock available

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13849

  • no last call on a mock available
  • via Google Groups by Daly, 1 year ago
    no last call on a mock available
  • Stack trace

    • java.lang.IllegalStateException: no last call on a mock available at org.easymock.EasyMock.getControlForLastCall(EasyMock.java:521) at org.easymock.EasyMock.expectLastCall(EasyMock.java:512) at org.powermock.api.easymock.PowerMock.doExpectPrivate(PowerMock.java:2247) at org.powermock.api.easymock.PowerMock.expectPrivate(PowerMock.java:1409)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 3 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago