The following comment has been added to this issue: Author: Andre Kaan Created: Tue, 30 Mar 2004 11:39 AM Body: Workaround: just delete the contents under .maven and maven will restore your .maven area. --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1197&page=comments#action_18015
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1197 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-1197 Summary: NPE in pluginfinder Type: Bug Status: Closed Priority: Minor Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Components: plugin manager Fix Fors: 1.0-rc3 Versions: 1.0-rc1 Assignee: Brett Porter Reporter: Jörg Prante Created: Sat, 13 Mar 2004 5:46 PM Updated: Tue, 30 Mar 2004 11:39 AM Environment: Linux, J2SE 1.4.2 Description: if ~/.maven/plugins/plugins.cache is 0 bytes, which can happen when ctrl-c is pressed shortly after a Maven call, a subsequent Maven call fails with NPE. __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT java.lang.NullPointerException at org.apache.maven.plugin.PluginManager.invalidateCache(PluginManager.java:830) at org.apache.maven.plugin.PluginManager.expandPluginJars(PluginManager.java:348) at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262) at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:293) at org.apache.maven.MavenSession.initialize(MavenSession.java:233) at org.apache.maven.cli.App.doMain(App.java:532) 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: 1 seconds --------------------------------------------------------------------- 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]