java.nio.charset.UnsupportedCharsetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When an extractor/replaycharsequence cannot interpret a charset, the problem should be locally noted and logged, so that other processors will still be run normally, rather than generating a runtime exception relayed all the way to the catchall handler. Possibilities to note the problem: use a shorthand CrawlURI 'annotation'; use a 'local-errors' entry as with fetch-module connect/protocol problems. An example of the exception from a test crawl: 20040529201501109 -5 13252 #43 http://www.sakigake.co.jp/servlet/SKNEWS.News.kiji?InputKIJICODE=20040505d 1875 text/html 3t LLLL http://dict.cre.jp/ java.nio.charset.UnsupportedCharsetException: Cp943C at java.nio.charset.Charset.forName(Charset.java:430) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode InMemory(ReplayCharSequenceFactory.java:809) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode (ReplayCharSequenceFactory.java:745) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:708) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSe quenceFactory.java:134) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputS tream.java:388) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStr eam.java:278) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:301) at org.archive.crawler.extractor.ExtractorHTML.innerProcess(ExtractorHTML.java :337) at org.archive.crawler.framework.Processor.process(Processor.java:106) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:208) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:138)
    via by Gordon Mohr,
  • When an extractor/replaycharsequence cannot interpret a charset, the problem should be locally noted and logged, so that other processors will still be run normally, rather than generating a runtime exception relayed all the way to the catchall handler. Possibilities to note the problem: use a shorthand CrawlURI 'annotation'; use a 'local-errors' entry as with fetch-module connect/protocol problems. An example of the exception from a test crawl: 20040529201501109 -5 13252 #43 http://www.sakigake.co.jp/servlet/SKNEWS.News.kiji?InputKIJICODE=20040505d 1875 text/html 3t LLLL http://dict.cre.jp/ java.nio.charset.UnsupportedCharsetException: Cp943C at java.nio.charset.Charset.forName(Charset.java:430) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode InMemory(ReplayCharSequenceFactory.java:809) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode (ReplayCharSequenceFactory.java:745) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.(Repla yCharSequenceFactory.java:708) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSe quenceFactory.java:134) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputS tream.java:388) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStr eam.java:278) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:301) at org.archive.crawler.extractor.ExtractorHTML.innerProcess(ExtractorHTML.java :337) at org.archive.crawler.framework.Processor.process(Processor.java:106) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:208) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:138)
    via by Gordon Mohr,
    • java.nio.charset.UnsupportedCharsetException: Cp943C at java.nio.charset.Charset.forName(Charset.java:430) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decodeInMemory(ReplayCharSequenceFactory.java:809) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.decode(ReplayCharSequenceFactory.java:745) at org.archive.io.ReplayCharSequenceFactory$MultiByteReplayCharSequence.<init>(ReplayCharSequenceFactory.java:708) at org.archive.io.ReplayCharSequenceFactory.getReplayCharSequence(ReplayCharSequenceFactory.java:134) at org.archive.io.RecordingOutputStream.getReplayCharSequence(RecordingOutputStream.java:388) at org.archive.io.RecordingInputStream.getReplayCharSequence(RecordingInputStream.java:278) at org.archive.util.HttpRecorder.getReplayCharSequence(HttpRecorder.java:301) at org.archive.crawler.extractor.ExtractorHTML.innerProcess(ExtractorHTML.java:337) at org.archive.crawler.framework.Processor.process(Processor.java:106) at org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:208) at org.archive.crawler.framework.ToeThread.run(ToeThread.java:138)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    MoYaproMoYapro
    1 times, last one,