NPE when JSLINT reports fatal error
-----------------------------------
Key: MOJO-1130
URL: http://jira.codehaus.org/browse/MOJO-1130
Project: Mojo
Issue Type: Bug
Components: javascript-tools
Environment: javascript-report-maven-plugin:1.0-alpha-1-SNAPSHOT:jslint
Reporter: Tuomas Kiviaho
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