title: @RunWith(MockitoJUnitRunner.class) issues after java 8 upgrade
body: <p>My tests are using</p>
  
  <pre><code>@RunWith(MockitoJUnitRunner.class)
  </code></pre>
  
  <p>annotation, which was running well in Java 6, but after upgrading to Java 8, the test started failing with below exception. What is missing here?</p>
  
  <p>I'm using </p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.mockito&lt;/groupId&gt;
      &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
      &lt;version&gt;1.9.5&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>The error I'm getting is:</p>
  
  <pre><code>java.lang.NullPointerException at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37  
  java.lang.NullPointerException
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
  at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
  </code></pre>