java.lang.IllegalStateException: Unable to retrieve script included by this response, since it was loaded by getResource(). Use getResponse() instead.

jakarta-cactus-user | David Sewell/MxI Technologies | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    HttpUnit Integration

    jakarta-cactus-user | 1 decade ago | David Sewell/MxI Technologies
    java.lang.IllegalStateException: Unable to retrieve script included by this response, since it was loaded by getResource(). Use getResponse() instead.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to retrieve script included by this response, since it was loaded by getResource(). Use getResponse() instead.

      at com.meterware.httpunit.ParsedHTML.getIncludedScript()
    2. HttpUnit
      WebResponse.getTableWithID
      1. com.meterware.httpunit.ParsedHTML.getIncludedScript(ParsedHTML.java:356)
      2. com.meterware.httpunit.ParsedHTML.getScript(ParsedHTML.java:339)
      3. com.meterware.httpunit.ParsedHTML.interpretScriptElement(ParsedHTML.java:319)
      4. com.meterware.httpunit.ParsedHTML.access$700(ParsedHTML.java:37)
      5. com.meterware.httpunit.ParsedHTML$ScriptFactory.recordElement(ParsedHTML.java:489)
      6. com.meterware.httpunit.ParsedHTML$2.processElement(ParsedHTML.java:702)
      7. com.meterware.httpunit.NodeUtils$PreOrderTraversal.perform(NodeUtils.java:195)
      8. com.meterware.httpunit.ParsedHTML.loadElements(ParsedHTML.java:718)
      9. com.meterware.httpunit.ParsedHTML.getTables(ParsedHTML.java:185)
      10. com.meterware.httpunit.ParsedHTML.getFirstMatchingTable(ParsedHTML.java:914)
      11. com.meterware.httpunit.ParsedHTML.getTableWithID(ParsedHTML.java:963)
      12. com.meterware.httpunit.WebResponse.getTableWithID(WebResponse.java:622)
      12 frames