You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/04/03 03:04:44 UTC

[jira] Updated: (MPH-10) NPE when -Dplugin value can not find specified plugin

     [ http://jira.codehaus.org/browse/MPH-10?page=all ]

Brett Porter updated MPH-10:
----------------------------

             Assign To: Brett Porter
           Fix Version: 2.0.1
    Remaining Estimate: 15 minutes
     Original Estimate: 15 minutes

> NPE when -Dplugin value can not find specified plugin
> -----------------------------------------------------
>
>          Key: MPH-10
>          URL: http://jira.codehaus.org/browse/MPH-10
>      Project: Maven 2.x Help Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Barrie Treloar
>     Assignee: Brett Porter
>      Fix For: 2.0.1

>
> Original Estimate: 15 minutes
>         Remaining: 15 minutes
>
> specifying -Dplugin where help can not find the plugin causes an NPE.
> mvn help:describe -Dfull=true -Dplugin=eclipse
> [INFO] Scanning for projects...
> ...del...
> [INFO] Searching repository for plugin with prefix: 'help'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Mobile Computing Project
> [INFO]    task-segment: [help:describe] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [help:describe]
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] null
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.plugins.help.DescribeMojo.describePlugin(DescribeMojo.java:404)
>         at org.apache.maven.plugins.help.DescribeMojo.execute(DescribeMojo.java:222)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:303)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:216)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         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 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Wed Jan 25 12:11:03 CST 2006
> [INFO] Final Memory: 2M/5M
> [INFO] ----------------------------------------------------------------------------

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira