https://bz.apache.org/ooo/show_bug.cgi?id=115245

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Latest|---                         |4.2.0-dev
    Confirmation in|                            |

--- Comment #7 from [email protected] ---
Still an issue in the latest Git.

In the debug build, Ctrl+Alt+Shift+D and enabling Error logging to shell, we
see:

Error:java.util.EmptyStackException

Editing
main/xmerge/java/xmerge/src/main/resources/org/openoffice/xmerge/util/Debug.properties
and setting debug.info, debug.trace and debug.error to true gets a lot of
logging, which ends with:

---snip---
Current Cell : 
 ixfe for Current Cell 9
 ixfnt for Current Cell 30
TokenFactory creating operand (CELL_REFERENCE) Token : A4
Decoded Cell Reference: A4
Unrecognized byte : 30
Unrecognized byte : 1
Unrecognized byte : 0
TokenFactory creating operator Token : +
Decoded Binary operator : +
---snip---

Attaching a Java debugger shows this is the stack trace when that
java.util.EmptyStackException exception is thrown:

Stack.peek:102
Stack.pop:84
FormulaCompiler.RPN2Infix:111
FormulaHelper.convertPXLToCalc:101
Formula.getString:208
PocketExcelDecoder.goToNextCell:222
PocketExcelDecoder.setWorksheet:183
SxcDocumentDeserializer.decode:251
SxcDocumentDeserializer.deserialize:190
Convert.convert:207
XMergeBridge$_XMergeBridge.convert:592
XMergeBridge$_XMergeBridge.importer:218


The OP said "probably ~45% of my files work OK". It appears to fail while
converting a formula, so files that don't use formulas (or use unaffected
formulas) are probably the ones that work OK.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are on the CC list for the issue.

Reply via email to