java.lang.IllegalStateException: Duplicate application of the same mock-up class


Solutions on the web4

Solution icon of github
Duplicate application of the same mock-up class

Solution icon of github
Duplicate application of the same mock-up class

Solution icon of github
Duplicate application of the same mock-up class

Solution icon of github
Duplicate application of the same mock-up class

Stack trace

java.lang.IllegalStateException: Duplicate application of the same mock-up class
	at mockit.MockUp.findPreviouslyMockedClassIfMockUpAlreadyApplied(MockUp.java:165)
	at mockit.MockUp.<init>(MockUp.java:119)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.