# Alert Notification Error

**URL:** <https://forum.inductiveautomation.com/t/alert-notification-error/5516>\
**Category:** Ignition\
**Created:** [December 2, 2012, 10:22pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516 "2012-12-02T22:22:27Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [December 2, 2012, 10:22pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/1 "2012-12-02T22:22:27Z")

</div>

Hi,

I have been getting the below errors for awhile now Version 7.4 or 7.5 , they dont seem to affect the alert email or filtering at all but I just want to tidy up any errors in the console.

Expressions are VALID but for some reason it only errors when I have {[SEVERITY]} in the expression. eg…

{[Display\_Path]}=“JB0265 Wheatstone” && {[Severity]} = 4 && {[JB0265\_Wheatstone\_Fly]Controls/Email Notification} = 1 creates the error but

{[Display\_Path]}=“JB0265 Wheatstone” && {[JB0265\_Wheatstone\_Fly]Controls/Email Notification} = 1

Dosen’t…

```auto
2012-12-02 5:21:18 AM Plant Alert Email Notification Error evaluating distribution group expression. Group: JB0265 Wheatstone Flycamp

java.lang.NullPointerException
	at com.inductiveautomation.ignition.gateway.alert.AlertVariable.getFrom(AlertVariable.java:97)
	at com.inductiveautomation.ignition.gateway.alert.AbstractAlertExpressionContext$AlertVariableExpression.execute(AbstractAlertExpressionContext.java:111)
	at com.inductiveautomation.ignition.common.expressions.EqualityExpression.execute(EqualityExpression.java:43)
	at com.inductiveautomation.ignition.common.expressions.LogicalExpression.execute(LogicalExpression.java:48)
	at com.inductiveautomation.ignition.common.expressions.LogicalExpression.execute(LogicalExpression.java:47)
	at com.inductiveautomation.ignition.gateway.alert.notification.distrogroups.DistroGroup.checkAlert(DistroGroup.java:76)
	at com.inductiveautomation.ignition.gateway.alert.notification.DistributionEmailAlertNotificationProfile.getAddresses(DistributionEmailAlertNotificationProfile.java:571)
	at com.inductiveautomation.ignition.gateway.alert.notification.AbstractEmailAlertNotificationProfile.receiveAlert(AbstractEmailAlertNotificationProfile.java:118)
	at com.inductiveautomation.ignition.gateway.alert.notification.DistributionEmailAlertNotificationProfile.receiveAlert(DistributionEmailAlertNotificationProfile.java:555)
	at com.inductiveautomation.ignition.gateway.alert.notification.AlertNotificationManagerImpl.receiveAlert(AlertNotificationManagerImpl.java:211)
	at com.inductiveautomation.ignition.gateway.alert.AlertBusImpl$Publisher.run(AlertBusImpl.java:88)
	at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:526)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
 
```

Any thoughts?

cheers

tim…

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [December 3, 2012, 6:25pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/2 "2012-12-03T18:25:35Z")

</div>

I can’t reproduce this issue, what version of Ignition, OS, and Java are you using?

Also, if it’s not too much trouble could you upload a project backup, and/or your alert notification profile settings?

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [December 3, 2012, 9:56pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/3 "2012-12-03T21:56:45Z")

</div>

It looks like that must be happening trying to process alert messages that don’t actually have severity set. I’m not sure how that could happen, perhaps with the startup “register” messages . Does this only occur when starting the system, or all of the time?

Regards,

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [December 4, 2012, 12:32am UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/4 "2012-12-04T00:32:37Z")

</div>

Using Windows Server 2008, Java 7 u9, Ignition 7.5.4 (b1206)

This is not related to the latest version of Ignition as I have seen these issues with previous versions.

I cant see any real pattern to when the errors appear as they pop up multiple times in a couple of seconds or just once.

There are multiple Notification groups and all appear at the same time unless I remove the SEVERITY, then only those with SEVERITY appear. [logs.bin.gz](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/da5d9865120a137ece1c7cf19a2c38b2b8ef9cf5.gz) (446 KB)

Is there a way to export the notification setup for you to see?

The Gateway is setup with multiple projects (hub and spoke style) with a single Alert DB and a complete backup is about 75MB. Is there a way to get the backup to you?

Cheers

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [December 5, 2012, 8:31pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/5 "2012-12-05T20:31:11Z")

</div>

Upload the gateway backup here:

[inductiveautomation.com/uploads](http://www.inductiveautomation.com/uploads)

Use ticket number 9463.

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [December 5, 2012, 10:07pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/6 "2012-12-05T22:07:25Z")

</div>

Thanks James,

Backup has now been uploaded.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [December 6, 2012, 6:19pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/7 "2012-12-06T18:19:06Z")

</div>

It looks like you’re using a database table to store the distribution group information, can you upload that table to the ticket as well? Thanks.

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [December 6, 2012, 10:29pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/8 "2012-12-06T22:29:59Z")

</div>

MS SQL contacts DB backup has been uploaded.

Cheers

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [December 6, 2012, 11:14pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/9 "2012-12-06T23:14:29Z")

</div>

What type of file did you export the table as? The file extension is missing.

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [December 6, 2012, 11:31pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/10 "2012-12-06T23:31:55Z")

</div>

Its a MS SQL Database backup… They dont seem to have an extension??

You should be able to restore it to a MS SQL server instance.

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [December 6, 2012, 11:41pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/11 "2012-12-06T23:41:28Z")

</div>

This is the MS SQL version info if it helps?

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/692874ce8a4486a1da23a2050e0b317e8534e29b.PNG)

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [December 12, 2012, 10:35pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/12 "2012-12-12T22:35:07Z")

</div>

Still having trouble replicating this issue. I would suggest calling in to tech support (800) 266-7798 so one of the tech support reps can take a look at the actual system. Be sure to reference ticket 9463 when calling in.

---

<div class="post-metadata">

**Author:** ![0sm0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/0sm0/32/15228_2.png) [@0sm0](https://forum.inductiveautomation.com/u/0sm0)\
**Post date:** [December 12, 2012, 10:40pm UTC](https://forum.inductiveautomation.com/t/alert-notification-error/5516/13 "2012-12-12T22:40:30Z")

</div>

No probs,

Thanks for having a look.

As I said it is not causing any dramas will give the support guys a call.

Cheers
