Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-863

NPE in ConcurrentReporterManager

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12
    • Fix Version/s: 2.12.4
    • Component/s: Junit 4.x support
    • Labels:
      None

      Description

      I have a wird NPE in surefire with one of my projects:

      Caused by: java.lang.NullPointerException
      at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
      at org.apache.maven.surefire.junitcore.ConcurrentReporterManager.getTestSet(ConcurrentReporterManager.java:157)
      at org.apache.maven.surefire.junitcore.ConcurrentReporterManager.getOrCreateTestMethod(ConcurrentReporterManager.java:127)
      at org.apache.maven.surefire.junitcore.ConcurrentReporterManager.testError(ConcurrentReporterManager.java:83)
      at org.apache.maven.surefire.common.junit4.JUnit4RunListener.testFailure(JUnit4RunListener.java:110)
      at org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:100)

        Attachments

        1. SUREFIRE-863.patch
          1.0 kB
          Mark Struberg

          Activity

            People

            • Assignee:
              krosenvold Kristian Rosenvold
              Reporter:
              struberg Mark Struberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: