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
  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.
  2. 0
    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .
  3. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The cursor might not be initalized.
  6. 0
    You should define the TestContext class in your classpath

    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.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