Notifications Fail to Load
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 mentionedwithdouble quotes, eg. "AO_9412A1_AOREGISTRATION"