Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when running with JSHint 2.5.8 #38

Open
manderson23 opened this issue Nov 5, 2014 · 0 comments
Open

Exception when running with JSHint 2.5.8 #38

manderson23 opened this issue Nov 5, 2014 · 0 comments

Comments

@manderson23
Copy link

I tried using JSHint 2.5.8 (using jshint-rhino.js) with the jshintSrc option and get the following exception

org.mozilla.javascript.EvaluatorException: illegal character
    at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:77)
    at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:64)
    at org.mozilla.javascript.Parser.addError(Parser.java:188)
    at org.mozilla.javascript.Parser.addError(Parser.java:166)
    at org.mozilla.javascript.Parser.addError(Parser.java:162)
    at org.mozilla.javascript.TokenStream.getToken(TokenStream.java:829)
    at org.mozilla.javascript.Parser.peekToken(Parser.java:296)
    at org.mozilla.javascript.Parser.parse(Parser.java:524)
    at org.mozilla.javascript.Parser.parse(Parser.java:502)
    at org.mozilla.javascript.Context.compileImpl(Context.java:2350)
    at org.mozilla.javascript.Context.compileReader(Context.java:1296)
    at org.mozilla.javascript.Context.compileReader(Context.java:1268)
    at org.mozilla.javascript.Context.evaluateReader(Context.java:1107)
    at com.philmander.jshint.JsHintRunner.lint(JsHintRunner.java:166)
    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:483)
    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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant