https://issues.apache.org/bugzilla/show_bug.cgi?id=53280
Priority: P2
Bug ID: 53280
Assignee: [email protected]
Summary: While reading xlsx file in WAS 6.1 it throws
org.apache.poi.POIXMLException:java.lang.reflect.Invoc
ationTargetException
Severity: critical
Classification: Unclassified
OS: Windows XP
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 3.8
Component: XSSF
Product: POI
Created attachment 28823
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28823&action=edit
Stack Trace for the Exception
Hi,
While reading a xlsx file using POI3.8 .I am getting an Exception.
org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException
The same code woks fine with Tomcat Server but fails with WAS6.1.I am
suspecting some library conflict.
Below is my class path.
poi-3.8-20120326.jar
xmlbeans-2.3.0.jar
poi-ooxml-3.8-20120326.jar
poi-excelant-3.8-20120326.jar
stax-api-1.0.1.jar
dom4j-1.6.1.jar
poi-ooxml-schemas-3.8-20120326.jar
Below is the source code
InputStream iStream=null;
FormBeanExcel ex= (FormBeanExcel)form;
Workbook workbook = null;
Sheet worksheet = null;
try {
iStream = ex.getTestFile().getInputStream();
workbook = WorkbookFactory.create(iStream); //It breaks at this point
} catch (Exception e) {
System.out.println("Eception");
e.printStackTrace();
}
Please Suggest .
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]