JMRI will sometimes encounter errors loading XML files including layout and control panels. Some of these errors occur when loading a file created in an older version of JMRI that contains data in a format no longer supported or recognized by newer versions of JMRI.
Note It is likely that the first error encountered in an XML document will prevent further errors from being reported. The XML file should probably be reviewed for all errors listed below.
Generally these errors can be fixed by opening the XML file in text editor. You can use the text editor included in your operating system, which is often very basic, or another one downloaded from elsewhere. Atom is an XML format aware editor for Windows, macOS, and Linux with that can be used if needed.
Most remediation recommendation in the errors list below assume an ability to edit the file directly.
These errors are in alphabetical order and contain the start of the complete message.
Removed Class | Replacement Class | Remediation |
---|---|---|
jmri.configurexml.AbstractSignalHeadManagerXml | jmri.managers.configurexml.AbstractSignalHeadManagerXml | Replace instances of removed class with replacement class in file. |
Error | Remediation |
---|---|
Attribute "error" must be declared for element type "sensoricon" |
|
cvc-pattern-valid: Value 'resource:something' is not facet-valid with respect to pattern '(program:|preference:|settings:|home:|profile:|file:|http:|[a-zA-Z]:)[a-z A-Z0-9/\-_\.]*' for type 'urlType'. | Replace all instances of resource: in the XML file with
program: |
Thanks and congratulations to all who contributed! Contact us via the JMRI users Groups.io group.
Copyright © 1997 - 2024 JMRI Community. JMRI®, DecoderPro®, PanelPro™, DispatcherPro™, OperationsPro™, SignalPro™, SoundPro™, TrainPro™, Logix™, LogixNG™ and associated logos are our trademarks. Additional information on copyright, trademarks and licenses is linked here.
View the