Steve, Andy, I am still working on this issue. ?The scope has expanded. ? Start JMRI with CBUS Simulator, open the Sensor table, select Add, select MERG, type the letter a. ?The same java exception that occurs when adding a second internal sensor. Current issues:
Dave Sand ----- Original message ----- From: Dave Sand <ds@...> Subject: Re: [jmriusers] java Exception when try to add a second internal sensor Date: Tuesday, November 26, 2019 2:54 PM Steve, I have identified a possible cause for the unexpected CBUS validation. ?There is a listener left when the first Add window is closed which is triggered when Add is selected again. ?When CBUS is the FIRST connection, it gets called to validate the saved input from the first add. ?The previous value is reused to facilitate entering multiple similar names. If LocoNet, NCE, etc. are the FIRST connection, they get called instead of CBUS, but their validation is not as comprehensive as CBUS so the error does not occur. ?Creating a virtual LocoNet connection as the first connection is a temporary work around. ?A review of Preferences >> Defaults would be required. I still need to identify if this is the true problem and figure out a solution. ?Another issue is that there is a change to validation in progress which may or may not affect this particular issue. Dave Sand ----- Original message ----- From: "steve young via Groups.Io" <icklesteve@...> Subject: Re: [jmriusers] java Exception when try to add a second internal sensor Date: Tuesday, November 26, 2019 10:39 AM Hi Andy, Thanks for reporting, have been able to reproduce the same exception. Will need to do a bit of digging around why any sort of Internal Sensor validation is going via CBUS Sensor validation, Steve. |