java.lang.RuntimeException: Exception invoking add

htmlunit | abrin523 | 9 months ago
  1. 0

    ClassCastException with javascript/SVG/c3.js

    htmlunit | 9 months ago | abrin523
    java.lang.RuntimeException: Exception invoking add
  2. 0

    ClassCast exception loading page

    htmlunit | 2 months ago | sirstrahd
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.svg.SvgElement cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement
  3. 0

    ClassCast exception loading page

    htmlunit | 2 months ago | sirstrahd
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.svg.SvgElement cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCast exception loading page

    htmlunit | 2 months ago | sirstrahd
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.svg.SvgElement cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement
  6. 0

    ClassCast exception loading page

    htmlunit | 2 months ago | sirstrahd
    java.lang.ClassCastException: com.gargoylesoftware.htmlunit.svg.SvgElement cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.gargoylesoftware.htmlunit.svg.SvgText cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlElement

      at com.gargoylesoftware.htmlunit.javascript.host.dom.DOMTokenList.updateAttribute()
    2. HtmlUnit
      DOMTokenList.add
      1. com.gargoylesoftware.htmlunit.javascript.host.dom.DOMTokenList.updateAttribute(DOMTokenList.java:213)
      2. com.gargoylesoftware.htmlunit.javascript.host.dom.DOMTokenList.add(DOMTokenList.java:114)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    4. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:153)
      2. net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:449)
      3. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1536)
      4. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
      5. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
      6. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
      6 frames
    5. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:252)
      1 frame
    6. HtmlUnit Core JS
      InterpretedFunction.exec
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286)
      2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
      2 frames
    7. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:757)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:868)
      2 frames
    8. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513)
      2 frames
    9. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.endElement
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:766)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:742)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1005)
      4. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:352)
      5. com.gargoylesoftware.htmlunit.html.HtmlScript$2.execute(HtmlScript.java:238)
      6. com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:257)
      7. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:747)
      7 frames
    10. Xerces2-j
      AbstractSAXParser.endElement
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      1 frame
    11. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.endElement
      1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:704)
      1 frame
    12. Maven
      HTMLConfiguration.parse
      1. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1137)
      2. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1039)
      3. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
      4. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330)
      5. org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126)
      6. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093)
      7. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920)
      8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
      9. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
      9 frames
    13. Xerces2-j
      XMLParser.parse
      1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      1 frame
    14. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:924)
      2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:238)
      3. com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:184)
      4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:269)
      5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:157)
      6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:477)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:351)
      8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:416)
      9. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:401)
      9 frames
    15. org.tdar.web
      HtmlUnitSVGTest.testSVG
      1. org.tdar.web.HtmlUnitSVGTest.testSVG(HtmlUnitSVGTest.java:21)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    17. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      13 frames
    18. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    19. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames