# Alarm Scripting Errors From version 7.6.1 to 7.6.2

**URL:** <https://forum.inductiveautomation.com/t/alarm-scripting-errors-from-version-7-6-1-to-7-6-2/6755>\
**Category:** Ignition\
**Created:** [June 24, 2013, 4:11pm UTC](https://forum.inductiveautomation.com/t/alarm-scripting-errors-from-version-7-6-1-to-7-6-2/6755 "2013-06-24T16:11:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chruby](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@chruby](https://forum.inductiveautomation.com/u/chruby)\
**Post date:** [June 24, 2013, 4:11pm UTC](https://forum.inductiveautomation.com/t/alarm-scripting-errors-from-version-7-6-1-to-7-6-2/6755/1 "2013-06-24T16:11:55Z")

</div>

I am getting a script error when trying to setup an Alarming button that works in 7.6.1 but not in 7.6.2.

This is the script in 7.6.1:

runScript(“system.alert.queryAlertStatus(” + “activeAndAcked=” + toInt({Root Container.Alarms.activeAndAcked}) + “,” + “activeAndUnacked=” + toInt({Root Container.Alarms.activeAndUnacked}) + “,” +  
“).rowCount”, 1000)

This is there error I receive in 7.6.2:

Exception: Error executing expression binding on  
L1\_MENU.Root Container.Alarms.alarms  
caused by ExpressionException: Error executing script for runScript() expression:system.alert.queryAlertStatus(activeAndAcked=1,activeAndUnacked=1,).rowCount  
caused by Traceback (most recent call last):

File “expression:runScript”, line 1, in

com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Unable to read response from Gateway.

```
caused by GatewayException: Unable to read response from Gateway.
caused by java.lang.ClassNotFoundException: com.inductiveautomation.ignition.gateway.alert.AlertEventAlarmAdapter

```

Ignition v7.6.2-rc1 (b2316)  
Java: Sun Microsystems Inc. 1.6.0\_07

Am I missing something or is there an issue here?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 24, 2013, 4:24pm UTC](https://forum.inductiveautomation.com/t/alarm-scripting-errors-from-version-7-6-1-to-7-6-2/6755/2 "2013-06-24T16:24:39Z")

</div>

There’s an issue, I think it’s fixed in the latest 7.6.2 rc.

---

<div class="post-metadata">

**Author:** ![chruby](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@chruby](https://forum.inductiveautomation.com/u/chruby)\
**Post date:** [July 3, 2013, 1:01pm UTC](https://forum.inductiveautomation.com/t/alarm-scripting-errors-from-version-7-6-1-to-7-6-2/6755/3 "2013-07-03T13:01:13Z")

</div>

Thanks I believe most of the the error is fixed now…I am still having an issue with the alarm button displaying 2 active and uacknowledged alarms when there are no new alarms present.

Any ideas why this would be occurring?

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [July 12, 2013, 6:55pm UTC](https://forum.inductiveautomation.com/t/alarm-scripting-errors-from-version-7-6-1-to-7-6-2/6755/4 "2013-07-12T18:55:20Z")

</div>

Just a shot, but you can try to clear the .alerts cache in the Ignition data folder. You will need to stop the Ignition service first.
