java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses

debian.org | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    #707298 - libcglib-java: code changes break libmockito-java - Debian Bug report logs

    debian.org | 6 months ago
    java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy()
    2. Mockito
      CGLIBHacker.setMockitoNamingPolicy
      1. org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:23)
      1 frame