getAckData() produces Stack Over Flow

I’m trying to get the acknowledgement data using getAckData(). But, I keep getting java.lang.StackOverflowError: null.

Would anyone have any clues?

(code and stack from logs pasted below)

def doGet(request, session):
logger = system.util.getLogger(“webdevGet”)’: )’)
alarms = system.alarm.queryJournal(
startDate=‘2017-04-12 07:00:00’,
endDate=‘2017-04-12 08:00:00’,
l = len(alarms)'length: ’ + str(l))'alarms[0]: ’ + str(alarms[0]))
result = {}
columns = [‘Id’,‘AckData’]
rows = []
for alarm in alarms:
row = []
ack = alarm.isAcked()
if ack:
result[‘columns’] = columns
result[‘rows’] = rows
return {‘json’: result}

(and the stack trace seems to repeat itself)

ServletHandler 12Apr2017 13:14:31 Error for /main/system/webdev/alarms/history
java.lang.StackOverflowError: null

at java.lang.Class.getPackage(Unknown Source)

at org.json.JSONObject.wrap(

at org.json.JSONObject.populateMap(

at org.json.JSONObject.(

at org.json.JSONObject.wrap(

at org.json.JSONObject.populateMap(

Can you try giving it a journalName in the function call?

I tried journalName=“SQLServer_SQLAuth” which is the name on the status page, and journalName=IgnitionAlarms" which was found on the connection configuration page in the field named “Extra Connection Properties” with the value of “databaseName=IgnitionAlarms”. But, neither work.

There is only one database connection so I don’t know where else to find a name for the journal.

Do you know where it should be found?