mark/reset not supported

Oracle Community | 843797 | 1 decade ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    parsing inputstream problem for second time

    Oracle Community | 1 decade ago | 843834 mark/reset not supported
  2. 0

    Exception when  XML InputStream is parsed with DOMParser

    Oracle Community | 1 decade ago | 843834 mark/reset not supported
  3. 0

    Repeated object sending problem

    Oracle Community | 1 decade ago | 843797 mark/reset not supported
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Mifos-developer] Error during creating borrower

    Google Groups | 5 years ago | Gela
    java.lang.RuntimeException: mark/reset not supported
  6. 0

    BNF reports problems crawling and related sites. Turns out is returning 'Transfer-encoding: chunked' (an HTTP/1.1 feature) even though Heritrix's request is HTTP/1.0. This server behavior is counter to the HTTP/1.1 specification; see <>, which says: "A server MUST NOT send transfer-codings to an HTTP/1.0 client.") When the HTTPClient library sees that encoding, it attempts to use mark/reset functionality on the connection's inputstream. That would be fine with the usual buffered inputstream, but our inserted recording functionality doesn't offer mark/reset -- and this is the first time that limitation has bit us. The exception stack is: 2007-03-23T01:30:50.048Z -2 1 - - text/html #002 - - - le:IOException@HTTP mark/reset not supported at at org.apache.commons.httpclient.HttpConnection.isResponseAvailable( at org.apache.commons.httpclient.HttpMethodBase.readResponseBody( at org.apache.commons.httpclient.HttpMethodBase.readResponseBody( at org.archive.httpclient.HttpRecorderGetMethod.readResponseBody( at org.archive.crawler.fetcher.FetchHTTP$2.readResponseBody( at org.apache.commons.httpclient.HttpMethodBase.readResponse( at org.apache.commons.httpclient.HttpMethodBase.execute( at org.archive.httpclient.HttpRecorderGetMethod.execute( at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry( at org.apache.commons.httpclient.HttpMethodDirector.executeMethod( at org.apache.commons.httpclient.HttpClient.executeMethod( at org.apache.commons.httpclient.HttpClient.executeMethod( at org.archive.crawler.fetcher.FetchHTTP.innerProcess( at org.archive.crawler.framework.Processor.process( at org.archive.crawler.framework.ToeThread.processCrawlUri( at Even though this site violates HTTP/1.1, we want to be able to get it and others like it, and the HTTPClient library can handle chunked encoding if we help it with a suitable stream. It appears enough to rearrange the order of stream-wrapping in, putting our recording-streams inside rather than outside the buffered streams. Then the expected mark/reset functionality is available, there is no IOException, and collection succeeds.

    JIRA | 1 decade ago | Gordon Mohr mark/reset not supported

    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


      mark/reset not supported

    2. Java RT
      1 frame