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 2010/06/09 16:58:15 UTC

DO NOT REPLY [Bug 49415] New: workbook.cloneSheet() throws exception (BeginRecord does not implement clone())

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

           Summary: workbook.cloneSheet() throws exception (BeginRecord
                    does not implement clone())
           Product: POI
           Version: 3.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: torsten.haase@ids-scheer.com


Created an attachment (id=25567)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25567)
xml file containing a chart. produces the described error.

cloneSheet() throws an exception when calling it on a worksheet containing a
chart (see example)
Reason is, that many chart records do not overwrite clone so the base class
(Record) throws this exception.

-- 
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 49415] workbook.cloneSheet() throws exception (BeginRecord does not implement clone())

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

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

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

--- Comment #2 from Nick Burch <ni...@alfresco.com> 2010-06-09 14:12:43 EDT ---
This was fixed in svn a little while ago - please test with a recent nightly /
svn checkout, and re-open the bug if you discover another part of your problem
remains

*** This bug has been marked as a duplicate of bug 49096 ***

-- 
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 49415] workbook.cloneSheet() throws exception (BeginRecord does not implement clone())

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

--- Comment #1 from Torsten <to...@ids-scheer.com> 2010-06-09 11:05:00 EDT ---
Created an attachment (id=25568)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25568)
[PATCH]


the attached ZIP contains the HSSF chart record classes including the missing
clone() methods.

-- 
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