You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2009/06/10 16:55:43 UTC

[jira] Closed: (MASSEMBLY-290) Improve error reporting in case of unlocatable component descriptor

     [ http://jira.codehaus.org/browse/MASSEMBLY-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier closed MASSEMBLY-290.
-------------------------------

    Resolution: Fixed

Fixed in [r783381|http://svn.apache.org/viewvc?view=rev&revision=783381].

> Improve error reporting in case of unlocatable component descriptor
> -------------------------------------------------------------------
>
>                 Key: MASSEMBLY-290
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-290
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-2
>            Reporter: Benjamin Bentmann
>            Assignee: Paul Gier
>            Priority: Trivial
>             Fix For: 2.2-beta-5
>
>         Attachments: missing-component-descriptor.patch
>
>
> That's not really user-friendly:
> {noformat}
> [INFO] [assembly:attached {execution: make-assemblies}]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.mergeComponentsWithMainAssembly(DefaultAssemblyReader.java:454)
>         at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssembly(DefaultAssemblyReader.java:366)
>         at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.addAssemblyFromDescriptor(DefaultAssemblyReader.java:332)
>         at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:193)
>         at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:296)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
> {noformat}

-- 
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