My Oracle Support Banner

WebADI: Upload Error org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13] (Doc ID 2820858.1)

Last updated on JULY 24, 2024

Applies to:

Oracle Web Applications Desktop Integrator - Version 12.2 and later
Oracle General Ledger - Version 12.2 and later
Information in this document applies to any platform.
WebADI: Web Applications Desktop Integrator

Symptoms

Attempting to upload data from a WebADI template results in the following error:

ERROR
org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]
The specified directory C:\Users\XXXX1234\AppData\Local\Temp\bneradXXXX\bne\docProps is empty, so Compressed (zipped) Folders cannot add it to the archive.

OR, in BNE log,

BneUploader.processUpload(), BneException during xml gen: oracle.apps.bne.exception.BneIOException:

org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]

at oracle.apps.bne.integrator.document.ooxml.upload.BneUploadXMLGenerator.<init> BneUploadXMLGenerator.java:168)

at oracle.apps.bne.integrator.upload.BneUploader.processUpload(BneUploader.java:242)

at oracle.apps.bne.integrator.upload.BneAbstractUploader.processUpload(BneAbstractUploader.java:114)

at oracle.apps.bne.integrator.upload.async.BneAsyncUploadThread.run(BneAsyncUploadThread.java:152)



STEPS TO REPRODUCE

The issue can be reproduced at will with the following steps:

1. WebAdi Responsibility > Create Document > Create the desired WebADI template.

2. Enter data and select Upload

3. When submitted, pop-up message appears with the error. Data is not uploaded.

4. BNE log shows error too, as indicated above

Changes

Upgrade to 12.2, usually (but not always) related to 12.2.4 and higher.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.