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
- Jmriusers
- Messages
Search
Locked
Re: Java exception when starting JMRI 4.20 with Java 17
Dennis, A quick test indicates the 4.22 might work with Java 17. ?4.26 definitely works with Java 17. ? Then again, maybe this a good opportunity to get current. Dave Sand ----- Original message ----- From: "Dennis Drury via groups.io" <cowrr1984=[email protected]> Subject: [jmriusers] Java exception when starting JMRI 4.20 with Java 17 Date: Wednesday, March 12, 2025 2:58 PM Hello all, ? I'm trying to get JMRI 4.20 running on a Raspberry 3b.? The RPi OS came with Java 17.0.14.? I'm wondering if JMRI 4.20 will even run with that version of Java.? If not I'll need to upgrade to the latest 5.x version of JMRI.? Thanks and take care. ? Dennis Drury Dayton, NV ? Here is the error log: ? OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. 2025-03-12 12:44:53,718 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main] 2025-03-12 12:44:54,101 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: /home/sci/.jmri/log/messages.log [main] 2025-03-12 12:44:54,110 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: /home/sci/.jmri/log/session.log [main] 2025-03-12 12:44:54,187 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - InstallTest version 4.20+Rc7ba8249b starts under Java 17.0.14 on Linux aarch64 v6.6.74+rpt-rpi-v8 at Wed Mar 12 12:44:54 PDT 2025 [main] 2025-03-12 12:44:54,605 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [main] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at jmri.util.swing.SliderSnap.init(SliderSnap.java:123) at apps.Apps.<init>(Apps.java:130) at apps.InstallTest.InstallTest.<init>(InstallTest.java:40) at apps.InstallTest.InstallTest.main(InstallTest.java:115) Caused by: java.lang.reflect.InvocationTargetException at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371) at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346) at jmri.util.swing.SliderSnap.init(SliderSnap.java:121) ... 3 more Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected int javax.swing.plaf.basic.BasicSliderUI.xPositionForValue(int) accessible: module java.desktop does not "opens javax.swing.plaf.basic" to unnamed module @42f30e0a at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:200) at java.base/java.lang.reflect.Method.setAccessible(Method.java:194) at jmri.util.swing.SliderSnap$Init.run(SliderSnap.java:410) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) ? |
Locked
Re: Java exception when starting JMRI 4.20 with Java 17
¿ªÔÆÌåÓýIf you¡¯re starting from scratch I¡¯d STRONGLY suggest looking at Steve Todd¡¯s images for Ras Pis
They take all the guesswork away
See?
Phil G
On 12 Mar 2025, at 19:58, Dennis Drury via groups.io <cowrr1984@...> wrote:
|
Re: Zimo MS450P22 CVs above #841
#zimo
#definitions
¿ªÔÆÌåÓýThink this helps a lot
The CVs should be accessible but as Nigel says, JMRI has no idea what they¡¯re for or what values are expected
It seems that the CVs are not only decoder-specific, but sound project-specific too
Phil G
On 12 Mar 2025, at 19:44, david.hull12 via groups.io <david.hull12@...> wrote:
|
Locked
Java exception when starting JMRI 4.20 with Java 17
Hello all,
?
I'm trying to get JMRI 4.20 running on a Raspberry 3b.? The RPi OS came with Java 17.0.14.? I'm wondering if JMRI 4.20 will even run with that version of Java.? If not I'll need to upgrade to the latest 5.x version of JMRI.? Thanks and take care.
?
Dennis Drury
Dayton, NV
?
Here is the error log:
?
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
2025-03-12 12:44:53,718 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2025-03-12 12:44:54,101 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: /home/sci/.jmri/log/messages.log [main]
2025-03-12 12:44:54,110 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: /home/sci/.jmri/log/session.log [main]
2025-03-12 12:44:54,187 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - InstallTest version 4.20+Rc7ba8249b starts under Java 17.0.14 on Linux aarch64 v6.6.74+rpt-rpi-v8 at Wed Mar 12 12:44:54 PDT 2025 [main]
2025-03-12 12:44:54,605 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [main]
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at jmri.util.swing.SliderSnap.init(SliderSnap.java:123)
at apps.Apps.<init>(Apps.java:130)
at apps.InstallTest.InstallTest.<init>(InstallTest.java:40)
at apps.InstallTest.InstallTest.main(InstallTest.java:115)
Caused by: java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346)
at jmri.util.swing.SliderSnap.init(SliderSnap.java:121)
... 3 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected int javax.swing.plaf.basic.BasicSliderUI.xPositionForValue(int) accessible: module java.desktop does not "opens javax.swing.plaf.basic" to unnamed module @42f30e0a
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:200)
at java.base/java.lang.reflect.Method.setAccessible(Method.java:194)
at jmri.util.swing.SliderSnap$Init.run(SliderSnap.java:410)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
?
|
Re: Zimo MS450P22 CVs above #841
#zimo
#definitions
Nigel, thanks for your help. The reason for the query is because they are referred to in the manual for the new Dapol/Rails Class 88 sound fitted loco. The function of each is as follows:
CV981/2/3 variation of flange squeal between light and loaded engine.
CV984 Cab door closing volume
CV988 Traction motors volume?
CV990 Variable delay between pantograph contacting OLE and startup of motors.
I haven¡¯t contacted Dapol regarding how to access these scripted CVs in order to change them. Maybe a call to them will help? Any help you could provide will be most appreciated. |
Re: Zimo MS450P22 CVs above #841
#zimo
#definitions
¿ªÔÆÌåÓýTo me it looks like these scripts are how you tell a Zimo decoder to do more complex things (like an uncoupling sequence perhaps?)Then the aforementioned CVs allow some variables to be passed into the scripts to modify the script behaviour (guessing, things like how far to shuffle on an uncouple request??)
But this is guesswork on my part
Phil G On 12 Mar 2025, at 17:27, Nigel Cliffe via groups.io <nigel.cliffe@...> wrote:
|
Re: OperationsPro New feature, Routes
#operationspro
This feature could not have come at a better time. I have a local switcher which works one specific location that has 5 different spurs. I have a spur that receives empties from one spur and ships loads to back to the same spur in the same location. This solves my problem of getting movement since the switcher is the only locomotive used here.
?
Joe |
Re: Zimo MS450P22 CVs above #841
#zimo
#definitions
¿ªÔÆÌåÓýThey're not in the decoder file.? I wrote the original version.? When I wrote it, I couldn't find any explanation of what they did, or why they were useful? (all I can deduce is some connection between scripted activity created in the
sound project and the CVs, but nothing that actually tells me anything about them).? ?
That may have changed with newer manuals, in which case an update is required.? ? ?Do you know what those CV's do, and why they might be needed ?
All the usual CVs for moving things around inside a Zimo decoder don't need indexing, unlike ESU.??
- Nigel
------ Original Message ------
From "david.hull12 via groups.io" <david.hull12@...>
Date 12/03/2025 14:37:52
Subject [jmriusers] Zimo MS450P22 CVs above #841
|
Re: OperationsPro New feature, Routes
#operationspro
On Tue, Mar 11, 2025 at 02:17 PM, Dan Boudreau wrote:
If you disable "allow local moves" then all local moves for that train are disabled.? You need both, local moves allow in the train's route, and the "allow local moves" for the train.? This allows you to share the same route for trains that perform local moves, and one's that do not. That's what I thought.? I will use this new feature when running my trains and let you know if I find any issues.
--
Tom |
Re: Problems With dispatcher
#dispatcher
Brett, Someone else will need to answer the decoder question. ? Dispatcher and Warrants are two approaches to automation. ?They are VERY different. Dispatcher uses Layout Editor (LE) panels, blocks, sections and transits. Warrants use Control Panel Editor (CPE) panels, OBlocks, Portals and OPaths. ? Either approach can use signal heads/SSL or signal masts/SML. ?When using LE panels, SML can be automatically generated but it has to be done manually when using CPE panels. Based on user group discussions, it appears that Dispatcher is used much more often than Warrants. ?I would estimate more the 90%. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Tuesday, March 11, 2025 11:33 PM Dave Sand ,I thank you. The First mistake you mention was me playing around with settings and forgot to fix,the other suggestions i would never have worked out in a hundred years. The test ran Like magic. To think you(and many others here) take the time to help people like me is a credit to you all. ? Now if i could ask just a few things and stretch my welcome. ? 1.when entering a (new)Loco into the roster,do? you have to "write changes"back to decoder,even if the Decoder has already been Programmed with and I.D?(im very aware of dangers writing to? decoders) is it because JRMI needs to know the info on a decoder? 2. In your opinion,If i want to automate the layout with 4 Seperate trains,running both together and alone,which would be suitable,Dispactcher or Warrants?(are they different?) ? Thanks again and warm regards Brett |
Zimo MS450P22 CVs above #841
#zimo
#definitions
I have just taken delivery of a loco fitted with the above decoder and carried out a CV ¡°read all sheets¡± with DecoderPro. It appears to not display CV numbers greater than 841. How do I read/write these? I am familiar with ESU¡¯s Indexing process to access a large number of CVs, but can only find a process called scripted CVs in the Zimo instruction manual. Maybe I am dumb, but definitely need help here. Thanks in advance. |
Re: Problems With dispatcher
#dispatcher
Dave Sand ,I thank you.
The First mistake you mention was me playing around with settings and forgot to fix,the other suggestions i would never have worked out in a hundred years.
The test ran Like magic.
To think you(and many others here) take the time to help people like me is a credit to you all.
?
Now if i could ask just a few things and stretch my welcome.
?
1.when entering a (new)Loco into the roster,do? you have to "write changes"back to decoder,even if the Decoder has already been Programmed with and I.D?(im very aware of dangers writing to? decoders) is it because JRMI needs to know the info on a decoder?
2. In your opinion,If i want to automate the layout with 4 Seperate trains,running both together and alone,which would be suitable,Dispactcher or Warrants?(are they different?)
?
Thanks again and warm regards
Brett |
Re: Problems With dispatcher
#dispatcher
Brett, The first thing to fix is the direction sensors for "Block 3 TO". ?This is cosmetic but confusing. ?Then you need to use the Sections tools menu to Remove Direction Sensors from SSL and then Set Direction Sensors in SSL. Here is the Dispatcher options that I used for your layout. The "Train in selected Transit" wants to know if the first block is occupied by the desired train. ?I have never tried an alternate starting location, so I always check it. When using signal heads with SSL, you always need to have direction sensors. ?They become part of the SSL definitions. ?I prefer to use signal masts with signal mast logic. ?Then direction sensors are optional and generally not used. Setting up signal masts and SML is different. ?A good introduction is at? Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Tuesday, March 11, 2025 7:40 PM Hi Dave? I have updated the File Ive created 3 Sections and One transits for testing. ? Q.When i come to Run the train Auto there is a Box that says "is train in transit"not sure if thats asking if the train is in the position it should be?The reason i ask is under that there is a drop tab,if i dont tick the above option there is a block saying 2-2,if i do it changes to 1 (the first section of the transit).Thats confusing question i know say ignore if irrelevant. Cheers Brett |
Re: Problems With dispatcher
#dispatcher
Hi Dave?
I have updated the File
Ive created 3 Sections and One transits for testing.
?
Q.When i come to Run the train Auto there is a Box that says "is train in transit"not sure if thats asking if the train is in the position it should be?The reason i ask is under that there is a drop tab,if i dont tick the above option there is a block saying 2-2,if i do it changes to 1 (the first section of the transit).Thats confusing question i know say ignore if irrelevant.
Cheers Brett |
Re: Problems With dispatcher
#dispatcher
Thats good news.
No the last file save didnt include those .I will create them and reload.
Thanks for looking Dave,appreciate it.
I think it will be directions of my Sections,im a bit confused there. |
Re: Problems With dispatcher
#dispatcher
Brett, The panel, signal heads and SSL look fine. ?However, there are no Sections or Transits. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: Re: [jmriusers] Problems With dispatcher #dispatcher Date: Tuesday, March 11, 2025 4:07 PM Thankyou Dave,Im not sure what that file is but i guess its the layout saved file?If it is i have uploaded it,its called "working signals stopping sensors" Thanks ,regards Brett |
Re: OperationsPro New feature, Routes
#operationspro
On Tue, Mar 11, 2025 at 04:10 PM, Tom Myrick wrote:
What is the interaction between the "allow local moves" in the train build options vs setting for each location in the route. If you disable "allow local moves" then all local moves for that train are disabled.? You need both, local moves allow in the train's route, and the "allow local moves" for the train.? This allows you to share the same route for trains that perform local moves, and one's that do not.
?
Dan |
Re: Problems With dispatcher
#dispatcher
Thankyou Dave,Im not sure what that file is but i guess its the layout saved file?If it is i have uploaded it,its called "working signals stopping sensors"
Thanks ,regards Brett |
Re: OperationsPro New feature, Routes
#operationspro
On Tue, Mar 11, 2025 at 05:04 AM, Dan Boudreau wrote:
Has anyone downloaded 5.11.4 to try the new route feature?? Feedback on the new route feature appreciated. I have downloaded this version and adjusted the locations for my routes that I want local moves.? What is the interaction between the "allow local moves" in the train build options vs setting for each location in the route.? For example, do you need to have "Allow local moves if car has a custom load or FD" checked for the train in order for this new feature to be active for a route when a location is checked???
--
Tom |
Re: OperationsPro New feature, Routes
#operationspro
On Tue, Mar 11, 2025 at 05:04 AM, Dan Boudreau wrote:
Has anyone downloaded 5.11.4 to try the new route feature?? Feedback on the new route feature appreciated. I will download and get back to you.
--
Tom |
to navigate to use esc to dismiss