java.lang.NullPointerException

Pentaho BI Platform Tracking | Will Gorman | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I get the following exception when building a simple bubble chart in the report header: java.lang.NullPointerException at org.pentaho.plugin.jfreereport.reportcharts.XYZSeriesCollectorFunction.buildDataset(XYZSeriesCollectorFunction.java:138) at org.pentaho.plugin.jfreereport.reportcharts.XYSeriesCollectorFunction.itemsAdvanced(XYSeriesCollectorFunction.java:167) at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionDataRow.fireItemsAdvancedEvent(ExpressionDataRow.java:715) at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionDataRow.fireReportEvent(ExpressionDataRow.java:569) at org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.fireReportEvent(GlobalMasterRow.java:558) at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.fireReportEvent(DefaultFlowController.java:410) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:830) at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:59) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPrepareLevels(AbstractReportProcessor.java:344) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:436) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187) Also note that I get some system.out X, Y, and Z info, I'm guessing a System.out needs to be changed to a debug statement somewhere in the charts layer. 1.0 72.0 72.0 1.0 72.0 72.0 1.0 216.0 72.0 1.0 216.0 72.0 1.0 108.0 72.0 1.0 108.0 72.0 1.0 108.0 72.0 1.0 108.0 72.0 1.0 72.0 72.0 1.0 72.0 72.0

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    java.lang.NullPointerException
  2. 0

    I get the following exception when building a simple bubble chart in the report header: java.lang.NullPointerException at org.pentaho.plugin.jfreereport.reportcharts.XYZSeriesCollectorFunction.buildDataset(XYZSeriesCollectorFunction.java:138) at org.pentaho.plugin.jfreereport.reportcharts.XYSeriesCollectorFunction.itemsAdvanced(XYSeriesCollectorFunction.java:167) at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionDataRow.fireItemsAdvancedEvent(ExpressionDataRow.java:715) at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionDataRow.fireReportEvent(ExpressionDataRow.java:569) at org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.fireReportEvent(GlobalMasterRow.java:558) at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.fireReportEvent(DefaultFlowController.java:410) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:830) at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:59) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPrepareLevels(AbstractReportProcessor.java:344) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:436) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187) Also note that I get some system.out X, Y, and Z info, I'm guessing a System.out needs to be changed to a debug statement somewhere in the charts layer. 1.0 72.0 72.0 1.0 72.0 72.0 1.0 216.0 72.0 1.0 216.0 72.0 1.0 108.0 72.0 1.0 108.0 72.0 1.0 108.0 72.0 1.0 108.0 72.0 1.0 72.0 72.0 1.0 72.0 72.0

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.plugin.jfreereport.reportcharts.XYZSeriesCollectorFunction.buildDataset()
    2. org.pentaho.plugin
      XYSeriesCollectorFunction.itemsAdvanced
      1. org.pentaho.plugin.jfreereport.reportcharts.XYZSeriesCollectorFunction.buildDataset(XYZSeriesCollectorFunction.java:138)
      2. org.pentaho.plugin.jfreereport.reportcharts.XYSeriesCollectorFunction.itemsAdvanced(XYSeriesCollectorFunction.java:167)
      2 frames
    3. org.pentaho.reporting
      Worker.run
      1. org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionDataRow.fireItemsAdvancedEvent(ExpressionDataRow.java:715)
      2. org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionDataRow.fireReportEvent(ExpressionDataRow.java:569)
      3. org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.fireReportEvent(GlobalMasterRow.java:558)
      4. org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.fireReportEvent(DefaultFlowController.java:410)
      5. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:830)
      6. org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:59)
      7. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:648)
      8. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPrepareLevels(AbstractReportProcessor.java:344)
      9. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:436)
      10. org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90)
      11. org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270)
      12. org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)
      12 frames