CAS returns error "JSON.decode(): You're trying to decode an invalid JSON String" when accessing statistics/overview page.

book

Article ID: 168939

calendar_today

Updated On:

Products

Content Analysis Software - CA

Issue/Introduction

When trying to display the CAS overview statistics, Firefox displays an unresponsive script error or an error stating invalid json string. This issue has been reported in 1.3.5.1 but it has been seen in prior releases of the code.

Cause

The json error is due to badly terminated json string. it is quite likely
the flood of virus info to the stats is causing this. 
The last line should be:

timestamp":14496736}]

and not:

timestamp":14496736]

Basically missing the closing "}"


hence parsing error.


 

Resolution

Bug 231680 has been raised up to engineering to fix this issue.

Workaround

Resetting the statistics will resolve the issue temporarily.