You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though I thought it was fixed in previous release, this issue seems to not be
fixed. Posting issue details again here:
This is the stacktrace of the exception which happens when running jshint maven
goal for some resources.
], ro.isdc.wro.extensions.processor.support.linter.LinterError@40394a5[
line=45
character=4
reason=Mixed spaces and tabs.
evidence= this.getPreferences().commit();
]]
[DEBUG] Processing group: all.js [OK]
[DEBUG] creating report at location:
D:\repos\git\ops\ops-ext4\target\wro4j-reports\jshint.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.810s
[INFO] Finished at: Wed Oct 31 09:54:33 EDT 2012
[INFO] Final Memory: 61M/1105M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal ro.isdc.wro4j:wro4j-maven-plugin:1.6.0:jshint
(default-cli) on project ops-ext4: Execution default-cli of goal
ro.isdc.wro4j:wro4j-maven-plugin:1.6.0:jshint failed: Problem while adapting
lint item: The validated object is null -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
ro.isdc.wro4j:wro4j-maven-plugin:1.6.0:jshint (default-cli) on project
ops-ext4: Execution default-cli of goal
ro.isdc.wro4j:wro4j-maven-plugin:1.6.0:jshint failed: Problem while adapting
lint item
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lifecycl
eModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lifecycl
eModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Lifecyc
leStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.ja
va:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:2
90)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java
:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-cli of goal ro.isdc.wro4j:wro4j-maven-plugin:1.6.0:jshint failed:
Problem while adapting lint item
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPlugin
Manager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: ro.isdc.wro.WroRuntimeException: Problem while adapting lint item
at ro.isdc.wro.WroRuntimeException.wrap(WroRuntimeException.java:70)
at
ro.isdc.wro.extensions.support.lint.ReportXmlFormatter.createInternal(ReportXmlF
ormatter.java:111)
at
ro.isdc.wro.extensions.support.lint.ReportXmlFormatter.createForLinterError(Repo
rtXmlFormatter.java:69)
at ro.isdc.wro.maven.plugin.JsHintMojo.onAfterExecute(JsHintMojo.java:102)
at
ro.isdc.wro.maven.plugin.AbstractWro4jMojo.execute(AbstractWro4jMojo.java:137)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPlugin
Manager.java:101)
... 20 more
Caused by: java.lang.NullPointerException: The validated object is null
at org.apache.commons.lang3.Validate.notNull(Validate.java:222)
at org.apache.commons.lang3.Validate.notNull(Validate.java:203)
at
ro.isdc.wro.extensions.support.lint.ReportXmlFormatter$1.apply(ReportXmlFormatte
r.java:73)
at
ro.isdc.wro.extensions.support.lint.ReportXmlFormatter$1.apply(ReportXmlFormatte
r.java:69)
at
ro.isdc.wro.extensions.support.lint.ReportXmlFormatter.createInternal(ReportXmlF
ormatter.java:109)
... 24 more
[ERROR]
Original issue reported on code.google.com by alex.obj...@gmail.com on 3 Nov 2012 at 10:53
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
alex.obj...@gmail.com
on 3 Nov 2012 at 10:53The text was updated successfully, but these errors were encountered: