Error when adding data source to a new report

I get the following error when trying to add a new data source (other than a CSV) when trying to create a report within the new report designer:

[quote]java.lang.IllegalArgumentException: path in TreePath must be non null and not empty.
at javax.swing.tree.TreePath.(Unknown Source)
at javax.swing.event.TreeModelEvent.(Unknown Source)
at javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged(Unknown Source)
at com.inductiveautomation.reporting.designer.workspace.data.sources.QueryDataSourceConfigPanel$SubQueryPanel$QueryNavModel.notifyUpdated(QueryDataSourceConfigPanel.java:421)
at com.inductiveautomation.reporting.designer.workspace.data.sources.QueryDataSourceConfigPanel$SubQueryPanel$QueryNavModel.notifyUpdated(QueryDataSourceConfigPanel.java:406)
at com.inductiveautomation.reporting.designer.workspace.data.sources.QueryDataSourceConfigPanel$SubQueryPanel.updateTree(QueryDataSourceConfigPanel.java:287)
at com.inductiveautomation.reporting.designer.workspace.data.sources.QueryDataSourceConfigPanel.save(QueryDataSourceConfigPanel.java:211)
at com.inductiveautomation.reporting.designer.workspace.data.sources.QueryDataSourceConfigPanel.access$100(QueryDataSourceConfigPanel.java:69)
at com.inductiveautomation.reporting.designer.workspace.data.sources.QueryDataSourceConfigPanel$3$1.run(QueryDataSourceConfigPanel.java:146)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.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)

Ignition v7.8.0 (b2015101414)
Java: Sun Microsystems Inc. 1.6.0_31
[/quote]
At this point can’t delete the new data source completely (the data source configuration panels still stay in the view even if selecting the Design tab or any other tab) or go to any other tab within the designer without getting this error again.

What OS are you using? I’ve had this happen when I’m using a Mac with Java 6, but not other OSes. (Upgrading to Java 7 solved it on the Mac.)

Windows 7 - I’m currently waiting on a ticket with my IT department to update to Java 8 to see if that helps.

yikes – thanks for the info. I’ll update our bug ticket with that.

Updating to JRE 1.8.0_45 took care of the issue.

So glad to hear that.

I’ve got the bug fixed, but the fix won’t be out until the first RC of 7.8.1.