Piston crashed maybe due to adding new presence device?


#1

hi i tried to edit my arive home piston and add in @ady624 new presence device as well as improve it and this happened.

11/10/2017, 12:45:57 +395ms
+326ms ║An error has occurred while subscribing: groovy.lang.MissingPropertyException: No such property: r for class: java.lang.Boolean
11/10/2017, 12:27:29 +326ms
+289ms ║An error has occurred while subscribing: groovy.lang.MissingPropertyException: No such property: r for class: java.lang.Boolean

now it wont let me put in and effects. If i duplicate the piston it still has the issue


#2

Can you find out the error line in the IDE Live Logging please? Thank you.


#3

Sorry @ady624 where will I find that?


#4

13/10/2017, 07:54:30 +234ms +3ms ╔Received event [Home].test = 1507877670227 with a delay of 6ms +146ms ║RunTime Analysis CS > 20ms > PS > 49ms > PE > 75ms > CE +157ms ║Runtime (50882 bytes) successfully initialized in 49ms (v0.2.0fa.20171011) (153ms) +160ms ║╔Execution stage started +168ms ║║Comparison (enum) on is (string) on = true (1ms) +169ms ║║Condition #42 evaluated true (6ms) +170ms ║║Condition group #null evaluated true (state did not change) (7ms) +174ms ║║Comparison (string) :00a05f15f14bac7fcf8b8b721fbdb88b: is (string) :7d38143ce28f077111de1773d2583cdb: = false (1ms) +175ms ║║Condition #41 evaluated false (3ms) +176ms ║║Condition group #2 evaluated false (state did not change) (4ms) +185ms ║║Condition #53 evaluated false (7ms) +186ms ║║Condition group #5 evaluated false (state did not change) (7ms) +195ms ║║Condition #19 evaluated false (7ms) +196ms ║║Condition group #14 evaluated false (state did not change) (8ms) +204ms ║║Condition #46 evaluated false (4ms) +204ms ║║Condition group #45 evaluated false (state did not change) (5ms) +239ms ║║Comparison (enum) present is (string) present = true (1ms) +240ms ║║Condition #49 evaluated true (35ms) +246ms ║║Comparison (time) 28470475 is_between (time) 30600000 .. (time) 32400000 = false (4ms) +248ms ║║Condition #50 evaluated false (6ms) +248ms ║║Condition group #48 evaluated false (state did not change) (43ms) +249ms ║║Condition group #44 evaluated false (state did not change) (51ms) +250ms ║║Cancelling statement #22's schedules... +251ms ║║Condition group #22 evaluated false (state did not change) (53ms) +252ms ║║Cancelling statement #23's schedules... +279ms ║║Executed virtual command setLocationMode (22ms) +282ms ║╚Execution stage complete. (124ms) +292ms ╚Event processed successfully (292ms) 13/10/2017, 07:52:53 +41ms +265ms ║An error has occurred while subscribing: groovy.lang.MissingPropertyException: No such property: r for class: java.lang.Boolean

bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║║ Condition group #14 evaluated false (state did not change) (8ms) bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║║ Condition group #2 evaluated false (state did not change) (4ms) bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║║ Condition #19 evaluated false (7ms) bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║║ Comparison (string) :00a05f15f14bac7fcf8b8b721fbdb88b: is (string) :7d38143ce28f077111de1773d2583cdb: = false (1ms) bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║║ Condition #53 evaluated false (7ms) bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║║ Condition #41 evaluated false (3ms) bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║║ Condition group #null evaluated true (state did not change) (7ms) bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║║ Comparison (enum) on is (string) on = true (1ms) bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: trace ║╚ Execution stage started bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: debug ║ RunTime Analysis CS > 20ms > PS > 49ms > PE > 75ms > CE bd80be79-4ded-40c1-a56e-1a1e757765a8 07:54:30: info ╚ Received event [Home].test = 1507877670227 with a delay of 6ms bd80be79-4ded-40c1-a56e-1a1e757765a8 07:52:53: error ║ An error has occurred while subscribing: groovy.lang.MissingPropertyException: No such property: r for class: java.lang.Boolean @ line 4488

I wonder if you fixed it in the update?
Sorry I did know how to get the logging on the IDE but wasn’t sure, didn’t want to paste it if it was wrong. But after @c1arkbar post this should be everything you need. :smile: line 4488


#5

In your bottom async IF you have an empty ELSE async IF so I cannot see how that statement will work. Don’t know if that is your issue but thought I would point it out.
You might want to correct this first.
Also your first async IF has an ELSE that is empty of actions.


#6

The piston isn’t complete because it wouldn’t let me fill anything in that was the issue, it kind of crashed. I have re wrote the piston from scratch to work it again. I thought it may have been because I was trying to introduce the new WebCoRE presence sensor to it.

This is the new piston all be it without the new pressence yet, it seems to be working sofar.

edit: don’t know why line 27 OR times havnt shown up as they are there on the piston?


#7

Thank you, that was what I needed, the line number. Won’t be able to do much until Monday though, in Connecticut today, will be in New Jersey tomorrow. Anyone going to Pats@Jets? :wink:


#8

Will be attending my first NFL game at Gillette vs the Chargers at the end of the month. Can’t wait! I’ve been following the Pats and Tom since 2001, it’s about time I get there before he retires.