org.drools.template.parser.DecisionTableParseException: An error occurred opening the workbook. It is possible that the encoding of the document did not match the encoding of the reader.

Stack Overflow | Ajeet Singh | 4 months ago
  1. 0

    Issue with Excel DecisionTable to load from newClasspathResource

    Stack Overflow | 4 months ago | Ajeet Singh
    org.drools.template.parser.DecisionTableParseException: An error occurred opening the workbook. It is possible that the encoding of the document did not match the encoding of the reader.
  2. 0

    Upgrade from 4.x to 6.5.0.Final - Can't buildAll from .XLS file

    Google Groups | 4 weeks ago | Unknown author
    org.drools.template.parser.DecisionTableParseException: An error occurred opening the workbook. It is possible that the encoding of the document did not match the encoding of the reader.
  3. 0

    org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13] - For a valid DOCX file

    Stack Overflow | 2 years ago
    org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InvalidFormatException while opening XLSX file

    Apache Bugzilla | 8 months ago | istvan.foldhazi
    java.lang.IllegalArgumentException: Date for created could not be parsed: 2016-03-21T12:33:11+01:00
  6. 0

    REST Upload Excel file: POI library rejecting the file with Multipart Boundary

    Stack Overflow | 7 months ago | user3187479
    org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]

    1 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. org.apache.poi.openxml4j.exceptions.InvalidFormatException

      Your InputStream was neither an OLE2 stream, nor an OOXML stream

      at org.apache.poi.ss.usermodel.WorkbookFactory.create()
    2. POI
      WorkbookFactory.create
      1. org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:211)
      2. org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:168)
      2 frames
    3. Drools :: Decision Tables
      DecisionTableProviderImpl.loadFromResource
      1. org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:83)
      2. org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:85)
      3. org.drools.decisiontable.SpreadsheetCompiler.parseResource(SpreadsheetCompiler.java:126)
      4. org.drools.decisiontable.SpreadsheetCompiler.getRuleSheetListener(SpreadsheetCompiler.java:185)
      5. org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:172)
      6. org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:167)
      7. org.drools.decisiontable.DecisionTableProviderImpl.compileResource(DecisionTableProviderImpl.java:81)
      8. org.drools.decisiontable.DecisionTableProviderImpl.loadFromResource(DecisionTableProviderImpl.java:44)
      8 frames
    4. Drools :: Compiler
      KnowledgeBuilderImpl.add
      1. org.drools.compiler.compiler.DecisionTableFactory.loadFromResource(DecisionTableFactory.java:37)
      2. org.drools.compiler.builder.impl.KnowledgeBuilderImpl.decisionTableToPackageDescr(KnowledgeBuilderImpl.java:404)
      3. org.drools.compiler.builder.impl.KnowledgeBuilderImpl.addPackageFromDecisionTable(KnowledgeBuilderImpl.java:374)
      4. org.drools.compiler.builder.impl.KnowledgeBuilderImpl.addKnowledgeResource(KnowledgeBuilderImpl.java:766)
      5. org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:2249)
      5 frames