I am trying to create a simple notification pipeline which escalates an alarm only outside of business hours.
The pipeline looks like this:
I believe the expression evaluates correctly and loops through the delay block in 'business hours' or redirects to the notification block 'out of hours', however I only ever get one notification, and then the following warning on repeat in the pipeline logs: Uncaught Throwable during notification.
Stack Trace
java.lang.NullPointerException: Cannot read the array length because "" is null
at com.inductiveautomation.ignition.alarming.pipelines.blocks.NotificationBlock$NotificationContextImpl.profiles(NotificationBlock.java:634)
at com.inductiveautomation.ignition.alarming.pipelines.blocks.NotificationBlock$NotificationContextImpl.profile(NotificationBlock.java:598)
at com.inductiveautomation.ignition.alarming.pipelines.blocks.NotificationBlock$NotificationContextImpl.run(NotificationBlock.java:553)
at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:550)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Running the same alarm into a default pipeline that literally just has the alarm notification seems to work fine.
Any suggestions appreciated.
Gateway is Ignition Maker Edition 8.1.44 running on a Raspberry Pi 4.