java.lang.IllegalArgumentException: X Axis data source must be numeric.

ZK-Tracker | hawk | 4 years ago
  1. 0

    h3. Problem description if a sheet contains unsupported charts e.g. Bubble chart or Radar chart, they will cause spreadsheet crash when displaying that sheet. h3. Reproducing steps # visit *zss.test* project's {{display.zul}} and select "chart-unsupported" sheet ## or use the sheet named "chart-unsupported" in attached excel file. # the exception below occurs. *Expected:* Spec needs to be determined. *Actual:* {code} 嚴重的: >>java.lang.IllegalArgumentException: X Axis data source must be numeric. >> at org.zkoss.poi.xssf.usermodel.charts.XSSFBubbleChartData.addSerie(XSSFBubbleChartData.java:145) >> at org.zkoss.poi.xssf.usermodel.charts.XSSFBubbleChartData.<init>(XSSFBubbleChartData.java:80) >> at org.zkoss.zssex.util.ChartHelper.drawXSSFChart(ChartHelper.java:617) >> at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:316) >> at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:181) >> at org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:58) >> at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:281) >> at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:124) >> at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:91) >> at org.zkoss.zss.ui.Spreadsheet.doSheetSelected(Spreadsheet.java:4020) >> at org.zkoss.zss.ui.Spreadsheet.setSelectedSheetDirectly(Spreadsheet.java:796) >> at org.zkoss.zss.ui.Spreadsheet.access$40(Spreadsheet.java:776) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3520) >> at org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4721) {code}

    ZK-Tracker | 4 years ago | hawk
    java.lang.IllegalArgumentException: X Axis data source must be numeric.
  2. 0

    h3. Problem description if a sheet contains unsupported charts e.g. Bubble chart or Radar chart, they will cause spreadsheet crash when displaying that sheet. h3. Reproducing steps # visit *zss.test* project's {{display.zul}} and select "chart-unsupported" sheet ## or use the sheet named "chart-unsupported" in attached excel file. # the exception below occurs. *Expected:* Spec needs to be determined. *Actual:* {code} 嚴重的: >>java.lang.IllegalArgumentException: X Axis data source must be numeric. >> at org.zkoss.poi.xssf.usermodel.charts.XSSFBubbleChartData.addSerie(XSSFBubbleChartData.java:145) >> at org.zkoss.poi.xssf.usermodel.charts.XSSFBubbleChartData.<init>(XSSFBubbleChartData.java:80) >> at org.zkoss.zssex.util.ChartHelper.drawXSSFChart(ChartHelper.java:617) >> at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:316) >> at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:181) >> at org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:58) >> at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:281) >> at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:124) >> at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:91) >> at org.zkoss.zss.ui.Spreadsheet.doSheetSelected(Spreadsheet.java:4020) >> at org.zkoss.zss.ui.Spreadsheet.setSelectedSheetDirectly(Spreadsheet.java:796) >> at org.zkoss.zss.ui.Spreadsheet.access$40(Spreadsheet.java:776) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3520) >> at org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4721) {code}

    ZK-Tracker | 4 years ago | hawk
    java.lang.IllegalArgumentException: X Axis data source must be numeric.
  3. 0

    * make a derived variable of value type text * add a *missing* category => summary fails {code} java.lang.IllegalArgumentException: Continuous variables must be numeric at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[guava-16.0.1.jar:na] at org.obiba.magma.math.summary.ContinuousVariableSummary.<init>(ContinuousVariableSummary.java:102) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.magma.math.summary.ContinuousVariableSummary.<init>(ContinuousVariableSummary.java:47) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.magma.math.summary.ContinuousVariableSummary$Builder.<init>(ContinuousVariableSummary.java:231) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.magma.math.summary.ContinuousVariableSummaryFactory.getSummary(ContinuousVariableSummaryFactory.java:56) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.magma.math.summary.ContinuousVariableSummaryFactory.getSummary(ContinuousVariableSummaryFactory.java:25) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.opal.core.service.summary.AbstractVariableSummaryCachedService.cacheSummary(AbstractVariableSummaryCachedService.java:155) ~[opal-core-2.2.4.jar:na] at org.obiba.opal.core.service.summary.AbstractVariableSummaryCachedService.getCached(AbstractVariableSummaryCachedService.java:142) ~[opal-core-2.2.4.jar:na] at org.obiba.opal.core.service.summary.AbstractVariableSummaryCachedService.getSummary(AbstractVariableSummaryCachedService.java:110) ~[opal-core-2.2.4.jar:na] at org.obiba.opal.core.service.summary.CachedVariableSummaryService.getSummary(CachedVariableSummaryService.java:118) ~[opal-core-2.2.4.jar:na] at org.obiba.opal.web.magma.math.ContinuousSummaryResourceImpl.get(ContinuousSummaryResourceImpl.java:52) ~[opal-core-ws-2.2.4.jar:na] {code}

    JIRA | 3 years ago | Catherine Hilgers
    java.lang.IllegalArgumentException: Continuous variables must be numeric
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    * make a derived variable of value type text * add a *missing* category => summary fails {code} java.lang.IllegalArgumentException: Continuous variables must be numeric at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[guava-16.0.1.jar:na] at org.obiba.magma.math.summary.ContinuousVariableSummary.<init>(ContinuousVariableSummary.java:102) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.magma.math.summary.ContinuousVariableSummary.<init>(ContinuousVariableSummary.java:47) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.magma.math.summary.ContinuousVariableSummary$Builder.<init>(ContinuousVariableSummary.java:231) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.magma.math.summary.ContinuousVariableSummaryFactory.getSummary(ContinuousVariableSummaryFactory.java:56) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.magma.math.summary.ContinuousVariableSummaryFactory.getSummary(ContinuousVariableSummaryFactory.java:25) ~[magma-math-1.10.1.jar:1.10.1] at org.obiba.opal.core.service.summary.AbstractVariableSummaryCachedService.cacheSummary(AbstractVariableSummaryCachedService.java:155) ~[opal-core-2.2.4.jar:na] at org.obiba.opal.core.service.summary.AbstractVariableSummaryCachedService.getCached(AbstractVariableSummaryCachedService.java:142) ~[opal-core-2.2.4.jar:na] at org.obiba.opal.core.service.summary.AbstractVariableSummaryCachedService.getSummary(AbstractVariableSummaryCachedService.java:110) ~[opal-core-2.2.4.jar:na] at org.obiba.opal.core.service.summary.CachedVariableSummaryService.getSummary(CachedVariableSummaryService.java:118) ~[opal-core-2.2.4.jar:na] at org.obiba.opal.web.magma.math.ContinuousSummaryResourceImpl.get(ContinuousSummaryResourceImpl.java:52) ~[opal-core-ws-2.2.4.jar:na] {code}

    JIRA | 3 years ago | Catherine Hilgers
    java.lang.IllegalArgumentException: Continuous variables must be numeric
  6. 0

    Server Crashes

    GitHub | 2 years ago | oloflarsson
    java.lang.IllegalArgumentException: x must be finite

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      X Axis data source must be numeric.

      at org.zkoss.poi.xssf.usermodel.charts.XSSFBubbleChartData.addSerie()
    2. org.zkoss.poi
      XSSFBubbleChartData.<init>
      1. org.zkoss.poi.xssf.usermodel.charts.XSSFBubbleChartData.addSerie(XSSFBubbleChartData.java:145)
      2. org.zkoss.poi.xssf.usermodel.charts.XSSFBubbleChartData.<init>(XSSFBubbleChartData.java:80)
      2 frames
    3. org.zkoss.zssex
      DefaultBookWidgetLoader.onSheetSelected
      1. org.zkoss.zssex.util.ChartHelper.drawXSSFChart(ChartHelper.java:617)
      2. org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:316)
      3. org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:181)
      4. org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:58)
      5. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:281)
      6. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:124)
      7. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:91)
      7 frames
    4. org.zkoss.zss
      Spreadsheet.service
      1. org.zkoss.zss.ui.Spreadsheet.doSheetSelected(Spreadsheet.java:4020)
      2. org.zkoss.zss.ui.Spreadsheet.setSelectedSheetDirectly(Spreadsheet.java:796)
      3. org.zkoss.zss.ui.Spreadsheet.access$40(Spreadsheet.java:776)
      4. org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3520)
      5. org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87)
      6. org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4721)
      6 frames