The following issue has been updated:
Updater: dion gillard (mailto:[EMAIL PROTECTED])
Date: Sun, 9 Nov 2003 9:06 AM
Changes:
Fix Version changed to 1.0-rc2
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-978&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-978
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-978
Summary: NPE with invalid argument and no project.xml
Type: Bug
Status: Unassigned
Priority: Minor
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
core
Fix Fors:
1.0-rc2
Versions:
1.0-rc1
Assignee:
Reporter: Dale King
Created: Tue, 28 Oct 2003 8:43 PM
Updated: Sun, 9 Nov 2003 9:06 AM
Environment: Windows 98SE with patched maven.bat to allow it to work on Win98 (See
Maven-942)
Description:
I was trying to invoke "maven console" in a directory that did not have a project.xml
file. But, I couldn't remember the command so I accidently typed "maven cli" instead.
This is of course not a valid command, but instead of getting an informative message
about cli being an unknown goal I was greeted with a NullPointerException:
C:\>maven cli
C:\>
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
java.lang.NullPointerException
at org.apache.maven.plugin.PluginManager.attainGoals (PluginManager.java:430)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 4 seconds
Finished at: Tue Oct 28 21:05:30 EST 2003
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]