You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/03/13 23:46:33 UTC
[jira] Created: (MAVEN-1197) NPE in pluginfinder
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin manager
Versions:
1.0-rc1
Assignee:
Reporter: Jörg Prante
Created: Sat, 13 Mar 2004 5:46 PM
Updated: Sat, 13 Mar 2004 5:46 PM
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org