# Reporting gives a java Null Pointer Exception

**URL:** <https://forum.inductiveautomation.com/t/reporting-gives-a-java-null-pointer-exception/24148>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [April 15, 2019, 1:22pm UTC](https://forum.inductiveautomation.com/t/reporting-gives-a-java-null-pointer-exception/24148 "2019-04-15T13:22:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![paolo.peruzzo](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@paolo.peruzzo](https://forum.inductiveautomation.com/u/paolo.peruzzo)\
**Post date:** [April 15, 2019, 1:22pm UTC](https://forum.inductiveautomation.com/t/reporting-gives-a-java-null-pointer-exception/24148/1 "2019-04-15T13:22:55Z")

</div>

We are using Reports in Ignition 7.9.9.  
We are using a table group to show or hide tables depending if related data is available or not.  
When some table are shown report is shown correctly  
But, when other tables are shown the reports gives a java Null Pointer Exception both in designer preview and Report viewer control.  
We have 7 tables and 2 of them give the problem.  
There is no way to understand why and where the problem is.  
We have tried to remove all controls from the tables that give problems but the exception come up anyway.  
If we create another report and put the same data to show the report is shown.

Here is the Report viewer screenshot

 ![Exception](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2543c17c1aa9d2fdbacb29366ba97e0c6c4f1897.png)

Here is the designer error

 ![exception2](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/a3fc5e651ab3e2c4f56b7375f05c283580d0d686.png)

The stack trace is the following:

12:46:38.887 [AWT-EventQueue-2] WARN Vision.reporting.Components.Viewer - ReportLoader task could not be completed.  
java.util.concurrent.ExecutionException: java.lang.NullPointerException  
at java.util.concurrent.FutureTask.report(Unknown Source)  
at java.util.concurrent.FutureTask.get(Unknown Source)  
at javax.swing.SwingWorker.get(Unknown Source)  
at com.inductiveautomation.reporting.components.ReportViewer$ReportLoader.done(ReportViewer.java:666)  
at javax.swing.SwingWorker$5.run(Unknown Source)  
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)  
at sun.swing.AccumulativeRunnable.run(Unknown Source)  
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)  
at javax.swing.Timer.fireActionPerformed(Unknown Source)  
at javax.swing.Timer$DoPostEvent.run(Unknown Source)  
at java.awt.event.InvocationEvent.dispatch(Unknown Source)  
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)  
at java.awt.EventQueue.access$500(Unknown Source)  
at java.awt.EventQueue$3.run(Unknown Source)  
at java.awt.EventQueue$3.run(Unknown Source)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)  
at java.awt.EventQueue.dispatchEvent(Unknown Source)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.run(Unknown Source)  
Caused by: java.lang.NullPointerException: null  
at com.inductiveautomation.rm.shape.RMTableGroupRPG.rpgAll(RMTableGroupRPG.java:75)  
at com.inductiveautomation.rm.shape.RMTableGroup.rpgAll(RMTableGroup.java:329)  
at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)  
at com.inductiveautomation.rm.shape.RMParentShape.rpgChildren(RMParentShape.java:565)  
at com.inductiveautomation.rm.shape.RMPage.rpgChildren(RMPage.java:646)  
at com.inductiveautomation.rm.shape.RMParentShape.rpgAll(RMParentShape.java:552)  
at com.inductiveautomation.rm.shape.RMPage.rpgAll(RMPage.java:614)  
at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)  
at com.inductiveautomation.rm.shape.RMDocument.rpgChildren(RMDocument.java:1029)  
at com.inductiveautomation.rm.shape.RMParentShape.rpgAll(RMParentShape.java:552)  
at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)  
at com.inductiveautomation.rm.shape.ReportOwner.generateReport(ReportOwner.java:171)  
at com.inductiveautomation.rm.shape.RMDocument.generateReport(RMDocument.java:1006)  
at com.inductiveautomation.rm.shape.RMDocument.generateReport(RMDocument.java:976)  
at com.inductiveautomation.reporting.components.ReportViewer$ReportLoader.doInBackground(ReportViewer.java:653)  
at com.inductiveautomation.reporting.components.ReportViewer$ReportLoader.doInBackground(ReportViewer.java:583)  
at javax.swing.SwingWorker$1.call(Unknown Source)  
at java.util.concurrent.FutureTask.run(Unknown Source)  
at javax.swing.SwingWorker.run(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [April 15, 2019, 2:12pm UTC](https://forum.inductiveautomation.com/t/reporting-gives-a-java-null-pointer-exception/24148/2 "2019-04-15T14:12:00Z")

</div>

This is probably something you’re going to have to work with support on so they can figure out how to recreate your issue.

---

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [March 18, 2022, 1:05pm UTC](https://forum.inductiveautomation.com/t/reporting-gives-a-java-null-pointer-exception/24148/3 "2022-03-18T13:05:49Z")

</div>

What is was the solution?

Thanks.  
Best regards.

---

<div class="post-metadata">

**Author:** ![prasath.t](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@prasath.t](https://forum.inductiveautomation.com/u/prasath.t)\
**Post date:** [July 18, 2023, 11:07am UTC](https://forum.inductiveautomation.com/t/reporting-gives-a-java-null-pointer-exception/24148/4 "2023-07-18T11:07:46Z")

</div>

Hi, any update i am also facing same issue in ignition 8.1.29. Any solution found?

---

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [July 18, 2023, 2:02pm UTC](https://forum.inductiveautomation.com/t/reporting-gives-a-java-null-pointer-exception/24148/5 "2023-07-18T14:02:23Z")

</div>

8.1.29 was pulled due to this issue. 8.1.30 is now available and contains the fix.

> [@8.1.29 LTS Pulled, 8.1.30 Emergency Release](https://forum.inductiveautomation.com/t/8-1-29-lts-pulled-8-1-30-emergency-release/76360):
>
> After 8.1.29’s release, we found a notable regression within the reporting module. As a result we’ve pulled version 8.1.29 from our website, and will release version 8.1.30 tomorrow. The Issue When attempting to produce a report that contains a table group, the execution will fail and the report is not created. The issue appears in all reporting contexts (report preview, report viewer components, etc.). The attached images demonstrate the failure. The issue will only occur if you upgrade to 8.…
