Home
Intelligence (Analytics)
Null pointer exception
Birtsnew
Hi,
I am getting the null pointer exception when i try to render the report on browser.
15:43:22,740 SEVERE [ReportEngine] An error happened while running the report. Cause:
java.lang.NullPointerException
at org.eclipse.birt.chart.reportitem.AbstractChartBaseQueryGenerator.generateExtraBindings(AbstractChartBaseQueryGenerator.java:353)
at org.eclipse.birt.chart.reportitem.ChartBaseQueryHelper.createBaseQuery(ChartBaseQueryHelper.java:109)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.createQuery(ChartReportItemQueryImpl.java:159)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.createReportQueries(ChartReportItemQueryImpl.java:102)
Pleaset let me know what i am doing wrong.
Thanks & Regards
Sam.
Find more posts tagged with
Comments
Birtsnew
Hi,
I am getting the null pointer exception when i try to render the report on browser.but i am facing this issue only chart
15:43:22,740 SEVERE [ReportEngine] An error happened while running the report. Cause:
java.lang.NullPointerException
at org.eclipse.birt.chart.reportitem.AbstractChartBaseQueryGenerator.generateExtraBindings(AbstractChartBaseQueryGenerator.java:353)
at org.eclipse.birt.chart.reportitem.ChartBaseQueryHelper.createBaseQuery(ChartBaseQueryHelper.java:109)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.createQuery(ChartReportItemQueryImpl.java:159)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.createReportQueries(ChartReportItemQueryImpl.java:102)
org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:186)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75)
Pleaset let me know what i am doing wrong.
Thanks & Regards
Sam.
Birtsnew
Hi,
I am trying to render the chart report on UI. It's taking some time for process, and later i am getting the
following error in log.the report is not rendering on UI.
5:43:22,740 SEVERE [ReportEngine] An error happened while running the report. Cause:
java.lang.NullPointerException
at org.eclipse.birt.chart.reportitem.AbstractChartBaseQueryGenerator.generateExtraBindings(AbstractChartBaseQueryGenerator.java:353)
at org.eclipse.birt.chart.reportitem.ChartBaseQueryHelper.createBaseQuery(ChartBaseQueryHelper.java:109)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.createQuery(ChartReportItemQueryImpl.java:159)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.createReportQueries(ChartReportItemQueryImpl.java:102)
org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:186)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75)
Pleaset let me know what i am doing wrong.
Thanks & Regards
Sam.
JasonW
Sam,
Did you get this issue resolved?
Jason
Birtsnew
Jason,
I found the issue. In my application there was a clash between my dashboard report and actual error report area.
We are working on it.
Thanks Jason.
Sam.
shaned123
I have the same error but am getting it in the 'Edit Chart' window within BIRT.
The Select Chart Type and Format Chart tabs appear normal
The Select Data tab generates the error and the tab is then blank
- Stack Trace:
java.lang.NullPointerException at:
java.lang.String.contains(Unknown Source)
org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent$SharedBindingHelper.translateFromBindingName(BaseDataDefinitionComponent.java:1177)
org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.updateText(BaseDataDefinitionComponent.java:1031)
org.eclipse.birt.chart.ui.swt.DataDefinitionTextManager.refreshAll(DataDefinitionTextManager.java:137)
org.eclipse.birt.chart.ui.swt.wizard.TaskSelectData.createControl(TaskSelectData.java:168)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.switchTask(WizardBaseDialog.java:317)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.switchTo(WizardBase.java:234)
org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.switchTo(ChartWizard.java:289)
org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBaseDialog.widgetSelected(WizardBaseDialog.java:509)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
Thanks for looking into this error,
Shane
Birtsnew
Can you check your dataset query? query might be wrong.
Sam.