¿ªÔÆÌåÓý

Locked Re: Lost my Sensor folder in the Table option


 

Dennis,

The sensor table is not loading due to the error show in the console log.

If you upload your panel xml file to the group¡¯s ProblemsBeingWorkedOn folder, we can take a look at the contents and see what might be causing the error.


Dave Sand

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

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

2019-08-29 15:37:14,809 util.Log4JUtil INFO - * JMRI log ** [main]
2019-08-29 15:37:15,793 util.Log4JUtil INFO - This log is appended to file: C:\Users\Uaser\JMRI\log\messages.log [main]
2019-08-29 15:37:15,794 util.Log4JUtil INFO - This log is stored in file: C:\Users\Uaser\JMRI\log\session.log [main]
2019-08-29 15:37:16,209 apps.Apps INFO - PanelPro version 4.17.3+R12d2ded starts under Java 1.8.0_221 on Windows 10 x86 v10.0 at Thu Aug 29 15:37:16 EDT 2019 [main]
2019-08-29 15:37:24,196 apps.Apps INFO - Starting with profile My_JMRI_Railroad.3d64118a [main]
2019-08-29 15:37:29,258 node.NodeIdentity INFO - Using jmri-oQcj8cizbhNiaaacvwd2an-3d64118a as the JMRI storage identity for profile id 3d64118a [AWT-EventQueue-0]
2019-08-29 15:37:44,528 xml.AbstractSerialConnectionConfigXml INFO - Starting to connect for "DCC++" [main]
2019-08-29 15:37:45,131 xml.AbstractSerialConnectionConfigXml INFO - Starting to connect for "LocoNet" [main]
2019-08-29 15:37:47,132 locobufferusb.LocoBufferUsbAdapter INFO - LocoBuffer-USB adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main]
2019-08-29 15:37:47,138 locobuffer.LocoBufferAdapter INFO - COM13 port opened at 57600 baud with DTR: true RTS: true DSR: true CTS: true CD: true [main]
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:16,294 server.WebServer INFO - Starting Web Server on port 12080 [WebServer]
2019-08-29 15:38:18,540 server.WebServer INFO - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.0.0} [WebServer]
2019-08-29 15:38:21,440 withrottle.FacelessServer INFO - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on fe80:0:0:0:1c11:781d:ee6c:2360%wlan2:12090 [WiThrottleServer]
2019-08-29 15:38:21,441 withrottle.FacelessServer INFO - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on 2600:6c5d:5a00:1c80:e83e:c8d3:8ff8:f9f7:12090 [WiThrottleServer]
2019-08-29 15:38:21,442 withrottle.FacelessServer INFO - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on fe80:0:0:0:a4f5:8b37:cac0:9cbe%eth5:12090 [WiThrottleServer]
2019-08-29 15:38:21,442 withrottle.FacelessServer INFO - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on 2600:6c5d:5a00:1c80:1c11:781d:ee6c:2360:12090 [WiThrottleServer]
2019-08-29 15:38:21,444 withrottle.FacelessServer INFO - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on 192.168.1.51:12090 [WiThrottleServer]
2019-08-29 15:38:21,445 withrottle.FacelessServer INFO - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on 2600:1702:2710:72c0:0:0:0:29:12090 [WiThrottleServer]
2019-08-29 15:38:21,445 withrottle.FacelessServer INFO - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on 192.168.16.100:12090 [WiThrottleServer]
2019-08-29 15:38:21,447 withrottle.FacelessServer INFO - Published ZeroConf service for 'my jmri railroad._withrottle._tcp.local.' on 2600:6c5d:5a00:1c80:0:0:0:10:12090 [WiThrottleServer]
2019-08-29 15:38:21,447 withrottle.FacelessServer INFO - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
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:38:49,119 util.FileUtilSupport INFO - File path program: is C:\Program Files (x86)\JMRI4.17.3\ [main]
2019-08-29 15:38:49,182 util.FileUtilSupport INFO - File path preference: is C:\Users\Uaser\Documents\JMRI\ [main]
2019-08-29 15:38:49,183 util.FileUtilSupport INFO - File path profile: is C:\Users\Uaser\JMRI\My_JMRI_Railroad\ [main]
2019-08-29 15:38:49,183 util.FileUtilSupport INFO - File path settings: is C:\Users\Uaser\JMRI\ [main]
2019-08-29 15:38:49,184 util.FileUtilSupport INFO - File path home: is C:\Users\Uaser\ [main]
2019-08-29 15:38:49,184 util.FileUtilSupport INFO - File path scripts: is C:\Program Files (x86)\JMRI4.17.3\jython\ [main]
2019-08-29 15:38:51,440 PanelPro.PanelPro INFO - Main initialization done [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)
2019-08-29 15:43:19,142 audio.JoalAudioFactory INFO - Initialised JOAL using OpenAL: vendor - OpenAL Community version - 1.1 ALSOFT 1.15.1 [Listed Table Generation]

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