java.lang.reflect.InvocationTargetException

Atlassian JIRA | James Fleming | 8 years ago
  1. 0

    Only occurs when the whole workbook has been encrypted, not where individual sheets are protected. The problem actually lies with the Poi library, but the maintainers have closed the issue as "won't fix" because they won't touch anything involving encryption. They won't even detect the encryption and throw an informative exception, for fear of MS' lawyers, but note that users are welcome to write and maintain their own modules: http://poi.apache.org/faq.html#faq-N10055 Stack trace (snipped for brevity): java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor397.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:257) at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.genericProcessEvents(HSSFEventFactory.java:221) at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.processEvents(HSSFEventFactory.java:139) at com.atlassian.bonnie.search.extractor.MsExcelContentExtractor.extractText(MsExcelContentExtractor.java:90) ... Caused by: java.lang.IllegalArgumentException: Illegal length at org.apache.poi.util.StringUtil.getFromUnicodeHigh(StringUtil.java:114) at org.apache.poi.hssf.record.FontRecord.fillFields(FontRecord.java:172) at org.apache.poi.hssf.record.Record.fillFields(Record.java:127) at org.apache.poi.hssf.record.Record.<init>(Record.java:92) at org.apache.poi.hssf.record.FontRecord.<init>(FontRecord.java:125)

    Atlassian JIRA | 8 years ago | James Fleming
    java.lang.reflect.InvocationTargetException
  2. 0

    Only occurs when the whole workbook has been encrypted, not where individual sheets are protected. The problem actually lies with the Poi library, but the maintainers have closed the issue as "won't fix" because they won't touch anything involving encryption. They won't even detect the encryption and throw an informative exception, for fear of MS' lawyers, but note that users are welcome to write and maintain their own modules: http://poi.apache.org/faq.html#faq-N10055 Stack trace (snipped for brevity): java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor397.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:257) at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.genericProcessEvents(HSSFEventFactory.java:221) at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.processEvents(HSSFEventFactory.java:139) at com.atlassian.bonnie.search.extractor.MsExcelContentExtractor.extractText(MsExcelContentExtractor.java:90) ... Caused by: java.lang.IllegalArgumentException: Illegal length at org.apache.poi.util.StringUtil.getFromUnicodeHigh(StringUtil.java:114) at org.apache.poi.hssf.record.FontRecord.fillFields(FontRecord.java:172) at org.apache.poi.hssf.record.Record.fillFields(Record.java:127) at org.apache.poi.hssf.record.Record.<init>(Record.java:92) at org.apache.poi.hssf.record.FontRecord.<init>(FontRecord.java:125)

    Atlassian JIRA | 8 years ago | James Fleming
    java.lang.reflect.InvocationTargetException
  3. 0

    Linux « Developer's Closet

    developerscloset.com | 1 year ago
    java.lang.IllegalStateException: Could not instantiate a region instance.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot deploy application

    Google Groups | 1 decade ago | mikeot...@hotmail.com
    com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot create a SOAP connector to connect to host phx-dev-app-01.organic.com at port 8879.
  6. 0

    Shark 0.9.1安装遇到的问题及解决办法 – 过往记忆

    iteblog.com | 1 year ago
    org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

  1. Ranjana Dangol 1 times, last 5 months ago
  2. MoYapro 3 times, last 5 months ago
  3. ben.slama.jihed 6 times, last 6 months ago
  4. rp 1 times, last 8 months ago
38 unregistered visitors
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.lang.reflect.InvocationTargetException

    No message provided

    at sun.reflect.GeneratedConstructorAccessor397.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor397.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    3 frames
  3. POI
    HSSFEventFactory.processEvents
    1. org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:257)
    2. org.apache.poi.hssf.eventusermodel.HSSFEventFactory.genericProcessEvents(HSSFEventFactory.java:221)
    3. org.apache.poi.hssf.eventusermodel.HSSFEventFactory.processEvents(HSSFEventFactory.java:139)
    3 frames
  4. com.atlassian.bonnie
    MsExcelContentExtractor.extractText
    1. com.atlassian.bonnie.search.extractor.MsExcelContentExtractor.extractText(MsExcelContentExtractor.java:90)
    1 frame