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

           Summary: FormulaParseException inserting 1 row into 4-row
                    spreadsheet.
           Product: POI
           Version: 3.6
          Platform: Macintosh
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: XSSF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=25541)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25541)
The source code to generate the above error.  The spreadsheet will be attached
next.

Exception in thread "main" org.apache.poi.ss.formula.FormulaParseException:
Cell reference expected after sheet name at index 7.
    at
org.apache.poi.ss.formula.FormulaParser.parseRangeable(FormulaParser.java:420)
    at
org.apache.poi.ss.formula.FormulaParser.parseRangeExpression(FormulaParser.java:266)
    at
org.apache.poi.ss.formula.FormulaParser.parseSimpleFactor(FormulaParser.java:1112)
    at
org.apache.poi.ss.formula.FormulaParser.percentFactor(FormulaParser.java:1072)
    at
org.apache.poi.ss.formula.FormulaParser.powerFactor(FormulaParser.java:1059)
    at
org.apache.poi.ss.formula.FormulaParser.parseUnary(FormulaParser.java:1124)
    at
org.apache.poi.ss.formula.FormulaParser.parseSimpleFactor(FormulaParser.java:1097)
    at
org.apache.poi.ss.formula.FormulaParser.percentFactor(FormulaParser.java:1072)
    at
org.apache.poi.ss.formula.FormulaParser.powerFactor(FormulaParser.java:1059)
    at org.apache.poi.ss.formula.FormulaParser.Term(FormulaParser.java:1410)
    at
org.apache.poi.ss.formula.FormulaParser.additiveExpression(FormulaParser.java:1510)
    at
org.apache.poi.ss.formula.FormulaParser.concatExpression(FormulaParser.java:1494)
    at
org.apache.poi.ss.formula.FormulaParser.comparisonExpression(FormulaParser.java:1451)
    at
org.apache.poi.ss.formula.FormulaParser.unionExpression(FormulaParser.java:1431)
    at org.apache.poi.ss.formula.FormulaParser.parse(FormulaParser.java:1552)
    at org.apache.poi.ss.formula.FormulaParser.parse(FormulaParser.java:174)
    at
org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter.shiftFormula(XSSFRowShifter.java:182)
    at
org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter.updateRowFormulas(XSSFRowShifter.java:152)
    at
org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter.updateSheetFormulas(XSSFRowShifter.java:139)
    at
org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter.updateFormulas(XSSFRowShifter.java:132)
    at org.apache.poi.xssf.usermodel.XSSFSheet.shiftRows(XSSFSheet.java:2075)
    at org.apache.poi.xssf.usermodel.XSSFSheet.shiftRows(XSSFSheet.java:2022)
    at t2test.PoiTest.littleTest(PoiTest.java:46)
    at t2test.PoiTest.main(PoiTest.java:18)

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