[bug-13607] db browser auto-refresh button displays a console error when selected before executed db query

build: 8.0.0 (b2019040718)
OS: win 10 pro

reproduce;
https:/uploads/iatesting/original/2X/a/a93163c447c3acd236823b3a88f6784836b0bc42.mp4

Exception in thread “AWT-EventQueue-0” java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.base/java.util.Vector.elementAt(Unknown Source)
at java.desktop/javax.swing.table.DefaultTableColumnModel.getColumn(Unknown Source)
at com.inductiveautomation.ignition.designer.querybrowser.ResultTable.addEditorsAndRenderers(ResultTable.java:336)
at com.inductiveautomation.ignition.designer.querybrowser.ResultTable.setData(ResultTable.java:253)
at com.inductiveautomation.ignition.designer.querybrowser.QueryBrowser$5$1.run(QueryBrowser.java:414)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Hi code_skin,

I was able to reproduce the issue, the auto-refresh function should work without displaying an error. will write an internal ticket to track this. Thanks for the info.

Anthony