org.mockito.exceptions.base.MockitoException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.mockito.exceptions.base.MockitoException: Unable to initialize @Spy annotated field 'a'. null at org.mockito.internal.configuration.SpyAnnotationEngine.process(SpyAnnotationEngine.java:70) at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:59) at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:41)
No Bugmate found.