开云体育

Date

Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

开云体育

Hi Gil,

Which Look&Feel do you use? Windows, Metal or something else?

If you use Windows, try to change to Metal instead. We have had other users who have had problem with the Windows look&feel.

Daniel

On 2024-09-01 13:03, Gil Fuchs wrote:

Hi Daniel,
?
? I tested one startup step at a time, the same exception is thrown with this configuration:
?
<?xml version="1.0" encoding="UTF-8"?>
<auxiliary-configuration xmlns=>
? ? <connections xmlns=>
? ? ? ? <connection xmlns="" class="jmri.jmrix.loconet.hexfile.configurexml.ConnectionConfigXml" disabled="no" manufacturer="Digitrax" systemPrefix="L" userName="LocoNetSim">
? ? ? ? ? ? <options>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>MaxSlots</name>
? ? ? ? ? ? ? ? ? ? <value>5</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>SensorDefaultState</name>
? ? ? ? ? ? ? ? ? ? <value>Inactive</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? </options>
? ? ? ? </connection>
? ? </connections>
? ? <startup xmlns=>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.configurexml.LoadXmlConfigAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformFileModelXml" enabled="yes" name="preference:HJPanels.xml" type="XmlFile"/>
? ? ? ? <perform xmlns="" class="apps.startup.configurexml.TriggerRouteModelXml" enabled="no" name="Init" type="Action"/>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.web.server.WebServerAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.jmrit.withrottle.WiThrottleCreationAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? </startup>
</auxiliary-configuration>
?
Where only step 2, the automatic loading of the panel file is enabled. I think this rules out a race condition with following startup steps (ex. the web server handling a partially initialized panel...). I then tested again with the first 2 steps enabled:

<?xml version="1.0" encoding="UTF-8"?>
<auxiliary-configuration xmlns=>
? ? <connections xmlns=>
? ? ? ? <connection xmlns="" class="jmri.jmrix.loconet.hexfile.configurexml.ConnectionConfigXml" disabled="no" manufacturer="Digitrax" systemPrefix="L" userName="LocoNetSim">
? ? ? ? ? ? <options>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>MaxSlots</name>
? ? ? ? ? ? ? ? ? ? <value>5</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>SensorDefaultState</name>
? ? ? ? ? ? ? ? ? ? <value>Inactive</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? </options>
? ? ? ? </connection>
? ? </connections>
? ? <startup xmlns=>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="yes" name="jmri.configurexml.LoadXmlConfigAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformFileModelXml" enabled="yes" name="preference:HJPanels.xml" type="XmlFile"/>
? ? ? ? <perform xmlns="" class="apps.startup.configurexml.TriggerRouteModelXml" enabled="no" name="Init" type="Action"/>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.web.server.WebServerAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.jmrit.withrottle.WiThrottleCreationAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? </startup>
</auxiliary-configuration>
?
?And confirmed it loads fine (after I hit cancel on the file dialog box from step 1, step 2 loads the panels and the program loads as expected).
That goes back to the initial assumption, that some initialization of an object (UI?) or module is missing or incomplete if step 1 is disabled. That could be due to the delay introduced by opening the dialog box in step 1, or some initialization it adds.
BTW looking at the log trace of the exception, am I correct assuming it uses Swing UI elements to "automatically" choose a file during the automated loading? Why is this needed rather than directly opening the file using the file system??
?
Regards,
?
Gil


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

Hi Daniel,
?
? I tested one startup step at a time, the same exception is thrown with this configuration:
?
<?xml version="1.0" encoding="UTF-8"?>
<auxiliary-configuration xmlns="http://www.netbeans.org/ns/auxiliary-configuration/1">
? ? <connections xmlns="http://jmri.org/xml/schema/auxiliary-configuration/connections-2-9-6.xsd">
? ? ? ? <connection xmlns="" class="jmri.jmrix.loconet.hexfile.configurexml.ConnectionConfigXml" disabled="no" manufacturer="Digitrax" systemPrefix="L" userName="LocoNetSim">
? ? ? ? ? ? <options>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>MaxSlots</name>
? ? ? ? ? ? ? ? ? ? <value>5</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>SensorDefaultState</name>
? ? ? ? ? ? ? ? ? ? <value>Inactive</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? </options>
? ? ? ? </connection>
? ? </connections>
? ? <startup xmlns="http://jmri.org/xml/schema/auxiliary-configuration/startup-4-3-5.xsd">
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.configurexml.LoadXmlConfigAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformFileModelXml" enabled="yes" name="preference:HJPanels.xml" type="XmlFile"/>
? ? ? ? <perform xmlns="" class="apps.startup.configurexml.TriggerRouteModelXml" enabled="no" name="Init" type="Action"/>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.web.server.WebServerAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.jmrit.withrottle.WiThrottleCreationAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? </startup>
</auxiliary-configuration>
?
Where only step 2, the automatic loading of the panel file is enabled. I think this rules out a race condition with following startup steps (ex. the web server handling a partially initialized panel...). I then tested again with the first 2 steps enabled:

<?xml version="1.0" encoding="UTF-8"?>
<auxiliary-configuration xmlns="http://www.netbeans.org/ns/auxiliary-configuration/1">
? ? <connections xmlns="http://jmri.org/xml/schema/auxiliary-configuration/connections-2-9-6.xsd">
? ? ? ? <connection xmlns="" class="jmri.jmrix.loconet.hexfile.configurexml.ConnectionConfigXml" disabled="no" manufacturer="Digitrax" systemPrefix="L" userName="LocoNetSim">
? ? ? ? ? ? <options>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>MaxSlots</name>
? ? ? ? ? ? ? ? ? ? <value>5</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>SensorDefaultState</name>
? ? ? ? ? ? ? ? ? ? <value>Inactive</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? </options>
? ? ? ? </connection>
? ? </connections>
? ? <startup xmlns="http://jmri.org/xml/schema/auxiliary-configuration/startup-4-3-5.xsd">
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="yes" name="jmri.configurexml.LoadXmlConfigAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformFileModelXml" enabled="yes" name="preference:HJPanels.xml" type="XmlFile"/>
? ? ? ? <perform xmlns="" class="apps.startup.configurexml.TriggerRouteModelXml" enabled="no" name="Init" type="Action"/>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.web.server.WebServerAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="no" name="jmri.jmrit.withrottle.WiThrottleCreationAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? </startup>
</auxiliary-configuration>
?
?And confirmed it loads fine (after I hit cancel on the file dialog box from step 1, step 2 loads the panels and the program loads as expected).
That goes back to the initial assumption, that some initialization of an object (UI?) or module is missing or incomplete if step 1 is disabled. That could be due to the delay introduced by opening the dialog box in step 1, or some initialization it adds.
BTW looking at the log trace of the exception, am I correct assuming it uses Swing UI elements to "automatically" choose a file during the automated loading? Why is this needed rather than directly opening the file using the file system??
?
Regards,
?
Gil


 

Thank You Tom?
That is that problem solved.
I now have a uncluttered layout.....
--
David Hudson


Locked Re: Unable to create JmDNS with error [AWT-EventQueue-0]

 

开云体育

Randall,

Do you have disabled IPv6 in Windows 10? If so, try to enable IPv6 to see if that helps.

Daniel


On 2024-08-31 03:06, Randall Jones via groups.io wrote:

Hi Daniel
?
The session log is attached.? JMRI was started and then 'quit'.
?
Regards
Randall
?
?


Locked Re: Monitoring Loconet, some questions #digitrax #loconet

 

OK, that's what I assumed you met.? So I will run the scenario again with the raw hex enabled.

Another question, if I use the DigiIPL utility there is a box to click that says "Find Devices."? Would this show the various URs and other devices that are connected?to the Loconet.? I know I could check this out myself by just clicking, but I am not at the museum (about 20 miles away) and thought I get your input.? Thanks.? Jerry


Locked Re: Switch Lists/Manifests #operationspro

 

G'day Dan - thanks for the response and info. Another question if I may?
I'm trying to get a short ore train take 2 empty ore cars and a caboose from staging to a mine siding, swap them for the 2 full ore cars and return to staging with the caboose of course.
I can get the empty ore cars spotted at the siding but not get the full ore cars picked up for the return trip!
Not sure what settings I need to alter to get this ore car exchange working.
Cheers,
Peter


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

开云体育

Gil,

Each startup action has a checkbox "Enabled". Try to uncheck all of them, save and restart JMRI. Now JMRI should start without any problem.

Then enable _one_ startup action, save and restart. Check if the problem is back. If not, enable _one_ more startup action, save and restart.

When you get the exception back again, disable that startup action and enable all the rest. Save and restart. And check that JMRI starts without an exception.

This will tell us exactly which startup action causes this problem.

Daniel


On 2024-09-01 04:29, Gil Fuchs wrote:

This is the entire session. As you can see it is clean before the exception.
?
2024-08-31T19:17:36,606 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- * JMRI log ** [main]
2024-08-31T19:17:36,623 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- This log is stored in file: C:\Users\gfuch\JMRI\log\session.log [main]
2024-08-31T19:17:36,623 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- This log is appended to file: C:\Users\gfuch\JMRI\log\messages.log [main]
2024-08-31T19:17:36,650 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 5.8+Rbc21ce2ce7 starts under Java 11.0.23 on Windows 11 amd64 v10.0 at Sat Aug 31 19:17:36 EDT 2024 [main]
2024-08-31T19:17:39,870 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile Haifa_Jerusalem.3eb16d00 [main]
2024-08-31T19:17:40,186 node.NodeIdentity ? ? ? ? ? ? ? ? ? ? INFO ?- Using 4746c6e3-43f7-4c7e-9246-4f75ea36f028 as the JMRI storage identity for profile id 3eb16d00 [AWT-EventQueue-0]
2024-08-31T19:17:41,092 loconet.LnPacketizer ? ? ? ? ? ? ? ? ?INFO ?- lnPacketizer Started [main]
2024-08-31T19:17:41,095 hexfile.LnHexFilePort ? ? ? ? ? ? ? ? INFO ?- LocoNet Simulator Started [LocoNet HexFileFrame]
2024-08-31T19:17:41,297 roster.Roster ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Reading roster file with rootFromName(C:\Users\gfuch\OneDrive\MERG\JMRI\Haifa_Jerusalem.jmri\roster.xml) [main]
2024-08-31T19:17:41,483 startup.PerformFileModel ? ? ? ? ? ? ?INFO ?- Loading file C:\Users\gfuch\OneDrive\MERG\JMRI\Haifa_Jerusalem.jmri\H&J Panels.xml [main]
2024-08-31T19:17:41,738 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [main]
java.lang.IndexOutOfBoundsException: Invalid index
? ? at javax.swing.DefaultRowSorter.convertUnsortedUnfiltered(DefaultRowSorter.java:523) ~[?:?]
? ? at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:506) ~[?:?]
? ? at sun.swing.FilePane$SortableListModel.getElementAt(FilePane.java:751) ~[?:?]
? ? at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1438) ~[?:?]
? ? at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1389) ~[?:?]
? ? at javax.swing.plaf.basic.BasicListUI.getCellBounds(BasicListUI.java:1027) ~[?:?]
? ? at javax.swing.JList.getCellBounds(JList.java:1641) ~[?:?]
? ? at javax.swing.JList.ensureIndexIsVisible(JList.java:1153) ~[?:?]
? ? at sun.swing.FilePane.ensureIndexIsVisible(FilePane.java:1805) ~[?:?]
? ? at sun.swing.FilePane.ensureFileIsVisible(FilePane.java:1816) ~[?:?]
? ? at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.ensureFileIsVisible(WindowsFileChooserUI.java:878) ~[?:?]
? ? at javax.swing.JFileChooser.ensureFileIsVisible(JFileChooser.java:637) ~[?:?]
? ? at javax.swing.JFileChooser.setSelectedFile(JFileChooser.java:516) ~[?:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:224) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:178) ~[jmri.jar:?]
? ? at jmri.util.startup.PerformFileModel.performAction(PerformFileModel.java:39) ~[jmri.jar:?]
? ? at jmri.util.startup.StartupActionsManager.lambda$initialize$1(StartupActionsManager.java:116) ~[jmri.jar:?]
? ? at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
? ? at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?]
? ? at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
? ? at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
? ? at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
? ? at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
? ? at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
? ? at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
? ? at java.util.stream.ReferencePipeline.forEachOrdered(ReferencePipeline.java:502) ~[?:?]
? ? at jmri.util.startup.StartupActionsManager.initialize(StartupActionsManager.java:113) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.initializeProvider(JmriConfigurationManager.java:446) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.lambda$load$2(JmriConfigurationManager.java:208) ~[jmri.jar:?]
? ? at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
? ? at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357) ~[?:?]
? ? at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) ~[?:?]
? ? at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
? ? at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
? ? at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
? ? at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
? ? at java.util.stream.ReferencePipeline.forEachOrdered(ReferencePipeline.java:502) ~[?:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:208) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) ~[jmri.jar:?]
? ? at apps.Apps.<init>(Apps.java:189) ~[jmri.jar:?]
? ? at apps.PanelPro.PanelPro.<init>(PanelPro.java:40) ~[jmri.jar:?]
? ? at apps.PanelPro.PanelPro.main(PanelPro.java:123) ~[jmri.jar:?]
?
?
?
Gil


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

I tested again by changing the file name to "HJPanels.xml" and it behaved the same as with the original file name.?
The problem is elsewhere.
?
Gil


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

This could be irrelevant, just something you may want to check: the panel file name includes a '&'. Does that break XML parsing in any way?
?
Gil


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

Hi Bob, it's been a while!
?
? Here is my profile.xml:

<?xml version="1.0" encoding="UTF-8"?>
<auxiliary-configuration xmlns="http://www.netbeans.org/ns/auxiliary-configuration/1">
? ? <connections xmlns="http://jmri.org/xml/schema/auxiliary-configuration/connections-2-9-6.xsd">
? ? ? ? <connection xmlns="" class="jmri.jmrix.loconet.hexfile.configurexml.ConnectionConfigXml" disabled="no" manufacturer="Digitrax" systemPrefix="L" userName="LocoNetSim">
? ? ? ? ? ? <options>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>MaxSlots</name>
? ? ? ? ? ? ? ? ? ? <value>5</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? ? ? <option>
? ? ? ? ? ? ? ? ? ? <name>SensorDefaultState</name>
? ? ? ? ? ? ? ? ? ? <value>Inactive</value>
? ? ? ? ? ? ? ? </option>
? ? ? ? ? ? </options>
? ? ? ? </connection>
? ? </connections>
? ? <startup xmlns="http://jmri.org/xml/schema/auxiliary-configuration/startup-4-3-5.xsd">
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="yes" name="jmri.configurexml.LoadXmlConfigAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformFileModelXml" enabled="yes" name="preference:H&amp;J Panels.xml" type="XmlFile"/>
? ? ? ? <perform xmlns="" class="apps.startup.configurexml.TriggerRouteModelXml" enabled="yes" name="Init" type="Action"/>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="yes" name="jmri.web.server.WebServerAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? ? ? <perform xmlns="" class="jmri.util.startup.configurexml.PerformActionModelXml" enabled="yes" name="jmri.jmrit.withrottle.WiThrottleCreationAction" type="Action">
? ? ? ? ? ? <property name="systemPrefix" value=""/>
? ? ? ? </perform>
? ? </startup>
</auxiliary-configuration>

?
?
As you can see:
1. The first 2 actions are the panel file loads (manual/dialog box and automated).
2. The next action is setting the "init" route (which in turn runs a python script to hide most panels).
3. Followed by starting the web server and WiThrottle server.
?
Pretty standard and basic; when the exception is thrown (i.e. manual load action is disabled) it never gets beyond (1).
?
Regards,
?
Gil


Locked Re: Unusual car movement #operationspro

 

Dan,

Many thanks for the reply. I checked the Build Report (luckily I had not terminated one of the trains) and found the issue. The reason was that I had set the termination yard as not allow pickups. I was able to backup, do a test, and then restore so I did not lose the car movements that we had actually completed, and modified the route to allow pickups on termination. The rebuild of the train immediately showed the two cars that went for a trip as now being moved when the train returned to the yard.

I will do a little more testing to try out a couple of other scenarios now I am aware of this issue, but I now know of at least one solution.

Eric


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

This is the entire session. As you can see it is clean before the exception.
?
2024-08-31T19:17:36,606 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- * JMRI log ** [main]
2024-08-31T19:17:36,623 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- This log is stored in file: C:\Users\gfuch\JMRI\log\session.log [main]
2024-08-31T19:17:36,623 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- This log is appended to file: C:\Users\gfuch\JMRI\log\messages.log [main]
2024-08-31T19:17:36,650 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 5.8+Rbc21ce2ce7 starts under Java 11.0.23 on Windows 11 amd64 v10.0 at Sat Aug 31 19:17:36 EDT 2024 [main]
2024-08-31T19:17:39,870 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile Haifa_Jerusalem.3eb16d00 [main]
2024-08-31T19:17:40,186 node.NodeIdentity ? ? ? ? ? ? ? ? ? ? INFO ?- Using 4746c6e3-43f7-4c7e-9246-4f75ea36f028 as the JMRI storage identity for profile id 3eb16d00 [AWT-EventQueue-0]
2024-08-31T19:17:41,092 loconet.LnPacketizer ? ? ? ? ? ? ? ? ?INFO ?- lnPacketizer Started [main]
2024-08-31T19:17:41,095 hexfile.LnHexFilePort ? ? ? ? ? ? ? ? INFO ?- LocoNet Simulator Started [LocoNet HexFileFrame]
2024-08-31T19:17:41,297 roster.Roster ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Reading roster file with rootFromName(C:\Users\gfuch\OneDrive\MERG\JMRI\Haifa_Jerusalem.jmri\roster.xml) [main]
2024-08-31T19:17:41,483 startup.PerformFileModel ? ? ? ? ? ? ?INFO ?- Loading file C:\Users\gfuch\OneDrive\MERG\JMRI\Haifa_Jerusalem.jmri\H&J Panels.xml [main]
2024-08-31T19:17:41,738 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [main]
java.lang.IndexOutOfBoundsException: Invalid index
? ? at javax.swing.DefaultRowSorter.convertUnsortedUnfiltered(DefaultRowSorter.java:523) ~[?:?]
? ? at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:506) ~[?:?]
? ? at sun.swing.FilePane$SortableListModel.getElementAt(FilePane.java:751) ~[?:?]
? ? at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1438) ~[?:?]
? ? at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1389) ~[?:?]
? ? at javax.swing.plaf.basic.BasicListUI.getCellBounds(BasicListUI.java:1027) ~[?:?]
? ? at javax.swing.JList.getCellBounds(JList.java:1641) ~[?:?]
? ? at javax.swing.JList.ensureIndexIsVisible(JList.java:1153) ~[?:?]
? ? at sun.swing.FilePane.ensureIndexIsVisible(FilePane.java:1805) ~[?:?]
? ? at sun.swing.FilePane.ensureFileIsVisible(FilePane.java:1816) ~[?:?]
? ? at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.ensureFileIsVisible(WindowsFileChooserUI.java:878) ~[?:?]
? ? at javax.swing.JFileChooser.ensureFileIsVisible(JFileChooser.java:637) ~[?:?]
? ? at javax.swing.JFileChooser.setSelectedFile(JFileChooser.java:516) ~[?:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:224) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:178) ~[jmri.jar:?]
? ? at jmri.util.startup.PerformFileModel.performAction(PerformFileModel.java:39) ~[jmri.jar:?]
? ? at jmri.util.startup.StartupActionsManager.lambda$initialize$1(StartupActionsManager.java:116) ~[jmri.jar:?]
? ? at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
? ? at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?]
? ? at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
? ? at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
? ? at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
? ? at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
? ? at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
? ? at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
? ? at java.util.stream.ReferencePipeline.forEachOrdered(ReferencePipeline.java:502) ~[?:?]
? ? at jmri.util.startup.StartupActionsManager.initialize(StartupActionsManager.java:113) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.initializeProvider(JmriConfigurationManager.java:446) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.lambda$load$2(JmriConfigurationManager.java:208) ~[jmri.jar:?]
? ? at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
? ? at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357) ~[?:?]
? ? at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) ~[?:?]
? ? at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
? ? at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
? ? at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
? ? at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
? ? at java.util.stream.ReferencePipeline.forEachOrdered(ReferencePipeline.java:502) ~[?:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:208) ~[jmri.jar:?]
? ? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:188) ~[jmri.jar:?]
? ? at apps.Apps.<init>(Apps.java:189) ~[jmri.jar:?]
? ? at apps.PanelPro.PanelPro.<init>(PanelPro.java:40) ~[jmri.jar:?]
? ? at apps.PanelPro.PanelPro.main(PanelPro.java:123) ~[jmri.jar:?]
?
?
?
Gil


Locked Re: JMRI panel using CMRI signaling #cmri

 

Bob J,
I guess I failed to notice the baud rate set for JMRI on the CMRI interface for the old and new PC.? I will have Mike check that out.
?
On the new PC, the railroad signals will not light and the CMRI hardware crashes before we even start the panel.? The LEDs I described do show differently when running on the older PC and all of the railroad signals light up when the panel is loaded.
?
Thanks for the feedback.? I am hoping it is something that simple.?
?
Bob Bucklew
?


From: Bob <rgj1927@...>
To: jmriusers <[email protected]>
Date: Saturday, 31 August 2024 8:57 PM EDT
Subject: Re: [jmriusers] JMRI panel using CMRI signaling

Is it possible you have different baud rates selected on the two computers?

What do you mean by “the CMRI hardware crashes”? Is it just that it’s not work, with the lights you described? Or is there something else going wrong too?

Bob

> On Aug 31, 2024, at 8:41?PM, rbucklew via groups.io <rbucklew@...> wrote:
>
> My friend Mike Hartlett has been using a control panel developed initially by Nick Kulp in JMRI for several years now. The panel covers four screens and uses Loconet for turnout control and CMRI SMINI for signaling.
> The panel has been running pretty well for op sessions and we have been making some improvements to include hidden signals in some of the more complex interlockings.
> Mike was running JMRI version 4.27 on a Windows 7 PC. In the past few weeks he attempted to replace it with a newer Windows 10 PC, but still using JMRI version 4.27. After locating the correct file locations, we have been able to get the panel on the new PC to recognize the Loconet turnouts LTxx, CMRI turnouts for signals CTxx and Signals CHxx. The Loconet side is working fine, but the CMRI hardware was not being controlled by the panel from the Windows 10 PC.
> We decided to run today's op session with dark signals. After the op session today, we switched the Loconet and CMRI USB back to the old Windows 7 PC. We are able to bring up and change all signals using the old PC and JMRI panels. So we confirmed the CMRI hardware is still functioning. I found the new PC was using different COM ports and made that correction. But whenever we start the JMRI version 4.27 on the new Windows PC, the CMRI hardware crashes. I am no CMRI expert, but noticed the CMRI Interface LED stays red when running on the old PC and flashes a dim yellow after crashing on the new PC. The green SI LED shows a slow green flash when running on the old PC and immediately changes to a very fast green flash when it crashes as JMRI is started on the new PC. We don't even get a chance to load the panel before CMRI crashes.
> I am hoping a CMRI expert can help us figure out this JMRI-CMRI issue.
> Thanks in advance
> Bob Bucklew
>


Bob Jacobsen
rgj1927@...











Locked Re: JMRI panel using CMRI signaling #cmri

 

Bob B,

Did you get the complete list of nodes from the Win7 system before
trying to install on the Win10? That's a part of the profile that
generally doesn't move easily. It is in the profile with the system
connections. If it doesn't know exactly what nodes are out there, it
won't work.

If you copy the whole profile from the Win7 and place it in the Win10,
it should work. But sometimes a few edits are needed if some of the
other paths got stuck in files. Also insure every step of the startup
is copied in the same order. The panel may be sensitive to that.

One critical thing is to check the 'CMRI Network Metrics' tool to see
if there are repeating INIT messages, that would be bad. Other errors,
bad too. See what you are getting on the Win10, that will give clues.

I presume you've already checked the console for other hints.

I'm busy Sunday with the state fair. But Monday I could be available
on voice for more help.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com


Locked Re: JMRI panel using CMRI signaling #cmri

 

Is it possible you have different baud rates selected on the two computers?

What do you mean by “the CMRI hardware crashes”? Is it just that it’s not work, with the lights you described? Or is there something else going wrong too?

Bob

On Aug 31, 2024, at 8:41?PM, rbucklew via groups.io <rbucklew@...> wrote:

My friend Mike Hartlett has been using a control panel developed initially by Nick Kulp in JMRI for several years now. The panel covers four screens and uses Loconet for turnout control and CMRI SMINI for signaling.
The panel has been running pretty well for op sessions and we have been making some improvements to include hidden signals in some of the more complex interlockings.
Mike was running JMRI version 4.27 on a Windows 7 PC. In the past few weeks he attempted to replace it with a newer Windows 10 PC, but still using JMRI version 4.27. After locating the correct file locations, we have been able to get the panel on the new PC to recognize the Loconet turnouts LTxx, CMRI turnouts for signals CTxx and Signals CHxx. The Loconet side is working fine, but the CMRI hardware was not being controlled by the panel from the Windows 10 PC.
We decided to run today's op session with dark signals. After the op session today, we switched the Loconet and CMRI USB back to the old Windows 7 PC. We are able to bring up and change all signals using the old PC and JMRI panels. So we confirmed the CMRI hardware is still functioning. I found the new PC was using different COM ports and made that correction. But whenever we start the JMRI version 4.27 on the new Windows PC, the CMRI hardware crashes. I am no CMRI expert, but noticed the CMRI Interface LED stays red when running on the old PC and flashes a dim yellow after crashing on the new PC. The green SI LED shows a slow green flash when running on the old PC and immediately changes to a very fast green flash when it crashes as JMRI is started on the new PC. We don't even get a chance to load the panel before CMRI crashes.
I am hoping a CMRI expert can help us figure out this JMRI-CMRI issue.
Thanks in advance
Bob Bucklew

Bob Jacobsen
rgj1927@...


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

Hi Gil!

What else do you have in your startup actions besides the file loading?

Bob


Bob Jacobsen
rgj1927@...


Locked Re: Switch Lists/Manifests #operationspro

 

On Sat, Aug 31, 2024 at 08:21 PM, Peter Jackson wrote:
I was wondering if I could simply build all 5 trains at the start of a session, print and hand out the switch lists to operators and then simply terminate all trains at the end of the ops session?
That's how most do it.? Note that in this scenario, each train carries unique cars, that is none of the trains will carry the same car.? If you have enough cars, then 5 trains built and printed is the way to go. If you need to move the same cars more than once, then you could build say 3 trains, print Manifest and switch lists, and terminate them.? Then build 2 or 3 more and print those.? Now you have all of the paperwork before you begin your operation session.? See
consolidated mode, if you want your switch lists to include all 5 or 6 trains.
?
Be sure and complete the first 3 trains before sending out the next 2 or 3 so your cars are available. Terminate the last 2 or 3 that you got to run after the session is over.
?
You could also go paperless if your printer is giving you too many problems.
?
Dan


Locked JMRI panel using CMRI signaling #cmri

 

My friend Mike Hartlett has been using a control panel developed initially by Nick Kulp in JMRI for several years now.? The panel covers four screens and uses Loconet for turnout control and CMRI SMINI for signaling.
?
The panel has been running pretty well for op sessions and we have been making some improvements to include hidden signals in some of the more complex interlockings.
?
Mike was running JMRI version 4.27 on a Windows 7 PC.? In the past few weeks he attempted to replace it with a newer Windows 10 PC, but still using JMRI version 4.27.? After locating the correct file locations, we have been able to get the panel on the new PC to recognize the Loconet turnouts LTxx, CMRI turnouts for signals CTxx and Signals CHxx.? The Loconet side is working fine, but the CMRI hardware was not being controlled by the panel from the Windows 10 PC.
?
We decided to run today's op session with dark signals.??After the op session today, we switched the Loconet and CMRI USB back to the old Windows 7 PC.? We are able to bring up and change all signals using the old PC and JMRI panels.? So we confirmed the CMRI hardware is still functioning.? I found the new PC was using different COM ports and made that correction.? But whenever we start the JMRI version 4.27 on the new Windows PC, the CMRI hardware crashes.? I am no CMRI expert, but noticed the CMRI Interface LED stays red when running on the old PC and flashes a dim yellow after crashing on the new PC.? The green SI LED shows a slow green flash when running on the old PC and immediately changes to a very fast green flash when it crashes as JMRI is started on the new PC.? We don't even get a chance to load the panel before CMRI crashes.
?
I am hoping a CMRI expert can help us figure out this JMRI-CMRI issue.
?
Thanks in advance
?
Bob Bucklew?


Locked Switch Lists/Manifests #operationspro

 

Hi from Downunder,
I'm operating a short point-to-point On3 layout - about 65' long with turntables at either end. I'm running 4 to 5 trains each session and using Ops Pro to generate switch lists for each train. Moving around 35 pieces of rolling stock around the layout with most sidings only holding 1 to 3 cars.?
I've had a couple of operating sessions where I've functioned as the Dispatcher (with 2 yardmasters and 2 engineers) and have tried to build a train, generate a switch list for each train, print it and give it to the operator and then update JMRI by moving the train from station to station and then terminate it at end.
Sometimes the printer jammed, or the paper work got out of kilter with what I was attempting to do as the Dispatcher. Or other problems arose!
I was wondering if I could simply build all 5 trains at the start of a session, print and hand out the switch lists to operators and then simply terminate all trains at the end of the ops session?
I could then focus on Dispatcher matters and function as Mr Fixit because there are always the odd derailments and/or electrical hitch that occur during a session.
Any thoughts to assist/guide me in this respect please?
Cheers from Adelaide
Peter


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

Please post the whole system console output, not just what you think is pertinent. There may be something else in it to assist a troubleshooter.

--
Peter Ulvestad

JMRI Users Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )