@nh.schottfam
I have been chasing the delay error in the logs on my virtual switches for a while. It doesn't seem to affect anything but I don't like log errors
ā Piston waited for semaphore 61ms
I have updated to your new code a few days ago as I was getting this message:
ā WARNING: Results may be unreliable because the parent app's version(v0.3.113.20211005_HE) is newer than the child app's version(v0.3.113.20210703_HE). Please update both apps to the same version.
I was fiddling with one of these pistons and changed one line to "Rises Above" trigger instead of an "Is Greater Than" condition.
Now I get this Webcore scary error.
An error occurred while executing the event: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '0' with class 'java.lang.Integer' to class 'java.util.List'
And this big spew in the logs app:552021-10-24 14:16:18.094 errorwebCoRE exception: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '0' with class 'java.lang.Integer' to class 'java.util.List' on line 4953 org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '0' with class 'java.lang.Integer' to class 'java.util.List' at user_app_ady624_webCoRE_Piston_74.evaluateConditions(user_app_ady624_webCoRE_Piston_74.groovy:4953) at user_app_ady624_webCoRE_Piston_74.evaluateCondition(user_app_ady624_webCoRE_Piston_74.groovy:5139) at user_app_ady624_webCoRE_Piston_74.evaluateConditions(user_app_ady624_webCoRE_Piston_74.groovy:4931) at user_app_ady624_webCoRE_Piston_74.executeStatement(user_app_ady624_webCoRE_Piston_74.groovy:2603) at user_app_ady624_webCoRE_Piston_74.executeStatements(user_app_ady624_webCoRE_Piston_74.groovy:2530) at user_app_ady624_webCoRE_Piston_74.executeStatements(user_app_ady624_webCoRE_Piston_74.groovy) at user_app_ady624_webCoRE_Piston_74.executeEvent(user_app_ady624_webCoRE_Piston_74.groovy:2224) at user_app_ady624_webCoRE_Piston_74.subscribeAll(user_app_ady624_webCoRE_Piston_74.groovy:6185) at user_app_ady624_webCoRE_Piston_74.getRunTimeData(user_app_ady624_webCoRE_Piston_74.groovy:1660) at user_app_ady624_webCoRE_Piston_74.resume(user_app_ady624_webCoRE_Piston_74.groovy:1055) at user_app_ady624_webCoRE_Piston_74.setup(user_app_ady624_webCoRE_Piston_74.groovy:810) at user_app_ady624_webCoRE_73.api_intf_dashboard_piston_set_save(user_app_ady624_webCoRE_73.groovy:1453) at user_app_ady624_webCoRE_73.api_intf_dashboard_piston_set_end(user_app_ady624_webCoRE_73.groovy:1567)
app:552021-10-24 14:16:18.023 errorāā An error occurred while executing the event:org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '0' with class 'java.lang.Integer' to class 'java.util.List'
Help me Obi Wan.
PS I put the code back to the origianl and I got the same dump.
Piston example is below