Hi Dave, Egbert
David, I tried as you suggested but no change as to what happens. I then removed 4.8 completely including the bits in C:\user\fraser\JMRI and renamed my user files folder so that I could in effect start from scratch. I installed 4.8 and set my user files directory to C:\Users\Fraser\Documents\Railway\JMRI\. This is where I have been working quite happily with previous versions and it's there as it is within my Railway folder that is backed up and synchronised with a Synology NFS. I have copied into here just my roster, my BR2003 FWS signal definition and the resources to go with that and of course my panelpro file 37 heaven. On opening the file in PanelPro I had the same failure as before "Error on line 3206: cvc-complex-type.2.4.a: Invalid content was found starting with element 'outputs'. One of '{systemName, disabledAspects}' is expected."
Then, before I saw Egberts response I started a new, simple layout from scratch "straight.xml". I have uploaded that to . I defined the sensors and blocks, made the track plan, defined the turnouts then signal masts then created the signalmast logic. I then saved it, quit and restarted and this is what appeared in the Console
2017-07-27 09:21:55,867 util.Log4JUtil INFO - * JMRI log ** [main]
2017-07-27 09:21:55,891 util.Log4JUtil INFO - This log is appended to file: C:\Users\Fraser\JMRI\log\messages.log [main]
2017-07-27 09:21:55,892 util.Log4JUtil INFO - This log is stored in file: C:\Users\Fraser\JMRI\log\session.log [main]
2017-07-27 09:21:55,904 apps.Apps INFO - PanelPro version 4.8+Rbe0ff15 starts under Java 1.8.0_141 on Windows 10 x86 v10.0 at Thu Jul 27 09:21:55 BST 2017 [main]
2017-07-27 09:21:56,531 apps.Apps INFO - Starting with profile My_JMRI_Railroad.3f03df36 [main]
2017-07-27 09:21:56,997 node.NodeIdentity INFO - Using jmri-0019D1E3BBD1-3f03df36 as the JMRI Node identity [main]
2017-07-27 09:21:57,093 managers.JmriUserPreferencesManager ERROR - Unable to retrieve property "windowRectangle2D" for window "jmri.jmrit.display.layoutEditor.LayoutEditor:My Layout" [main]
2017-07-27 09:21:57,341 configurexml.ConnectionConfigXml INFO - CAN Simulator Started [main]
2017-07-27 09:22:01,639 util.FileUtilSupport INFO - File path program: is C:\Program Files (x86)\JMRI\ [main]
2017-07-27 09:22:01,640 util.FileUtilSupport INFO - File path preference: is C:\Users\Fraser\Documents\Railway\JMRI\ [main]
2017-07-27 09:22:01,641 util.FileUtilSupport INFO - File path profile: is C:\Users\Fraser\JMRI\My_JMRI_Railroad\ [main]
2017-07-27 09:22:01,642 util.FileUtilSupport INFO - File path settings: is C:\Users\Fraser\JMRI\ [main]
2017-07-27 09:22:01,643 util.FileUtilSupport INFO - File path home: is C:\Users\Fraser\ [main]
2017-07-27 09:22:01,644 util.FileUtilSupport INFO - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
2017-07-27 09:22:11,309 configurexml.ErrorHandler ERROR - Parse error while parsing file /C:/Users/Fraser/Documents/Railway/JMRI/straight.xml Exception: org.jdom2.input.JDOMParseException: Error on line 139: cvc-complex-type.2.4.a: Invalid content was found starting with element 'matrixsignalmast'. One of '{turnoutsignalmast, dccsignalmast, signalmast, virtualsignalmast, signalmastrepeater}' is expected.
See for possibly more information. [AWT-EventQueue-0]
There is something VERY strange going on here!! I would imagine that a file written in 4.8 would open without eror in 4.8. The first matrix mast definition in straight starts as
<matrixsignalmast class="jmri.implementation.configurexml.MatrixSignalMastXml">
<systemName>IF$xsm:BR-2003 fws:F+4+c($0001)-3t</systemName>
<userName>two</userName>
<properties>
<property>
<key>intermediateSignal</key>
<value class="java.lang.Boolean">true</value>
</property>
</properties>
<unlit allowed="no" />
<outputs>
<output matrixCol="output1">S1C1</output>
wheras my 37 heaven starts like
<signalmast class="jmri.implementation.configurexml.MatrixSignalMastXml" userName="CW12">
<systemName>IF$xsm:BR-2003 fws:F+4+c($0012)-2t</systemName>
<userName>CW12</userName>
<unlit allowed="no" />
<outputs>
<output matrixCol="output1">CW12 Ch1</output>
<output matrixCol="output2">CW12 Ch2</output>
</outputs>
<bitStrings>
<bitString aspect="Danger">00</bitString>
These are quite different. Egbert, I'll have a go at your idea soon. Other stuff to do first.
Thanks as ever
Fraser
---In jmriusers@..., <dcc2@...> wrote :
Hi Fraser, I looked at your XML panel file, but am pretty sure the structure of the matrix signal masts is ok despite being written in 4.6. After I deleted all the extra stuff, except for 1 matrix mast and the two turnouts used as outputs, it loaded fine in de signal mast table. Didn't check your custom appearance file, but saw another error message about some "" (that's empty) number format exception for a Cbus turnout that was gone when I took out all but the 2 turnouts. You've got quite a list, so I'm sorry I was unable to look at each one.
Is there a place where you use this particular matrix mast in either an icon on your panel, in Signal Mast Logic or a signal group. That could be the spot where the mast is loaded again, and we might not have tested before. Still, my approach to find the cause would be to first take out the LayoutEditor panel and then cut the remaining file in half and see what happens. If OK, check the other half.
Please let us know what you find.
Egbert