cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Gruber (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-2255) Excel Generation fails when called 2nd time
Date Tue, 14 Apr 2009 20:05:15 GMT
Excel Generation fails when called 2nd time
-------------------------------------------

                 Key: COCOON-2255
                 URL: https://issues.apache.org/jira/browse/COCOON-2255
             Project: Cocoon
          Issue Type: Bug
          Components: Blocks: POI
    Affects Versions: 2.2
            Reporter: Gabriel Gruber


if an excel generation is called a 2nd time, the following exception is thrown:

Caused by: java.io.IOException: Duplicate name "Workbook"
	at org.apache.poi.poifs.property.DirectoryProperty.addChild(DirectoryProperty.java:293)
	at org.apache.poi.poifs.filesystem.DirectoryNode.createDocument(DirectoryNode.java:125)
	at org.apache.poi.poifs.filesystem.DirectoryNode.createDocument(DirectoryNode.java:269)
	at org.apache.poi.poifs.filesystem.POIFSFileSystem.createDocument(POIFSFileSystem.java:161)
	at org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Workbook.write(Workbook.java:136)
	at org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.EPWorkbook.endProcessing(EPWorkbook.java:56)
	at org.apache.cocoon.serialization.ElementProcessorSerializer.endElement(ElementProcessorSerializer.java:237)

some infos from the mailinglist to reproduce the problem:
http://marc.info/?l=xml-cocoon-users&m=117265684518865&w=2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message