¿ªÔÆÌåÓý

Locked Re: Lost my Sensor folder in the Table option


 

Bob,

This is very easy to re-create. Enable Show Debounce Delay Information in the sensor table.

This is a variation on the SML table issue addressed by PR #7286.

I have not looked any further but it appears to affect any table that has numeric columns being displayed.


Dave Sand

On Sep 2, 2019, at 8:15 PM, Bob Jacobsen <rgj1927@...> wrote:

This is really a mystery.

There were _two_ earlier errors on the LocoNet connection associated with LocoNet power and LocoNet sensors. I don¡¯t see what¡¯s causing that, nor any way it could be associated.

You¡¯re not seeing the Sensor table because it had invalid data in it when it started up, and it crashed trying to deal with that. (The rest of the program carried on)

Could you try temporarily removing your panel file load from the startup to see if that makes a difference?

Thanks

Bob


On Aug 29, 2019, at 12:43 PM, Dennis Cherry <dbcherry@...> wrote:

Here is the system console startup and opened the Tools/Table/sensor folder.

2019-08-29 15:37:49,480 loconet.LnPacketizer WARN - passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread]
java.lang.NullPointerException
at jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage(LnPacketizer.java:118)
at jmri.jmrix.loconet.LnPowerManager$LnTrackStatusUpdateThread.run(LnPowerManager.java:209)
2019-08-29 15:37:49,857 loconet.LnPacketizer WARN - passing to xmit: unexpected exception: [LnSensorUpdateThread]
java.lang.NullPointerException
at jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage(LnPacketizer.java:118)
at jmri.jmrix.loconet.LnSensorManager$LnSensorUpdateThread.run(LnSensorManager.java:285)
2019-08-29 15:37:49,937 loconet.LnPacketizer INFO - lnPacketizer Started [main]
2019-08-29 15:38:38,980 apps.PerformFileModel INFO - Loading file C:\Users\Uaser\Documents\JMRI\DR5000 Stopping Blocks w-Siding.xml [main]

2019-08-29 15:43:17,987 beantable.ListedTableFrame ERROR - Error when adding jmri.jmrit.beantable.SensorTableTabAction to display [Listed Table Generation]
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
at java.text.Collator.compare(Unknown Source)
at javax.swing.DefaultRowSorter.compare(Unknown Source)
at javax.swing.DefaultRowSorter.access$100(Unknown Source)
at javax.swing.DefaultRowSorter$Row.compareTo(Unknown Source)
at javax.swing.DefaultRowSorter$Row.compareTo(Unknown Source)
at java.util.ComparableTimSort.countRunAndMakeAscending(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at javax.swing.DefaultRowSorter.sortExistingData(Unknown Source)
at javax.swing.DefaultRowSorter.setSortKeys(Unknown Source)
at jmri.swing.JmriJTablePersistenceManager.resetState(JmriJTablePersistenceManager.java:230)
at jmri.jmrit.beantable.BeanTableDataModel.lambda$5(BeanTableDataModel.java:929)
at java.util.Optional.ifPresent(Unknown Source)
at jmri.jmrit.beantable.BeanTableDataModel.persistTable(BeanTableDataModel.java:927)
at jmri.jmrit.beantable.BeanTableDataModel.configureTable(BeanTableDataModel.java:454)
at jmri.jmrit.beantable.sensor.SensorTableDataModel.configureTable(SensorTableDataModel.java:607)
at jmri.jmrit.beantable.AbstractTableTabAction$TabbedTableItem.createDataModel(AbstractTableTabAction.java:201)
at jmri.jmrit.beantable.AbstractTableTabAction$TabbedTableItem.<init>(AbstractTableTabAction.java:181)
at jmri.jmrit.beantable.AbstractTableTabAction.createModel(AbstractTableTabAction.java:45)
at jmri.jmrit.beantable.AbstractTableTabAction.getPanel(AbstractTableTabAction.java:80)
at jmri.jmrit.beantable.ListedTableFrame$TabbedTableItem.addPanelModel(ListedTableFrame.java:420)
at jmri.jmrit.beantable.ListedTableFrame$TabbedTableItem.<init>(ListedTableFrame.java:366)
at jmri.jmrit.beantable.ListedTableFrame.initComponents(ListedTableFrame.java:113)
at jmri.jmrit.beantable.ListedTableAction$1.run(ListedTableAction.java:68)
at java.lang.Thread.run(Unknown Source)
--
Bob Jacobsen
rgj1927@...





Join [email protected] to automatically receive all group messages.