This apparently is due to a bug in the XQuery fetching the annotation preview. The error reported is:
<exception>
<path>/db/apps/Edirom-Online/data/xql/getAnnotation.xql</path>
<message>err:XPST0003 Syntax error within user defined function local:calculatePreviewsForTip: unexpected token: then [at line 284, column 17]</message>
</exception>
This apparently is due to a bug in the XQuery fetching the annotation preview. The error reported is:
The corresponding section the XQuery:
https://github.com/Edirom/Edirom-Online/blob/78d4d323a5f3c817a41b97bcbc0896e75b1b3d09/add/data/xql/getAnnotation.xql#L283-L287