com.gargoylesoftware.htmlunit.ScriptException: invalid return (javascript url#88)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by lukeis
, 1 year ago
Invalid JavaScript value of type [Ljava.lang.Object; (https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js#16)
via htmlunit by ssilvert
, 1 year ago
Wrapped java.lang.Exception: Cannot set the width property to invalid value: null (http://localhost:8080/htmlunit-richfaces/a4j/g/3_3_2.SR1/org/richfaces/ui.pack.js.jsf#9852)
via Stack Overflow by user1154644
, 1 year ago
Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "offsetWidth" from null (http://webapps6.doc.state.nc.us/opi/scripts/DHTMLmessages.js#95) (javascript url#297)
via co.uk by Unknown author, 1 year ago
Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "offsetWidth" from null (http://webapps6.doc.state.nc.us/opi/scripts/DHTMLmessages.js#95) (javascript url#297)
via htmlunit by gavinrifkind
, 1 year ago
Wrapped java.lang.Exception: SyntaxError: An invalid or illegal string was specified. (https://www.google.com/tools/feedback/chat_load.js#20)
com.gargoylesoftware.htmlunit.ScriptException: invalid return (javascript url#88)
at net.sourceforge.htmlunit.corejs.javascript.Parser.addError(Parser.java:188)
at net.sourceforge.htmlunit.corejs.javascript.Parser.addError(Parser.java:167)
at net.sourceforge.htmlunit.corejs.javascript.Parser.reportError(Parser.java:255)
at net.sourceforge.htmlunit.corejs.javascript.Parser.reportError(Parser.java:244)
at net.sourceforge.htmlunit.corejs.javascript.Parser.reportError(Parser.java:237)
at net.sourceforge.htmlunit.corejs.javascript.Parser.returnOrYield(Parser.java:1632)
at net.sourceforge.htmlunit.corejs.javascript.Parser.statementHelper(Parser.java:1022)
at net.sourceforge.htmlunit.corejs.javascript.Parser.statement(Parser.java:928)
at net.sourceforge.htmlunit.corejs.javascript.Parser.parse(Parser.java:572)
at net.sourceforge.htmlunit.corejs.javascript.Parser.parse(Parser.java:492)
at net.sourceforge.htmlunit.corejs.javascript.Context.compileImpl(Context.java:2660)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$2.doRun(JavaScriptEngine.java:720)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.compile(JavaScriptEngine.java:729)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.compile(JavaScriptEngine.java:694)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:746)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:902)
at com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickStateUpdate(HtmlAnchor.java:114)
at com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickStateUpdate(HtmlAnchor.java:179)
at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:800)
at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:747)
at undefined.clickPage.main(clickPage.java:38)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.