org.apache.poi.hssf.record.RecordFormatException: Unable to construct record instance

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via opensearchserve by julien122
, 1 year ago
Unable to construct record instance
via opensearchserve by julien122
, 1 year ago
Unable to construct record instance
via Apache Bugzilla by apptaro, 1 year ago
via Apache Bugzilla by MatsWolpers, 1 year ago
Unable to construct record instance
via Apache Bugzilla by lucene, 1 year ago
Unable to construct record instance
org.apache.poi.hssf.record.RecordFormatException: Unable to construct record instance
at org.apache.poi.hssf.record.FilePassRecord.(FilePassRecord.java:52)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at org.apache.poi.hssf.record.RecordFactory$ReflectionConstructorRecordCreator.create(RecordFactory.java:57)
at org.apache.poi.hssf.record.RecordFactory.createSingleRecord(RecordFactory.java:301)
at org.apache.poi.hssf.record.RecordFactoryInputStream$StreamEncryptionInfo.(RecordFactoryInputStream.java:65)
at org.apache.poi.hssf.record.RecordFactoryInputStream.(RecordFactoryInputStream.java:182)
at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:440)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:285)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:248)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:192)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:327)
at com.jaeksoft.searchlib.parser.XlsParser.parseContent(Unknown Source)
at com.jaeksoft.searchlib.parser.Parser.doParserContent(Unknown Source)
at com.jaeksoft.searchlib.parser.Parser.parseFileInstance(Unknown Source)
at com.jaeksoft.searchlib.parser.ParserSelector.parseFileInstance(Unknown Source)
at com.jaeksoft.searchlib.crawler.file.spider.CrawlFile.download(Unknown Source)
at com.jaeksoft.searchlib.crawler.file.process.CrawlFileThread.crawl(Unknown Source)
at com.jaeksoft.searchlib.crawler.file.process.CrawlFileThread.runner(Unknown Source)
at com.jaeksoft.searchlib.process.ThreadAbstract.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.