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

Tim Astle updated MJS-9:
------------------------

    Fix Version/s: 1.0
         Assignee: Tim Astle

> NPE when JSLINT reports fatal error
> -----------------------------------
>
>                 Key: MJS-9
>                 URL: http://jira.codehaus.org/browse/MJS-9
>             Project: Maven Javascript Tools
>          Issue Type: Bug
>         Environment: 
> javascript-report-maven-plugin:1.0-alpha-1-SNAPSHOT:jslint
>            Reporter: Tuomas Kiviaho
>            Assignee: Tim Astle
>             Fix For: 1.0
>
>         Attachments: JsLintReport.patch
>
>
> I'm encountering a NPE from jslint goal of report plugin using default 
> configuration against 
> http://trac.dojotoolkit.org/export/13773/dijit/trunk/layout/ContentPane.js
> java.lang.NullPointerException
>       at 
> org.codehaus.mojo.javascript.JsLintReport.executeReport(JsLintReport.java:236)
> I started to debug what is wrong and found out that following case documented 
> after JSLINT return values section is not obeyed.
>    If a fatal error was found, a null will be the last element of the 
> JSLINT.errors array.

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


Reply via email to