All I can say from the output is that it's related to your log4j
properties/setup. Note that properties that start with 'log4j' are
interpreted as log4j properties by the maven core, I would rename
'log4j.jarfile' first. Otherwise I'd need more info about your
sub-projects setup (use jira to attach a reproducible test case if
possible: http://jira.codehaus.org/browse/MAVEN ).
Cheers,
-Lukas
Craig L Russell wrote:
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!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]