Fails to Import Apache POI SXSSFWorkbook With Invalid Format Error
(Doc ID 2687337.1)
Last updated on JULY 03, 2020
Applies to:Oracle Agile PLM Framework - Version 126.96.36.199 and later
Information in this document applies to any platform.
When importing data from Excel created by Apache POI SXSSFWorkbook, get the below invalid format error. Issue happens with both standard import through Web Client and import through Agile SDK:
Error: <Could not read the file. Possible problems are: 'The selected file is not a valid Delimited Text File. A valid DTF must contain exactly one header row and at least one data row.' 'The file configuration option "Location of header row" is greater than the number of rows in the file ' 'The selected PE XML file doesn't have a version identifier, or its version is not supported.'>
The issue can be reproduced at will with the following steps:
- Generate SXSSFWorkbook by using java code below:
- Login to Web Client
- Goto Tools > Import
- Select the SXSSFWorkbook created in step 1 (i.e. Agile_Import_Sample1.xlsx) as file to import
- Run Import
- Gets error
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document