java.io.UnsupportedEncodingException: Codepage number may not be 0

GitHub | SKumarMN | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    What to do about "WARN Ignoring unexpected exception"

    Stack Overflow | 2 years ago | DSlomer64
    java.io.UnsupportedEncodingException: Codepage number may not be 0
  2. 0

    java.io.UnsupportedEncodingException: Codepage number may not be 0

    Apache Bugzilla | 5 years ago | matt
    java.io.UnsupportedEncodingException: Codepage number may not be 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.UnsupportedEncodingException

      Codepage number may not be 0

      at org.apache.poi.util.CodePageUtil.codepageToEncoding()
    2. POI
      PropertySet.<init>
      1. org.apache.poi.util.CodePageUtil.codepageToEncoding(CodePageUtil.java:277)
      2. org.apache.poi.util.CodePageUtil.codepageToEncoding(CodePageUtil.java:255)
      3. org.apache.poi.util.CodePageUtil.getStringFromCodePage(CodePageUtil.java:233)
      4. org.apache.poi.util.CodePageUtil.getStringFromCodePage(CodePageUtil.java:221)
      5. org.apache.poi.hpsf.CodePageString.getJavaValue(CodePageString.java:70)
      6. org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:210)
      7. org.apache.poi.hpsf.Property.<init>(Property.java:163)
      8. org.apache.poi.hpsf.Section.<init>(Section.java:277)
      9. org.apache.poi.hpsf.PropertySet.init(PropertySet.java:451)
      10. org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:246)
      10 frames
    3. Apache Tika parsers
      OfficeParser.parse
      1. org.apache.tika.parser.microsoft.SummaryExtractor.parseSummaryEntryIfExists(SummaryExtractor.java:83)
      2. org.apache.tika.parser.microsoft.SummaryExtractor.parseSummaries(SummaryExtractor.java:73)
      3. org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:126)
      4. org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)
      4 frames
    4. Apache Tika core
      Tika.parseToString
      1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
      2. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
      3. org.apache.tika.Tika.parseToString(Tika.java:537)
      3 frames
    5. org.elasticsearch.mapper
      TikaImpl$1.run
      1. org.elasticsearch.mapper.attachments.TikaImpl$1.run(TikaImpl.java:94)
      2. org.elasticsearch.mapper.attachments.TikaImpl$1.run(TikaImpl.java:91)
      2 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. org.elasticsearch.mapper
      AttachmentMapper.parse
      1. org.elasticsearch.mapper.attachments.TikaImpl.parse(TikaImpl.java:91)
      2. org.elasticsearch.mapper.attachments.AttachmentMapper.parse(AttachmentMapper.java:481)
      2 frames
    8. ElasticSearch
      AbstractRunnable.run
      1. org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:309)
      2. org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:436)
      3. org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:262)
      4. org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:122)
      5. org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:309)
      6. org.elasticsearch.index.shard.IndexShard.prepareIndex(IndexShard.java:580)
      7. org.elasticsearch.index.shard.IndexShard.prepareIndexOnPrimary(IndexShard.java:559)
      8. org.elasticsearch.action.index.TransportIndexAction.prepareIndexOperationOnPrimary(TransportIndexAction.java:212)
      9. org.elasticsearch.action.index.TransportIndexAction.executeIndexRequestOnPrimary(TransportIndexAction.java:224)
      10. org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:326)
      11. org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:119)
      12. org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:68)
      13. org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.doRun(TransportReplicationAction.java:639)
      14. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
      15. org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:279)
      16. org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:271)
      17. org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:75)
      18. org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:376)
      19. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
      19 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames