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

           Summary: Coding Error: This method should never be called. This
                    ptg should be converted
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=21901)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21901)
Spreadsheet generated with poi-3.0-rc4-20070503.jar

I used POI to generate a spreadsheet with data from Oracle.  The end users add
data, including formulas, to the initial version which is intended for use as
part of a data migration.  Prior to the migration I regenerate the spreadsheet
and use another script to parse out differences between the original/modified
one and the newly generated one.  The script worked reasonably well with 3.0rc4
but fails with 3.0.2 and 3.1beta.  The errors are as follows:

Script threw exception: Sourced file: compareDocReports.bsh : Method Invocation
oldBook.write : at Line: 241 : in file: compareDocReports.bsh : oldBook .write
( fos )
Called from method: modSpreadsheet : at Line: 250 : in file:
compareDocReports.bsh : modSpreadsheet ( oldBook , newBook )
Called from method: run : at Line: 253 : in file: compareDocReports.bsh : run (
bsh .args [ 0 ] , bsh .args [ 1 ] )
Target exception: java.lang.RuntimeException: Coding Error: This method should
never be called. This ptg should be converted

My guess is that the spreadsheet contains an invalid formula (not evident when
I open it in Excel) but I don't know anything about ptg.  Furthermore, the
unchanged script worked fine with the older POI release which indicates that
this problem must be with the newer software.

Can you provide any guidance?


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to