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
If my JSON configuration includes the following option:
"predef": [ "bootbox" ],
The ant task fails with the following error:
[jshint] Validating files in /encrypt/branches/urtdsm/pmx-msf/src
[jshint] Using custom options:jquery=true,indent=2,predef= [bootbox],node=true,maxlen=120,unused=true,undef=true,eqeqeq=true,quotmark=single,browser=true,eqnull=true,strict=true,newcap=true,camelcase=true,latedef=true
[jshint] RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
[jshint] Rhino runtime detected object [bootbox] of class java.util.ArrayList where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
[jshint] RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
[jshint] Rhino runtime detected object [bootbox] of class java.util.ArrayList where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
BUILD FAILED
/encrypt/branches/urtdsm/pmx-msf/src/jenkins.xml:565: org.mozilla.javascript.EvaluatorException: Invalid JavaScript value of type java.util.ArrayList (/com/philmander/jshint/jshint.js#57424)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:77)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:913)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:969)
at org.mozilla.javascript.Context.reportRuntimeError1(Context.java:932)
at org.mozilla.javascript.ScriptRuntime.errorWithClassName(ScriptRuntime.java:3964)
at org.mozilla.javascript.ScriptRuntime.typeof(ScriptRuntime.java:2530)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1525)
at script.each(/com/philmander/jshint/jshint.js:57424)
at script(/com/philmander/jshint/jshint.js:57431)
at script(/com/philmander/jshint/jshint-runner.js:38)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at com.philmander.jshint.JsHintRunner.lint(JsHintRunner.java:214)
at com.philmander.jshint.JsHintAntTask.execute(JsHintAntTask.java:87)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
The text was updated successfully, but these errors were encountered:
If my JSON configuration includes the following option:
The ant task fails with the following error:
The text was updated successfully, but these errors were encountered: