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/04/12 15:06:25 UTC

DO NOT REPLY [Bug 49096] New: Error when using clonesheet

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

           Summary: Error when using clonesheet
           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: chris.pijl@cofely.nl


I get the following error message when using WorkBook.CloneSheet with POI 3.6:

The class org.apache.poi.hssf.record.chart.BeginRecord needs to define a clone
method null 

When I use POI 3.2-FINAL it copies the sheet including chart perfectly, except
for the fact that the cloned chart points to the original page...

I was hoping this was resolved in 3.6, but after reviewing some posts on the
subject, it probably isn't...

Cheers

-- 
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 49096] Error when using clonesheet

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

--- Comment #3 from Nick Burch <ni...@alfresco.com> 2010-04-12 10:56:15 EDT ---
It's the excel file that gives the error that we need....

-- 
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 49096] Error when using clonesheet

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

--- Comment #2 from Pilekes <ch...@cofely.nl> 2010-04-12 10:47:17 EDT ---
Created an attachment (id=25268)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25268)
BeginRecord.class

I'm hoping that this is the file you want...
Since I'm using CF8 to fill an Excel template-sheet and cloning this sheet with
poi CloneSheet...
Which in turn errors on the BeginRecord class...

-- 
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 49096] Error when using clonesheet

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-04-12 10:39:56 EDT ---
Could you please upload a problematic file? We'll need it to be able to debug
the problem, as well as to be able to write a unit test to then ensure it
doesn't get broken again in the future!

(It would seem a few charting records will need the clone feature added, but we
need a real file to discover which)

-- 
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 49096] Error when using clonesheet

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

--- Comment #8 from Pilekes <ch...@cofely.nl> 2010-06-15 05:25:30 EDT ---
And how do I implement this fix?

-- 
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 49096] Error when using clonesheet

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

michael.harjes@euris.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.harjes@euris.de

-- 
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 49096] Error when using clonesheet

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Nick Burch <ni...@alfresco.com> 2010-06-02 12:02:55 EDT ---
Fixed in r950611.

Note that there may be some more work needed to ensure that both sheets behave
sensibly in excel after the clone (patches welcome!), but no exceptions are now
thrown

-- 
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 49096] Error when using clonesheet

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

--- Comment #9 from Nick Burch <ni...@alfresco.com> 2010-06-15 07:14:56 EDT ---
Use a svn checkout build / nightly build / wait for 3.7 beta 1 (hopefully due
in a week)

-- 
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 49096] Error when using clonesheet

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |torsten.haase@ids-scheer.co
                   |                            |m

--- Comment #7 from Nick Burch <ni...@alfresco.com> 2010-06-09 14:12:44 EDT ---
*** Bug 49415 has been marked as a duplicate of this 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


DO NOT REPLY [Bug 49096] Error when using clonesheet

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

--- Comment #4 from Pilekes <ch...@cofely.nl> 2010-04-15 07:43:19 EDT ---
Created an attachment (id=25302)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25302)
Excel report

-- 
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 49096] Error when using clonesheet

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

--- Comment #5 from michael.harjes@euris.de 2010-05-31 08:04:30 EDT ---
Created an attachment (id=25501)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25501)
Example Sheet that produces the exception

We have the same Problem. I have added an example sheet that can not be cloned.

This is the Code i have used to clone the sheet:

HSSFSheet tempSheet = excelWBTemplate.cloneSheet(0);

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