[ http://jira.codehaus.org/browse/MECLIPSE-153?page=all ]

Kenney Westerhof closed MECLIPSE-153.
-------------------------------------

         Assignee: Kenney Westerhof
       Resolution: Fixed
    Fix Version/s: 2.3

If a jar doesn't have a manifest, which is the case here, then the manifest is 
null and generates
an NPE.

Modified code to log a warning and skip the file.

Fixed in revision 446618.

> While processing using "make-artifacts" goal from eclipse installation which 
> contains JBosss IDE, it signals NPE in org.jbpm.core_3.0.9.jar
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-153
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-153
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: PDE support
>    Affects Versions: 2.3
>         Environment: Windows XP
>            Reporter: Sharma, Jaikumar
>         Assigned To: Kenney Westerhof
>             Fix For: 2.3
>
>
> [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar
> [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping 
> [WARNING] Missing version for artifact org.eclipse.emf.edit, skipping 
> [WARNING] Missing version for artifact org.eclipse.xsd, skipping [INFO] 
> Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36712.xml to 
> C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec
> lipse.xsd.edit-2.1.0.pom
> [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar to 
> C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec
> lipse.xsd.edit-2.1.0.jar
> [INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar
> [WARNING] Missing version for artifact org.eclipse.core.runtime, skipping 
> [WARNING] Missing version for artifact org.eclipse.emf.ecore, skipping [INFO] 
> Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36713.xml to 
> C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse
> .xsd-2.1.1.pom
> [INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar to 
> C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse
> .xsd-2.1.1.jar
> [INFO] Processing file C:\Lang\eclipse\plugins\org.jbpm.core_3.0.9.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>  at 
> org.apache.maven.plugin.eclipse.MakeArtifactsMojo.execute(MakeArtifactsMojo.
> java:166)
>  at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
> r.java:412)

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

        

Reply via email to