Notifications Fail to Load
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Notifications fail to load with a spinning 'loading' icon.
The following appears in the atlassian-confluence.log
:
2013-04-02 10:51:36,480 ERROR [http-192.168.100.11-443-Processor25] [mywork.host.rest.ExceptionLogger] toResponse Exception thrown from resource
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: org.codehaus.jackson.JsonParseException: Unexpected end-of-input: was expecting closing quote for a string value
at [Source: java.io.StringReader@7370f010; line: 1, column: 17923]
at com.google.common.cache.CustomConcurrentHashMap$ComputedUncheckedException.get(CustomConcurrentHashMap.java:3305)
at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3441)
at com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322)
at com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291)
at com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802)
at com.google.common.cache.ComputingCache.get(ComputingCache.java:46)
Cause
There is corrupt data in the tables related to notifications. How this occurs is still unknown.
Resolution
The following SQL will remove all notifications from Confluence. Please be sure that Confluence is offline before running the following.
Create a backup of the Confluence database before running the following.
DELETE FROM AO_9412A1_AONOTIFICATION;
DELETE FROM AO_9412A1_AOREGISTRATION;
If you are using Postgres, the tables should be mentioned with double quotes, eg. "AO_9412A1_AOREGISTRATION"