java.nio.BufferOverflowException

JIRA | Michael Stack | 10 years ago
  1. 0

    Below is a transitory looking exception seen on crawling004 (Transitory because my attempts at reproduction using the named site fail -- see heritrix log excerpt below). http://crawling04.us.archive.org:8080 Time: Aug. 14, 2006 03:50:11 GMT Level: SEVERE Message: Serious error occured trying to process 'CrawlURI http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html LLL http://foo.maths.uq.edu.au/manual/ja/ in ExtractorHTML' [ToeThread #170: http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html CrawlURI http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html LLL http://foo.maths.uq.edu.au/manual/ja/ 0 attempts in processor: ExtractorHTML ACTIVE for 11s466ms step: ABOUT_TO_BEGIN_PROCESSOR for 70ms java.lang.Thread.dumpThreads(Native Method) java.lang.Thread.getStackTrace(Thread.java:1383) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:515) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:593) org.archive.util.DevUtils.extraInfo(DevUtils.java:65) org.archive.crawler.framework.ToeThread.seriousError(ToeThread.java:232) org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:327) org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) ] timestamp discovered queued downloaded doc/s(avg) KB/s(avg) dl-failures busy-thread mem-use-KB heap-size-KB congestion max-depth avg-depth 2006-08-14T03:50:11Z 3953464 2182797 1623580 12.13(64.09) 1214(2248) 5 224 1987349 2019776 1550.45 67265 4 (in processor ExtractorHTML) Exception: java.nio.charset.CoderMalfunctionError: java.nio.BufferOverflowException Cause: java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:419) at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeBufferLoop(ISO2022_JP.java:404) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeLoop(ISO2022_JP.java:455) at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode ToFile(ReplayCharSequenceFactory.java:877) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode (ReplayCharSequenceFactory.java:745) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:681) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:624) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSe quenceFactory.java:127) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputS tream.java:454) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStr eam.java:352) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:299) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:498) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:103) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:304) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) Stacktrace: java.nio.charset.CoderMalfunctionError: java.nio.BufferOverflowException at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:548) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode ToFile(ReplayCharSequenceFactory.java:877) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode (ReplayCharSequenceFactory.java:745) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:681) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:624) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSe quenceFactory.java:127) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputS tream.java:454) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStr eam.java:352) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:299) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:498) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:103) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:304) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) Caused by: java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:419) at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeBufferLoop(ISO2022_JP.java:404) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeLoop(ISO2022_JP.java:455) at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544) ... 13 more Here's my attempt at recrawls: 2006-08-14T20:48:39.792Z 200 94859 http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html L http://foo.maths.uq.edu.au/manual/ja/ text/html #001 20060814204837576+2071 HS67KRZ5JFIUTKD7K23ANELSYAWKSTKW - - 2006-08-14T20:48:50.663Z 200 94859 http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html.ja.jis LR http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html text/html #001 20060814204848081+2404 HS67KRZ5JFIUTKD7K23ANELSYAWKSTKW - - Searching on the net, bug parade shows above in 1.4.2 a beta 1.5.0 using same encoding as ours above: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5030929. Comments at end of issue suggest fixed in 5.0 and 1.4.2_05 (Our issue above shows a few times in bug parade -- all closed as 'fixed'). Later, looks like there is a regression but in mustang only: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6233559. Looks like JVM issue but can't reproduce. Leaving open in case we see this again.

    JIRA | 10 years ago | Michael Stack
    java.nio.BufferOverflowException
  2. 0

    A broad test crawl was found auto-paused after a serious runtime error with the following Alert: Time: Dec. 8, 2005 08:38:35 GMT Level: SEVERE Message: Serious error occured trying to process 'CrawlURI http://htmllint.itc.keio.ac.jp/htmllint/tagslist.cgi?HTMLVersion=XHTML-MP LLLLLLL http://mobile.kaywa.com/200406 in ExtractorHTML' [ToeThread #57: http://htmllint.itc.keio.ac.jp/htmllint/tagslist.cgi?HTMLVersion=XHTML-MP CrawlURI http://htmllint.itc.keio.ac.jp/htmllint/tagslist.cgi?HTMLVersion=XHTML-MP LLLLLLL http://mobile.kaywa.com/200406 0 attempts in processor: ExtractorHTML ACTIVE for 1s441ms step: ABOUT_TO_BEGIN_PROCESSOR for 462ms java.lang.Thread.dumpThreads(Native Method) java.lang.Thread.getStackTrace(Thread.java:1443) de.kohlschuetter.j5compat.Stacktraces5.getStackTrace(Stacktraces5.java:29) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:517) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:596) org.archive.util.DevUtils.extraInfo(DevUtils.java:65) org.archive.crawler.framework.ToeThread.seriousError(ToeThread.java:234) org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:329) org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) ] timestamp discovered queued downloaded doc/s(avg) KB/s(avg) dl-failures busy-thread mem-use-KB heap-size-KB congestion max-depth avg-depth 2005-12-08T08:38:34Z 18357856 16401584 1694539 20.2(15.61) 108(252) 11 150 2526260 3203968 4263.36 1006346 15 (in processor ExtractorHTML) Exception: java.nio.charset.CoderMalfunctionError: java.nio.BufferOverflowException Cause: java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:487) at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeBufferLoop(ISO2022_JP.java:401) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeLoop(ISO2022_JP.java:452) at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode ToFile(ReplayCharSequenceFactory.java:867) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode (ReplayCharSequenceFactory.java:744) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:681) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:624) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSe quenceFactory.java:127) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputS tream.java:425) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStr eam.java:318) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:299) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:462) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:103) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:306) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) Stacktrace: java.nio.charset.CoderMalfunctionError: java.nio.BufferOverflowException at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:548) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode ToFile(ReplayCharSequenceFactory.java:867) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode (ReplayCharSequenceFactory.java:744) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:681) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:624) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSe quenceFactory.java:127) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputS tream.java:425) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStr eam.java:318) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:299) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:462) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:103) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:306) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) Caused by: java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:487) at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeBufferLoop(ISO2022_JP.java:401) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeLoop(ISO2022_JP.java:452) at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544) ... 13 more

    JIRA | 10 years ago | Gordon Mohr
    java.nio.BufferOverflowException
  3. 0

    Liferay - liferay-jp Wiki - liferay-jp - OSDN

    osdn.jp | 1 year ago
    java.nio.BufferOverflowException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Below is a transitory looking exception seen on crawling004 (Transitory because my attempts at reproduction using the named site fail -- see heritrix log excerpt below). http://crawling04.us.archive.org:8080 Time: Aug. 14, 2006 03:50:11 GMT Level: SEVERE Message: Serious error occured trying to process 'CrawlURI http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html LLL http://foo.maths.uq.edu.au/manual/ja/ in ExtractorHTML' [ToeThread #170: http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html CrawlURI http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html LLL http://foo.maths.uq.edu.au/manual/ja/ 0 attempts in processor: ExtractorHTML ACTIVE for 11s466ms step: ABOUT_TO_BEGIN_PROCESSOR for 70ms java.lang.Thread.dumpThreads(Native Method) java.lang.Thread.getStackTrace(Thread.java:1383) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:515) org.archive.crawler.framework.ToeThread.reportTo(ToeThread.java:593) org.archive.util.DevUtils.extraInfo(DevUtils.java:65) org.archive.crawler.framework.ToeThread.seriousError(ToeThread.java:232) org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:327) org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) ] timestamp discovered queued downloaded doc/s(avg) KB/s(avg) dl-failures busy-thread mem-use-KB heap-size-KB congestion max-depth avg-depth 2006-08-14T03:50:11Z 3953464 2182797 1623580 12.13(64.09) 1214(2248) 5 224 1987349 2019776 1550.45 67265 4 (in processor ExtractorHTML) Exception: java.nio.charset.CoderMalfunctionError: java.nio.BufferOverflowException Cause: java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:419) at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeBufferLoop(ISO2022_JP.java:404) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeLoop(ISO2022_JP.java:455) at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode ToFile(ReplayCharSequenceFactory.java:877) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode (ReplayCharSequenceFactory.java:745) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:681) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:624) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSe quenceFactory.java:127) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputS tream.java:454) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStr eam.java:352) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:299) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:498) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:103) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:304) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) Stacktrace: java.nio.charset.CoderMalfunctionError: java.nio.BufferOverflowException at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:548) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode ToFile(ReplayCharSequenceFactory.java:877) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode (ReplayCharSequenceFactory.java:745) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:681) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:624) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSe quenceFactory.java:127) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputS tream.java:454) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStr eam.java:352) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:299) at org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:498) at org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67) at org.archive.crawler.framework.Processor.process(Processor.java:103) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:304) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:153) Caused by: java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:419) at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeBufferLoop(ISO2022_JP.java:404) at sun.nio.cs.ext.ISO2022_JP$Decoder.decodeLoop(ISO2022_JP.java:455) at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544) ... 13 more Here's my attempt at recrawls: 2006-08-14T20:48:39.792Z 200 94859 http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html L http://foo.maths.uq.edu.au/manual/ja/ text/html #001 20060814204837576+2071 HS67KRZ5JFIUTKD7K23ANELSYAWKSTKW - - 2006-08-14T20:48:50.663Z 200 94859 http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html.ja.jis LR http://foo.maths.uq.edu.au/manual/ja/mod/quickreference.html text/html #001 20060814204848081+2404 HS67KRZ5JFIUTKD7K23ANELSYAWKSTKW - - Searching on the net, bug parade shows above in 1.4.2 a beta 1.5.0 using same encoding as ours above: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5030929. Comments at end of issue suggest fixed in 5.0 and 1.4.2_05 (Our issue above shows a few times in bug parade -- all closed as 'fixed'). Later, looks like there is a regression but in mustang only: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6233559. Looks like JVM issue but can't reproduce. Leaving open in case we see this again.

    JIRA | 10 years ago | Michael Stack
    java.nio.BufferOverflowException
  6. 0

    BufferOverflowException when generating Javadoc?

    Stack Overflow | 8 years ago | Chris B
    java.nio.BufferOverflowException

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

      No message provided

      at java.nio.Buffer.nextPutIndex()
    2. Java RT
      HeapCharBuffer.put
      1. java.nio.Buffer.nextPutIndex(Buffer.java:419)
      2. java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145)
      2 frames
    3. sun.nio.cs
      ISO2022_JP$Decoder.decodeLoop
      1. sun.nio.cs.ext.ISO2022_JP$Decoder.decodeBufferLoop(ISO2022_JP.java:404)
      2. sun.nio.cs.ext.ISO2022_JP$Decoder.decodeLoop(ISO2022_JP.java:455)
      2 frames
    4. Java RT
      CharsetDecoder.decode
      1. java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544)
      1 frame
    5. webarchive-commons
      HttpRecorder.getReplayCharSequence
      1. org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decodeToFile(ReplayCharSequenceFactory.java:877)
      2. org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode(ReplayCharSequenceFactory.java:745)
      3. org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.<init>(ReplayCharSequenceFactory.java:681)
      4. org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.<init>(ReplayCharSequenceFactory.java:624)
      5. org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSequenceFactory.java:127)
      6. org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputStream.java:454)
      7. org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStream.java:352)
      8. org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:299)
      8 frames
    6. org.archive.crawler
      ToeThread.run
      1. org.archive.crawler.extractor.ExtractorHTML.extract(ExtractorHTML.java:498)
      2. org.archive.crawler.extractor.Extractor.innerProcess(Extractor.java:67)
      3. org.archive.crawler.framework.Processor.process(Processor.java:103)
      4. org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:304)
      5. org.archive.crawler.framework.ToeThread.run(ToeThread.java:153)
      5 frames