geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <eljo...@gmail.com>
Subject Re: [jira] Commented: (GERONIMO-1672) Migrate security module to M2
Date Mon, 06 Mar 2006 18:44:10 GMT
2006/3/6, ian.d.stewart@jpmchase.com <ian.d.stewart@jpmchase.com>:
> Anita,
>
> I don't know whether it's related to the error(s) you're seeing, but I
> believe that the version of Maven that you want is 2.0.3-SNAPSHOT, not
> 2.1-SNAPSHOT.

Thanks Ian as I didn't notice it before. Although it might've added
some additional burden, I think the real issue was with the version of
the maven-surefire-plugin as the stack trace seemed to indicate:

java.lang.NullPointerException
       at java.util.Hashtable.put(Hashtable.java:393)
       at java.util.Properties.setProperty(Properties.java:102)
       at java.lang.System.setProperty(System.java:656)
       at
org.apache.maven.test.SurefirePlugin.processSystemProperties(SurefirePlugin.java:408)

When I took a look at the failing class the hashtable wasn't
initialized whereas the one that backs up environmentVariables (or
-Properties, I don't remember atm) was. When I built the
maven-surefire-plugin yourself, it started to work fine. I wish the
plugins were published more often.

Jacek

--
Jacek Laskowski
http://www.laskowski.org.pl

Mime
View raw message