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 sourceforge.net by Unknown author, 2 years ago
Can not call getBody() for big content WebResponseData, use getInputStream()
via htmlunit by rschwab
, 1 year ago
Can not call getBody() for big content WebResponseData, use getInputStream()
java.lang.IllegalStateException: Can not call getBody() for big content WebResponseData, use getInputStream()	at com.gargoylesoftware.htmlunit.WebResponseData.getBody(WebResponseData.java:182)	at com.gargoylesoftware.htmlunit.WebResponse.getContentAsString(WebResponse.java:200)	at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(HtmlPage.java:1045)	at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:959)	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:361)	at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:223)	at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:243)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:678)	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:636)	at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1136)	at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1038)	at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)	at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)	at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:2999)	at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1991)	at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:895)	at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)	at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:864)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:311)	at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:265)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:138)	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:105)	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:431)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311)	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371)