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

           Summary: Not able to create HSSFFormulaEvaluator
           Product: POI
           Version: 3.6
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


It is on Windows 7.

When I tried to create HSSFFormulaEvaluator
HSSFFormulaEvaluator evaluator = new
HSSFFormulaEvaluator((HSSFWorkbook)workBook);

I've got exception:
The type initializer for
'org.apache.poi.ss.formula.CollaboratingWorkbooksEnvironment' threw an
exception.

The callstack:
   at org.apache.poi.ss.formula.CollaboratingWorkbooksEnvironment.get_EMPTY()
   at org.apache.poi.ss.formula.WorkbookEvaluator..ctor(EvaluationWorkbook ,
IEvaluationListener , IStabilityClassifier )
   at org.apache.poi.ss.formula.WorkbookEvaluator..ctor(EvaluationWorkbook
workbook, IStabilityClassifier stabilityClassifier)
   at org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator..ctor(HSSFWorkbook
workbook, IStabilityClassifier stabilityClassifier)
   at org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator..ctor(HSSFWorkbook
workbook)

The inner exception is:
java.lang.NoSuchMethodError, and the message is:
"java.util.Collections.emptyMap()Ljava.util.Map;"

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