[ http://jira.codehaus.org/browse/MWEBSTART-17?page=all ]
Jerome Lacoste updated MWEBSTART-17:
------------------------------------
Fix Version/s: 1.0-alpha-1
> Improve error handling upon a potential NPE in case of missing <jnlp> section
> in the pom
> ----------------------------------------------------------------------------------------
>
> Key: MWEBSTART-17
> URL: http://jira.codehaus.org/browse/MWEBSTART-17
> Project: Maven 2.x Webstart Plugin
> Issue Type: Improvement
> Reporter: Jerome Lacoste
> Assigned To: Jerome Lacoste
> Priority: Trivial
> Fix For: 1.0-alpha-1
>
>
> In case of a badly configured pom, the following NPE can be thrown
> ... 16 more
> Caused by: java.lang.NullPointerException
> at
> org.codehaus.mojo.webstart.JnlpMojo.processDependency(JnlpMojo.java:629)
> This matches to
> if ( artifactContainsClass( artifact, jnlp.getMainClass() ) ) {
> Let's detect this and throw a handle the error in a better way.
--
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email