https://bz.apache.org/bugzilla/show_bug.cgi?id=65418

            Bug ID: 65418
           Summary: CharToByteConverterClass not found!
           Product: POI
           Version: 5.0.0-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: seantyh...@gmail.com
  Target Milestone: ---

I imported the latest Apache POI jar files as dependency in my code. I am using
this to write xlsx files. This throws no errors, however, I am now importing a
colleague's module as a dependency in IntelliJ which includes a dependency
dom4j-1.5.jar. Upon running my code after the new import, I am getting the
following error: https://stackoverflow.com/q/68190406/16034206 

The error has 2 stages in the linked stackoverflow post:
1: unable to find CharToByteConverterClass
2: not supported setting property http://xml.org/sax/properties/lexical-handler

it is also noted that I am using the EncryptionInfo and Encryptor in the method
which calls:

        POIFSFileSystem fs = new POIFSFileSystem();
        EncryptionInfo info = new EncryptionInfo(EncryptionMode.standard);
        Encryptor enc = info.getEncryptor();
        enc.confirmPassword(password);

        XSSFWorkbook workbook = new XSSFWorkbook();
        XSSFSheet sheet = workbook.createSheet(sid);
        int rowCnt = 0;

        //write files here

        OutputStream encos = enc.getDataStream(fs);
        workbook.write(encos);
        workbook.close();
        encos.close(); //

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to