Not enough data (1) to read requested (2) bytes

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web91

  • Not enough data (1) to read requested (2) bytes
  • Not enough data (1) to read requested (2) bytes
  • Not enough data (1) to read requested (2) bytes
  • Stack trace

    • org.apache.poi.hssf.record.RecordFormatException: Not enough data (1) to read requested (2) bytes at org.apache.poi.hssf.record.RecordInputStream.checkRecordPosition( at org.apache.poi.hssf.record.RecordInputStream.readShort( at org.apache.poi.hssf.record.ExtSSTRecord$InfoSubRecord.<init>( at org.apache.poi.hssf.record.ExtSSTRecord.<init>( at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( at java.lang.reflect.Constructor.newInstance( at org.apache.poi.hssf.record.RecordFactory$ReflectionConstructorRecordCreator.create( at org.apache.poi.hssf.record.RecordFactory.createSingleRecord( at org.apache.poi.hssf.record.RecordFactoryInputStream.readNextRecord( at org.apache.poi.hssf.record.RecordFactoryInputStream.nextRecord( at org.apache.poi.hssf.record.RecordFactory.createRecords( at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>( at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.