You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/05/16 08:41:48 UTC

DO NOT REPLY [Bug 51203] New: org.apache.poi.POIXMLException

https://issues.apache.org/bugzilla/show_bug.cgi?id=51203

             Bug #: 51203
           Summary: org.apache.poi.POIXMLException
           Product: POI
           Version: 3.7
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: mat@sunrise.ch
    Classification: Unclassified


Created attachment 27002
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27002
java class that crashes

http://apache-poi.1045710.n5.nabble.com/org-apache-poi-POIXMLException-td4392927.html#a4392967


As I wrote, file works fine in Windows Vista / RAD  but crashes when it runs
under USS/zOS. Following Exception:

Exception in thread "main" org.apache.poi.POIXMLException:
org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Package.init() :
this exception should never happen, if you read this message please send a mail
to the developers t
eam.
        at
org.apache.poi.xssf.usermodel.XSSFWorkbook.newPackage(XSSFWorkbook.java:294)
        at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:168)
        at com.test.ExcelReport.createReport(ExcelReport.java:23)
        at com.test.ExcelReport.main(ExcelReport.java:18)
Caused by: org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException:
Package.init() : this exception should never happen, if you read this message
please send a mail to the developers team.
        at org.apache.poi.openxml4j.opc.OPCPackage.init(OPCPackage.java:161)
        at org.apache.poi.openxml4j.opc.OPCPackage.<init>(OPCPackage.java:136)
        at org.apache.poi.openxml4j.opc.ZipPackage.<init>(ZipPackage.java:66)
        at org.apache.poi.openxml4j.opc.OPCPackage.create(OPCPackage.java:285)
        at
org.apache.poi.xssf.usermodel.XSSFWorkbook.newPackage(XSSFWorkbook.java:282)
        ... 3 more

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51203] org.apache.poi.POIXMLException

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51203

--- Comment #1 from mat@sunrise.ch 2011-05-19 08:44:51 UTC ---
I've found the solution. Under uss/zOS the SystemProperty file.encoding by
default is IBM-1047. At the Moment i changed to ISO-8859-1 it works.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51203] org.apache.poi.POIXMLException

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51203

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Nick Burch <ni...@alfresco.com> 2011-05-19 09:15:30 UTC ---
Thanks for letting us know, marking this as a configuration issue not a POI
bug.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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