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
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    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