开云体育

Error message “Could not locate configuration file default_lcf.xml


 

Hello everyone.
Could you please help me with this problem, thank you.
?
When I start JMRI, I keep getting the error message “Could?
?not locate configuration file default_lcf.xml”
This happens with versions 5.5.4 onwards to the latest release, however I get no problems with version 5.5.3.
I might be wrong, but I think in version 5.5.4, it’s the first time default_lcf.xml appears in the main JMRI directory.
?
My setup is Raspberry Pi 4 model B 8GB running the Bullseye operating system.
?
Thank you very much.


 


On Wed, 5 Mar 2025, 13:29 John Davie via , <jdavie62=[email protected]> wrote:
Hello everyone.
Could you please help me with this problem, thank you.
?
When I start JMRI, I keep getting the error message “Could?
?not locate configuration file default_lcf.xml”
This happens with versions 5.5.4 onwards to the latest release, however I get no problems with version 5.5.3.
I might be wrong, but I think in version 5.5.4, it’s the first time default_lcf.xml appears in the main JMRI directory.
?
My setup is Raspberry Pi 4 model B 8GB running the Bullseye operating system.
?
Thank you very much.


 

John,

After starting JMRI, go to "Help -> System Console". ?Click on the "Copy to clipboard" button and paste into a reply.

Dave Sand


----- Original message -----
From: "John Davie via groups.io" <jdavie62=[email protected]>
Subject: [jmriusers] Error message “Could not locate configuration file default_lcf.xml
Date: Wednesday, March 05, 2025 7:10 AM

Hello everyone.
Could you please help me with this problem, thank you.
?
When I start JMRI, I keep getting the error message “Could?
?not locate configuration file default_lcf.xml”
This happens with versions 5.5.4 onwards to the latest release, however I get no problems with version 5.5.3.
I might be wrong, but I think in version 5.5.4, it’s the first time default_lcf.xml appears in the main JMRI directory.
?
My setup is Raspberry Pi 4 model B 8GB running the Bullseye operating system.
?
Thank you very much.


 

Thank you very much, Dave.
?
Here's the output from the System console. version 5.5.3
?
19:36:13.443 [AWT-EventQueue-0] ERROR jmri.util.exceptionhandler.UncaughtExceptionHandler - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler
java.lang.NullPointerException: null
? ? at java.io.File.<init>(File.java:278) ~[?:?]
? ? at jmri.jmrit.XmlFileLocationAction.getLocationsReport(XmlFileLocationAction.java:162) ~[JMRI/:?]
? ? at jmri.jmrit.XmlFileLocationAction.actionPerformed(XmlFileLocationAction.java:133) ~[JMRI/:?]
? ? at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) ~[?:?]
? ? at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) ~[?:?]
? ? at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) ~[?:?]
? ? at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) ~[?:?]
? ? at javax.swing.AbstractButton.doClick(AbstractButton.java:374) ~[?:?]
? ? at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1028) ~[?:?]
? ? at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1072) ~[?:?]
? ? at java.awt.Component.processMouseEvent(Component.java:6626) ~[?:?]
? ? at javax.swing.JComponent.processMouseEvent(JComponent.java:3389) ~[?:?]
? ? at java.awt.Component.processEvent(Component.java:6391) ~[?:?]
? ? at java.awt.Container.processEvent(Container.java:2266) ~[?:?]
? ? at java.awt.Component.dispatchEventImpl(Component.java:5001) ~[?:?]
? ? at java.awt.Container.dispatchEventImpl(Container.java:2324) ~[?:?]
? ? at java.awt.Component.dispatchEvent(Component.java:4833) ~[?:?]
? ? at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) ~[?:?]
? ? at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575) ~[?:?]
? ? at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) ~[?:?]
? ? at java.awt.Container.dispatchEventImpl(Container.java:2310) ~[?:?]
? ? at java.awt.Window.dispatchEventImpl(Window.java:2780) ~[?:?]
? ? at java.awt.Component.dispatchEvent(Component.java:4833) ~[?:?]
? ? at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775) ~[?:?]
? ? at java.awt.EventQueue$4.run(EventQueue.java:720) ~[?:?]
? ? at java.awt.EventQueue$4.run(EventQueue.java:714) ~[?:?]
? ? at java.security.AccessController.doPrivileged(AccessController.java:399) ~[?:?]
? ? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) ~[?:?]
? ? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) ~[?:?]
? ? at java.awt.EventQueue$5.run(EventQueue.java:747) ~[?:?]
? ? at java.awt.EventQueue$5.run(EventQueue.java:745) ~[?:?]
? ? at java.security.AccessController.doPrivileged(AccessController.java:399) ~[?:?]
? ? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) ~[?:?]
? ? at java.awt.EventQueue.dispatchEvent(EventQueue.java:744) ~[?:?]
? ? at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
? ? at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
? ? at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
? ? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
? ? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
? ? at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
?
?


 

You should post the whole console output, not just what you think is pertinent.

--
Peter Ulvestad
Linux Mint 22.1, JMRI 5.11.3plus, Java 21.0.5
JMRI Users Group Moderator ( /g/jmriusers )
JMRI Developers Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )


 

Thank you very much for your help. The information you provided worked.
Kind regards.