windows - org.mozilla.javascript.EvaluatorException: illegal character (/[filename].js#1) JSCover -


I am trying to run JSCover on Windows 7, I have kept those files that I ~~~ JSCover-0.2 Want to test in .0 \ Doc \ Examples - My two files are generating errors with 500 (internal server error) , while jquery jasmine and other libraries are full.

Error:

  org.mozilla.javascript.EvaluatorException: Invalid character (/onTheMove-Tree.js # 1) on org.mozilla .javascript.DefaultErrorReporter.runtimeError (DefaultErrorReporter.java:77) organization on org.mozilla.javascript.DefaultErrorReporter.error (DefaultErrorReporter.java:64) on org.mozilla.javascript.Parser.addError (Parser.java:188). mozilla.javascript.Parser.addError org.mozilla.javascript.Parser.addError (Parser.java:162) to (Parser.java:166) on org.mozilla.javascript.TokenStream.getToken (TokenStream.java:832) organization on .mozilla.javascript.Parser.peekToken org.mozilla.javascript.Parser.name (Parser.java:2880) (Parser.java:296) on org.mozilla.javascript.Parser.primaryExpr (Parser.java:2792) org.mozilla.javascript.Parser.memberExpr org.mozilla.javascript.Parser.unaryExpr (Parser.java:2316) on org.mozilla.javascript.Parser.mulExpr (Parser.java:2418) (Parser.java:2241) rser.shiftExpr on org.mozilla.javascript.Parser.addExpr on ORg.mozilla.javascript.Pa (Parsrkjawa June 225) (Parser.java:2206) org.mozilla.javascript.Parser.relExpr (Parser.java: 2181) on org.mozilla.javascript on org.mozilla.javascript.Parser.eqExpr (Parser.java:2153) on .Parser.bitAndExpr org.mozilla.javascript.Parser.bitXorExpr (Parser.java:2 142) (Parser.java:2131) at org.mozilla.javascript.Parser.bitOrExpr (Parser.java:2120) at org.mozilla. javascript.Parser.andExpr (Parser.java:2109) on org.mozilla on org.mozilla.javascript.Parser.orExpr (Parser.java:2098) org.mozilla.javascript.Parser.condExpr (Parser.java:2062) .javascript.Parser.assignExpr (Parser.java:2033) organization on org.mozilla.javascript.Parser.expr (Parser.java:2012) on org.mozilla.javascript.Parser.nameOrLabel (Parser.java:1765). mozilla.javascript.Parser.statementHelper org.mozilla.javascript.Parser.statement (Parser.java:901) to (Parser.java:1032) on org.mozilla.javascript.Parser.parse (Parser.java:540) organization .mozilla.javascript.Parser.parse (parser.java:478) on jscover.instrument.SourceProcessor.instrumentSource (Srotprkriya or.java:408) jscover.instrument.SourceProcessor.processSourceWithoutHeader (SourceProcessor.java:394) jscover.instrument.SourceProcessor .processSource (SourceProcessor.java:386) at jscover.instrument.SourceProcessor.processSourceForServer (at SourceProcessor.java:375) jscover.instrument.InstrumenterService.instrumentJSForWebServer (InstrumenterService.java:360) at jscover.server.InstrumentingRequestHandler.handleGet ( InstrumentingRequestHandler.javaety36) on jscover.server.HttpServer.run (HttpServer.java:403)  

I have almost checked and mang The proposed solution is as follows: java -Dfile.encoding = UTF-8 -jar JSCover-all.jar , but the result in my case is no different.
Am I running it wrong? The ruler? Enter image details here

I'm running example-server If the bat is running then the command is running, then after changing the encoding, example-server.bat starts again.

UPDATE: I have checked and my system is encoded ISO-8859-1, but Java-Dfile.encoding = ISO-8859-1-JR JSCover- All.jar still does not produce any effect.
I have also tried to specify the absolute path to no fate

  c: \ user \ administrator \ download \ jescaster -0.2.0 \ target \ dist & gt; Java-Dfile.encoding = ISO-8859-1- "c: \ user \ administrator \ download \ jescaster -0.2.0 \ target \ dist \ jsco server-sub.jar"  

How do I check

To confirm whether the server is running ? This is not a fair solution but a temporary hack is more to solve this problem:
I opened those files which gave me the 500 (internal server error) Notepadd ++, and then changed the encoding to 'BOM without UTF-8 Convert' to convert.
This allowed me to go beyond this problem, so technically this is a way to go on it, although I would like someone to offer a better resolution.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -