Hi,

Please reply directly; I'm not subscribed to this list.

Some more information on this situation.

This is a multiproject and when run from the parent directory, it
works. If I go into the subdirectory and run maven, some but not all
projects throw NPE.

For example, I can run maven tck2.build and it works fine.

If I cd tck2; maven build it fails with the NPE.

But cd api2; maven jar:install works fine.

Thanks,

Craig

On Dec 4, 2007, at 9:48 AM, Craig L Russell wrote:

Hi,

Please reply directly; I'm not subscribed to this list.

I'm trying to migrate from 1.0.2 to 1.1 and have a problem that I can't figure out.

Some of the subprojects build fine; others throw NPE:

[Bruiser:~/apache/jdo/trunk] clr% which maven
/Users/clr/maven-1.1/bin/maven
[Bruiser:jdo/trunk/tck2-legacy] clr% maven
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:396)
        at org.apache.maven.cli.App.customizeLogging(App.java:703)
        at org.apache.maven.cli.App.initialize(App.java:433)
        at org.apache.maven.cli.App.initializeMain(App.java:1188)
        at org.apache.maven.cli.App.doMain(App.java:271)
        at org.apache.maven.cli.App.main(App.java:217)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

Any clues where to look for the problem? I expect it's a user error, but I can't figure out where it might be...


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to