• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exception in thread "main" org.mozilla.javascript.EvaluatorException: illegally formed XML syntax

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Running my Spring 2.5.6 jsp page in Eclipse Helios Release has the following error.
How to find out where is the illegally formed XML syntax?
The message "#49" is not helpful.
Exception in thread "main" org.mozilla.javascript.EvaluatorException: illegally formed XML syntax (admin.jsp#49)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:95)
at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:82)
at org.mozilla.javascript.Parser.addError(Parser.java:122)
at org.mozilla.javascript.TokenStream.getNextXMLToken(TokenStream.java:1056)
at org.mozilla.javascript.TokenStream.getFirstXMLToken(TokenStream.java:907)
at org.mozilla.javascript.Parser.xmlInitializer(Parser.java:1520)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1497)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:1432)
at org.mozilla.javascript.Parser.addExpr(Parser.java:1413)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1393)
at org.mozilla.javascript.Parser.relExpr(Parser.java:1367)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:1323)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1312)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1301)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1290)
at org.mozilla.javascript.Parser.andExpr(Parser.java:1278)
at org.mozilla.javascript.Parser.orExpr(Parser.java:1266)
at org.mozilla.javascript.Parser.condExpr(Parser.java:1249)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:1231)
at org.mozilla.javascript.Parser.expr(Parser.java:1220)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1151)
at org.mozilla.javascript.Parser.statement(Parser.java:619)
at org.mozilla.javascript.Parser.parse(Parser.java:351)
at org.mozilla.javascript.Parser.parse(Parser.java:310)
at org.mozilla.javascript.Context.compileImpl(Context.java:2192)
at org.mozilla.javascript.Context.compileReader(Context.java:1246)
at org.mozilla.javascript.Context.compileReader(Context.java:1218)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1160)
at tk.eclipse.plugin.jseditor.launch.executer.JavaScriptExecutor.main(JavaScriptExecutor.java:30)
 
Author
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This looks like an Eclipse bug / issue and not related to Spring... that said, it's failing in the Rhino Javascript parser, so I would look for Javascript in your page - without the contents of the page, not too much we can do.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic