My Oracle Support Banner

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 9.3.6.0 and later
Information in this document applies to any platform.

Symptoms

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

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.'>



Steps

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

  1. Generate SXSSFWorkbook by using java code below:



  2. Login to Web Client
  3. Goto Tools > Import
  4. Select the SXSSFWorkbook created in step 1 (i.e. Agile_Import_Sample1.xlsx) as file to import
  5. Run Import
  6. Gets error



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!


In this Document
Symptoms
Cause
Solution
References


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