poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53280] New: While reading xlsx file in WAS 6.1 it throws org.apache.poi.POIXMLException:java.lang.reflect.InvocationTargetException
Date Wed, 23 May 2012 14:09:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53280

          Priority: P2
            Bug ID: 53280
          Assignee: dev@poi.apache.org
           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: ankur8819@gmail.com
          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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message