Goodday,
as i almost finished my report (20+hrs…) i tried to add an Piechart.
I now whish i hadn’t done that since it looks i have to restart all the work i put into it!
I get a NullPointerException and i find the following code in the console:
INFO [ProductionDesignerModuleHook-DesignerExecEngine-thread-1] loadProject complete.
Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: Error trying to coerce 'Infinity' to a number.
at com.inductiveautomation.ignition.common.TypeUtilities.toNumber(TypeUtilities.java:737)
at com.inductiveautomation.ignition.common.TypeUtilities.coerce(TypeUtilities.java:988)
at com.inductiveautomation.ignition.common.TypeUtilities.toDouble(TypeUtilities.java:1333)
at com.inductiveautomation.rm.shape.j2dshapes.AbstractXYChart.fromXML(AbstractXYChart.java:444)
at com.inductiveautomation.rm.shape.j2dshapes.TimeseriesChart.fromXML(TimeseriesChart.java:146)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:240)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:224)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:185)
at com.inductiveautomation.rm.shape.RMParentShape.fromXMLChildren(RMParentShape.java:724)
at com.inductiveautomation.rm.shape.RMPage.fromXMLChildren(RMPage.java:774)
at com.inductiveautomation.rm.shape.RMParentShape.fromXML(RMParentShape.java:701)
at com.inductiveautomation.rm.shape.RMParentShape.fromXML(RMParentShape.java:19)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:240)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:224)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:185)
at com.inductiveautomation.rm.shape.RMParentShape.fromXMLChildren(RMParentShape.java:724)
at com.inductiveautomation.rm.shape.RMParentShape.fromXML(RMParentShape.java:701)
at com.inductiveautomation.rm.shape.RMParentShape.fromXML(RMParentShape.java:19)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:240)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:224)
at com.inductiveautomation.rm.archiver.RXArchiver.fromXML(RXArchiver.java:185)
at com.inductiveautomation.rm.archiver.RXArchiver.readObject(RXArchiver.java:148)
at com.inductiveautomation.rm.archiver.RXArchiver.readObject(RXArchiver.java:133)
at com.inductiveautomation.reporting.common.resource.PageTemplate.getTemplate(PageTemplate.java:40)
at com.inductiveautomation.reporting.designer.workspace.design.DesignerPanel.createEditor(DesignerPanel.java:149)
at com.inductiveautomation.reporting.designer.workspace.design.DesignerPanel.access$300(DesignerPanel.java:53)
at com.inductiveautomation.reporting.designer.workspace.design.DesignerPanel$2.stateChanged(DesignerPanel.java:170)
at com.inductiveautomation.ignition.common.util.AbstractChangeable.fireStateChanged(AbstractChangeable.java:71)
at com.inductiveautomation.reporting.designer.workspace.design.SampleData.access$900(SampleData.java:32)
at com.inductiveautomation.reporting.designer.workspace.design.SampleData$SampleDataLoader.done(SampleData.java:136)
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 com.inductiveautomation.snap.swing.RibsEventQueue.dispatchEvent(RibsEventQueue.java:87)
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)
ERROR [DesignerPanel-AWT-EventQueue-2] Unable to commit changes made to com.inductiveautomation.reporting.common.resource.ReportResource@3be14cb7
ERROR [DesignerPanel-AWT-EventQueue-2]
java.lang.NullPointerException
at com.inductiveautomation.reporting.designer.workspace.design.DesignerPanel.commitChanges(DesignerPanel.java:238)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor.showPanel(ReportingResourceEditor.java:146)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor.access$800(ReportingResourceEditor.java:48)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor$FancyReportingTabs$1.propertyChange(ReportingResourceEditor.java:330)
at java.beans.PropertyChangeSupport.fire(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.JComponent.firePropertyChange(Unknown Source)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor$FancyReportingTabs$Tab.setSelected(ReportingResourceEditor.java:413)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor$FancyReportingTabs$Tab$1.onPress(ReportingResourceEditor.java:371)
at com.inductiveautomation.ignition.client.util.gui.CommonMouseAdapter.mousePressed(CommonMouseAdapter.java:52)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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 com.inductiveautomation.snap.swing.RibsEventQueue.dispatchEvent(RibsEventQueue.java:87)
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)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
at com.inductiveautomation.reporting.designer.workspace.design.DesignerPanel.onDeactivate(DesignerPanel.java:226)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor.showPanel(ReportingResourceEditor.java:147)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor.access$800(ReportingResourceEditor.java:48)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor$FancyReportingTabs$1.propertyChange(ReportingResourceEditor.java:330)
at java.beans.PropertyChangeSupport.fire(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.JComponent.firePropertyChange(Unknown Source)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor$FancyReportingTabs$Tab.setSelected(ReportingResourceEditor.java:413)
at com.inductiveautomation.reporting.designer.workspace.ReportingResourceEditor$FancyReportingTabs$Tab$1.onPress(ReportingResourceEditor.java:371)
at com.inductiveautomation.ignition.client.util.gui.CommonMouseAdapter.mousePressed(CommonMouseAdapter.java:52)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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 com.inductiveautomation.snap.swing.RibsEventQueue.dispatchEvent(RibsEventQueue.java:87)
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)
Just hope this makes sense to the devs so this can be solved in future patches!!