Can't Edit Rule: Unexpected Error

Oh that's not good, I've ripped out the Rule (I documented it first) and rebooted the hub as some things were acting weird and im seeing the occasional java errors in the logs now eg:

[app:11]2020-09-08 02:13:03.579 pm [error]java.lang.NullPointerException: Cannot get property 'expires_in' on null object on line 1245 (syncDevice)

[app:11]2020-09-08 02:20:32.963 pm [error](http://192.168.1.170/installedapp/configure/11)java.lang.NullPointerException: Cannot get property 'title' on null object on line 817 (dynamicDevicePage)

[app:11]2020-09-08 02:20:24.397 pm [error](http://192.168.1.170/installedapp/configure/11)groovy.lang.MissingMethodException: No signature of method: java.lang.String.call() is applicable for argument types: (java.util.HashMap) values: [[prefGroup:hcnetatmowx, title:Weather Stations & Devices]] Possible solutions: wait(), any(), wait(long), take(int), each(groovy.lang.Closure), any(groovy.lang.Closure) (connectPage)

In this case the Netatmo rain gauge is no longer working but most other things are ok atm.

Any ideas?

Never mind - I was able to fix the rain gauge by re-importing the code.