开云体育

Re: Unable to Delete a Sensor; Then a Java Error Displays when Storing the XML


 

The "Tools -> Where Used" report might give you better information.

Apparently the "Usage" tab does not find all references.

Dave Sand



----- Original message -----
From: "Bob Wesneski via groups.io" <rswesne=[email protected]>
Subject: [jmriusers] Unable to Delete a Sensor; Then a Java Error Displays when Storing the XML
Date: Wednesday, February 26, 2025 3:53 PM

Problem Statement:
Using the attached config.
?
I try to delete this sensor:? IS51 Show Route: Sawmill to Team 2 V2.
On the Sensors panel, the item is not deleted but I get no error message.? I've been fighting this for a few hours and I THINK I saw that, once I get this behavior, then no Sensors will be deleted from then on, until you restart PanelPro.
?
When I store the modified config, I get the error message shown in the attached log.
?
Resolution:
I finally figured out that, at one time, on the Route:? Sawmill to Team 2, I had assigned the IS51 sensor as a?
"Sensor that activates when all Route Turnouts are correctly aligned".? When I removed that association, I was able to delete IS51 and all was good.??
?
So, I'm okay now.
?
Followup Request:
I think that PanelPro should have detected that IS51 was used by the Route and should have stopped the Delete action from proceeding.? I've seen it give a message when it detects that a Sensor is used somewhere and then stopped the Delete from proceeding.? I actually did check the "Usage" tab for IS51 before trying to delete it and it said it wasn't used anywhere.

Attachments:
  • newproduction-start25-02-25 - Copy.xml
  • jmrilog.txt

Join [email protected] to automatically receive all group messages.