Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked Lost my Sensor folder in the Table option
Dennis,
toggle quoted message
Show quoted text
Are there any errors in the JMRI system console? Since sensors, along with all of the other tables and panels are all in a single xml file, I suspect there is an error during loading. Is the other computer also running 4.17.3? Dave Sand On Aug 29, 2019, at 1:56 PM, Dennis Cherry <dbcherry@...> wrote: |
I don¡¯t know what you mean by ¡°Sensor folder¡±, sorry.
Do you mean that there¡¯s no entry under Tables _at_ _all_? Is so, is it in the sidebar of the other tables, i.e. the Turnout table? Or do you mean that the entry is there, but it doesn¡¯t open the table? Or that the table is empty? Bob On Aug 29, 2019, at 11:51 AM, Dennis Cherry <dbcherry@...> wrote:-- Bob Jacobsen rgj1927@... |
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] |
Dennis,
toggle quoted message
Show quoted text
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: |
¿ªÔÆÌåÓýDennis,I had the same problem just a month ago. ?I was so surprised to see all my sensor¡¯s gone. ?I went to ¡°add¡± a sensor and it just didn¡¯t seem right. ?Then I recalled what I did before, which was pretty amazing since it was over 2 years ago. You just start running your train down the track where your sensors are and JMRI starts ¡°populating¡± the Sensor table. ?You can open the LocoNet Monitor to see them start to show as the train goes along the layout. ?Then you can go to the Sensor table and you will find the sensors with the name that JMRI gives them. ?It will likely have to do with the brand of sensors that you are using. ?Then you can go to ¡°edit¡± on those individual sensors and rename them if you wish to be more specific in identifying them. ? The next step will then be to assign those sensors to your blocks table. ?You will need to go to ¡°add¡± at the bottom of that table if they were lost. ?Remember the spelling and capitalization of the titles of sensors and blocks need to be absolutely the same. Thomas Cain Indianapolis, IN atsf93@... See my?NEW website?and layout?at: ? Modeling the Eastern Illinois?Santa Fe from the Prototype
|
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: 2019-08-29 15:37:49,480 loconet.LnPacketizer WARN - passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread] 2019-08-29 15:37:49,857 loconet.LnPacketizer WARN - passing to xmit: unexpected exception: [LnSensorUpdateThread] 2019-08-29 15:38:38,980 apps.PerformFileModel INFO - Loading file C:\Users\Uaser\Documents\JMRI\DR5000 Stopping Blocks w-Siding.xml [main] -- Bob Jacobsen rgj1927@... |
Bob,
toggle quoted message
Show quoted text
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: |
to navigate to use esc to dismiss