title: An exception or error caused a run to abort: org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress()L
body: <p>My environment is Intellij, SBT, Scala and Play.</p>
  <p>What might be causing the following exception? It doesn't happen all the time. At times I am unable to run my test cases due to the following exception.</p>
  <p>I am using <code>&quot;org.mockito&quot; % &quot;mockito-core&quot; % &quot;2.24.5&quot; % &quot;test&quot;,</code></p>
  <p>I suspect there might be some library mismatch or inconsistency but I can't figure out what it is? I have tried to clean/recompile the project (sbt) but haven't been able to solve the issue.</p>
  <pre><code>An exception or error caused a run to abort: org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress()Lorg/mockito/internal/progress/MockingProgress; 
  java.lang.NoSuchMethodError: org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress()Lorg/mockito/internal/progress/MockingProgress;
      at org.mockito.ArgumentMatchers.reportMatcher(ArgumentMatchers.java:1329)
      at org.mockito.ArgumentMatchers.anyObject(ArgumentMatchers.java:165)
      at org.mockito.ArgumentMatchers.any(ArgumentMatchers.java:145)
      at UnitSpecs.TestEnv.&lt;init&gt;(TestEnv.scala:77)
      at UnitSpecs.ServiceSpecs.ServicesTestEnv.&lt;init&gt;(ServicesTestEnv.scala:17)
      at UnitSpecs.ServiceSpecs.CassandraConnectionServiceSpecs.&lt;init&gt;(CassandraConnectionServiceSpecs.scala:76)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at java.lang.Class.newInstance(Class.java:442)
      at org.scalatest.tools.Runner$.genSuiteConfig(Runner.scala:1422)
      at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$8(Runner.scala:1236)
      at scala.collection.immutable.List.map(List.scala:283)
      at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1235)
      at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:1031)
      at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:1010)
      at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1500)
      at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
      at org.scalatest.tools.Runner$.run(Runner.scala:850)
      at org.scalatest.tools.Runner.run(Runner.scala)
      at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:133)
      at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:27)
  </code></pre>
  <p>The call chain is
  my test case calls</p>
  <pre><code>  val servicesTestEnv = new ServicesTestEnv(Some(cqlStartupStatements),components)
  </code></pre>
  <p>which calls</p>
  <pre><code>val testEnv = new TestEnv(components=components)
  </code></pre>
  <p>which calls</p>
  <pre><code>  when(mockHelperMethods.bucketIDFromEmail(ArgumentMatchers.any[String]())).thenReturn(1)
  </code></pre>
  <p>and then the exception</p>
  <pre><code>java.lang.NoSuchMethodError: org.mockito.internal.progress.ThreadSafeMockingProgress.mockingProgress()Lorg/mockito/internal/progress/MockingProgress;
      at org.mockito.ArgumentMatchers.reportMatcher(ArgumentMatchers.java:1329)
      at org.mockito.ArgumentMatchers.anyObject(ArgumentMatchers.java:165)
      at org.mockito.ArgumentMatchers.any(ArgumentMatchers.java:145)
  </code></pre>
  <p>The method <code>mockingProgress</code> is defined in ThreadSafeMockingProgress.java at <code>C:\Users\manuc\.ivy2\cache\org.mockito\mockito-core\srcs\mockito-core-2.24.5-sources.jar!\org\mockito\internal\progress\ThreadSafeMockingProgress.java</code></p>