Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-739

IllegalStateException when testing with collaboration editing test case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.6.0
    • 3.5.0
    • None
    • None

      Steps to reproduce

      1. run the project https://github.com/hawkchen/zssperformance with zss 3.5.0 (so you have to change the zss-version in pom.xml accordingly)
      2. use Jmeter 2.10 to open test plan CollaborationEditing.jmx (the file is under [PROJECT-BASE]\TestPlan)(original test plan https://docs.google.com/a/potix.com/document/d/1pK-mi4hO14mKkmlf1qZLwi-wp3uU04wcMVzHk6MuS5I/edit#heading=h.i48nii91fa3p)
      3. set number of thread to 50 in "Thread Group" and run the test plan

      Expected

      Shows no error on server console.

      What I actually see

      Server console show Unexpected value class (org.zkoss.poi.ss.formula.eval.ArrayEval) when eval

      {"assets","liabilities","equity"}


      SEVERE: Unexpected value class (org.zkoss.poi.ss.formula.eval.ArrayEval) when eval {"assets","liabilities","equity"}

      java.lang.IllegalStateException: Unexpected value class (org.zkoss.poi.ss.formula.eval.ArrayEval)
      at org.zkoss.poi.ss.formula.CellCacheEntry.areValuesEqual(CellCacheEntry.java:82)
      at org.zkoss.poi.ss.formula.CellCacheEntry.updateValue(CellCacheEntry.java:50)
      at org.zkoss.poi.ss.formula.FormulaCellCacheEntry.updateFormulaResult(FormulaCellCacheEntry.java:108)
      at org.zkoss.poi.ss.formula.CellEvaluationFrame.updateFormulaResult(CellEvaluationFrame.java:75)
      at org.zkoss.poi.ss.formula.EvaluationTracker.updateCacheResult(EvaluationTracker.java:94)
      at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:942)
      at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:862)
      at org.zkoss.zss.model.impl.sys.formula.FormulaEngineImpl.evaluateFormula(FormulaEngineImpl.java:394)
      at org.zkoss.zss.model.impl.sys.formula.FormulaEngineImpl.evaluate(FormulaEngineImpl.java:349)
      at org.zkoss.zss.model.impl.chart.GeneralChartDataImpl.evalFormula(GeneralChartDataImpl.java:74)
      at org.zkoss.zss.model.impl.chart.GeneralChartDataImpl.getNumOfCategory(GeneralChartDataImpl.java:93)
      at org.zkoss.zssex.util.ChartHelper.preparePieModel(ChartHelper.java:379)
      at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:142)
      at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:121)
      at org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:46)
      at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:411)
      at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidgetGroup(DefaultBookWidgetLoader.java:404)
      at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:172)
      at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:82)
      at org.zkoss.zss.ui.Spreadsheet.afterSheetSelected(Spreadsheet.java:4269)
      at org.zkoss.zss.ui.Spreadsheet.getSelectedSSheet(Spreadsheet.java:809)
      at org.zkoss.zss.ui.Spreadsheet.doInvalidate(Spreadsheet.java:4400)
      at org.zkoss.zss.ui.Spreadsheet.invalidate(Spreadsheet.java:3774)
      at org.zkoss.zss.ui.Spreadsheet.setSBook(Spreadsheet.java:634)
      at org.zkoss.zss.ui.Spreadsheet.setBook(Spreadsheet.java:5100)
      at org.zkoss.zss.benchmark.SharedBookComposer.doAfterCompose(SharedBookComposer.java:26)
      at org.zkoss.zk.ui.impl.UiEngineImpl.doAfterCompose(UiEngineImpl.java:578)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:880)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:826)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:735)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:797)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:757)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:699)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:442)
      at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:356)
      at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215)
      at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:136)
      ...

            henrichen henrichen
            henrichen henrichen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: