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

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 jakarta-cactus-user by David Sewell/MxI Technologies, 1 year ago
Unable to retrieve script included by this response, since it was loaded by getResource(). Use getResponse() instead.
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(ParsedHTML.java:356)
at com.meterware.httpunit.ParsedHTML.getScript(ParsedHTML.java:339)
at com.meterware.httpunit.ParsedHTML.interpretScriptElement(ParsedHTML.java:319)
at com.meterware.httpunit.ParsedHTML.access$700(ParsedHTML.java:37)
at com.meterware.httpunit.ParsedHTML$ScriptFactory.recordElement(ParsedHTML.java:489)
at com.meterware.httpunit.ParsedHTML$2.processElement(ParsedHTML.java:702)
at com.meterware.httpunit.NodeUtils$PreOrderTraversal.perform(NodeUtils.java:195)
at com.meterware.httpunit.ParsedHTML.loadElements(ParsedHTML.java:718)
at com.meterware.httpunit.ParsedHTML.getTables(ParsedHTML.java:185)
at com.meterware.httpunit.ParsedHTML.getFirstMatchingTable(ParsedHTML.java:914)
at com.meterware.httpunit.ParsedHTML.getTableWithID(ParsedHTML.java:963)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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