You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Gabriel Gruber (JIRA)" <ji...@apache.org> on 2009/04/14 22:05:15 UTC

[jira] Created: (COCOON-2255) Excel Generation fails when called 2nd time

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.