com.gargoylesoftware.htmlunit.ScriptException: Exception invoking jsxSet_innerHTML

htmlunit | georgiosd | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    HtmlUnit fails with GWT 2.0.4 website

    htmlunit | 6 years ago | georgiosd
    com.gargoylesoftware.htmlunit.ScriptException: Exception invoking jsxSet_innerHTML

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.cyberneko.html.HTMLElements.getElement()
    2. Maven
      HTMLConfiguration.parse
      1. org.cyberneko.html.HTMLElements.getElement(HTMLElements.java:523)
      2. org.cyberneko.html.HTMLElements.getElement(HTMLElements.java:512)
      3. org.cyberneko.html.HTMLTagBalancer.getElement(HTMLTagBalancer.java:1123)
      4. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:977)
      5. org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:717)
      6. org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:136)
      7. org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:278)
      8. org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2633)
      9. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2008)
      10. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:895)
      11. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
      12. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
      12 frames
    3. Xerces2-j
      XMLParser.parse
      1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      1 frame
    4. HtmlUnit
      HTMLElement.jsxSet_innerHTML
      1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:765)
      2. com.gargoylesoftware.htmlunit.html.HTMLParser.parseFragment(HTMLParser.java:147)
      3. com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement.parseHtmlSnippet(HTMLElement.java:922)
      4. com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement.jsxSet_innerHTML(HTMLElement.java:846)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:172)
      2. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putImpl(ScriptableObject.java:2470)
      3. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.put(ScriptableObject.java:360)
      4. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putProperty(ScriptableObject.java:2075)
      5. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1626)
      6. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1616)
      7. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1408)
      8. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:845)
      9. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      10. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:429)
      10 frames
    7. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:269)
      1 frame
    8. HtmlUnit Core JS
      InterpretedFunction.exec
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3162)
      2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
      2 frames
    9. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:490)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:595)
      2 frames
    10. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)
      2 frames
    11. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.endElement
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:499)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:474)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:880)
      4. com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:312)
      5. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:379)
      6. com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:225)
      7. com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:245)
      8. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:578)
      8 frames
    12. Xerces2-j
      AbstractSAXParser.endElement
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      1 frame
    13. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.endElement
      1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:536)
      1 frame
    14. Maven
      HTMLConfiguration.parse
      1. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1136)
      2. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1038)
      3. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
      4. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
      5. org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:2999)
      6. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1991)
      7. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:895)
      8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
      9. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
      9 frames
    15. Xerces2-j
      XMLParser.parse
      1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      1 frame
    16. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:765)
      2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:211)
      3. com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:165)
      4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:225)
      5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:108)
      6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:429)
      7. com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2127)
      8. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:627)
      9. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:560)
      10. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:524)
      11. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:595)
      11 frames
    17. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)
      2 frames
    18. HtmlUnit
      JavaScriptExecutor.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:531)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:906)
      3. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptFunctionJob.runJavaScript(JavaScriptFunctionJob.java:53)
      4. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptExecutionJob.run(JavaScriptExecutionJob.java:84)
      5. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runJob(JavaScriptJobManagerImpl.java:226)
      6. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:307)
      7. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptExecutor.run(JavaScriptExecutor.java:182)
      7 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame