I have strange crash from time to time with the block "When near cell" set to trigger "when change"
Log say:
2017-02-02 19:14:07.221 FAIL 711940@11: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.telephony.TelephonyManager.getAllCellInfo()' on a null object reference
2017-02-02 19:14:07.608 FAIL 711940@11: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.telephony.TelephonyManager.getNeighboringCellInfo()' on a null object reference
2017-02-04 11:05:36.462 FAIL 715113@11: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.telephony.TelephonyManager.getAllCellInfo()' on a null object reference
2017-02-04 11:05:36.627 FAIL 715113@11: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.telephony.TelephonyManager.getNeighboringCellInfo()' on a null object reference
As I understand it's a bug since this block has no reason to crash the flow...
Can you please try to fix it? What kind of extra information do you need? It can run for one or two days and then it crash...
Attached another log made with full debug option... Can't you had something like a catch and wait few seconds to restart the scan? Or trigger the event with an empty list...
I have added error handling as you can see below but if I need do it for each block who rely on hardware it's not so good, especially when set as when change...
Hope you can do something...
Best regards