maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michiel Kalkman (JIRA)" <>
Subject [jira] Created: (SUREFIRE-694) NPE when empty additionalClasspathElement
Date Fri, 04 Feb 2011 08:04:22 GMT
NPE when empty additionalClasspathElement

                 Key: SUREFIRE-694
             Project: Maven Surefire
          Issue Type: Bug
          Components: JUnit 3.x support
    Affects Versions: 2.7.2
            Reporter: Michiel Kalkman
            Priority: Trivial

Just add to your pom something like:
          <additionalClasspathElement>  </additionalClasspathElement>



where ${abc} does not resolve.

This results in a npe:

[INFO] Trace
  at java.util.Hashtable.put(
  at java.util.Properties.setProperty(
  at org.apache.maven.surefire.booter.Classpath.setForkProperties(
  at org.apache.maven.surefire.booter.ClasspathConfiguration.setForkProperties(
  at org.apache.maven.plugin.surefire.booterclient.BooterSerializer.serialize(
  at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message