2006/3/20, Prasad Kashyap <[EMAIL PROTECTED]>:
> The following modules are failing tests with NPE
>
> 1) security
> 2) jetty
> 3) tomcat
>
> [INFO] Trace
> java.lang.NullPointerException
> at
> java.util.Hashtable.put(Ljava.lang.Object;Ljava.lang.Object;)Ljava.lang.Object;(Unknown
> Source)
Could you verify your surefire-plugin installation? Execute the
following commands to see if they match with mine.
1/ Go to Geronimo sources tree and run 'mvn -o help:describe
-Dplugin=surefire'. You should get the following output:
[INFO] [help:describe]
[INFO] Plugin: 'org.apache.maven.plugins:maven-surefire-plugin:2.1.3-SNAPSHOT'
-----------------------------------------------
Group Id: org.apache.maven.plugins
Artifact Id: maven-surefire-plugin
Version: 2.1.3-SNAPSHOT
Goal Prefix: surefire
Description:
2/ Now, go to the M2 localRepository to
org\apache\maven\plugins\maven-surefire-plugin\2.1.3-SNAPSHOT and make
sure the only jar you've got is
maven-surefire-plugin-2.1.3-20060228.012944-10.jar. If it's not,
please open up maven-metadata-snapshots.xml and see what's in it. Mine
is as follows:
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.1.3-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20060228.012944</timestamp>
<buildNumber>10</buildNumber>
</snapshot>
<lastUpdated>20060228013013</lastUpdated>
</versioning>
</metadata>
I'm pretty sure it's connected to the above configuration and each has
a different one.
I read on maven-dev mailing list that surefire's latest snasphot was
broken, and I had to convert all the
<propertyName>propertyValue</propertyName> to
<property><name></name><value></value></property>. It could've been
that I had downloaded the wrong version of the plugin.
I'm updating 'mvn -U' the local repo to see if it makes any change.
> Prasad
Jacek
--
Jacek Laskowski
http://www.laskowski.org.pl