Gregor Schneider wrote:
Caleb,
I got no idea why that exception occured. What I do see now is that
the notification ("watch") no works.
The exception, however, comes up every few seconds, and this behaviour
started after I added the property to the XWikiPreferences-class, so
my guess is that those two are somehow related.
Somewhere in your exception trace there should be a line number for the
line in the velocity macro which failed. Since you are the lucky user to
have the only case of this that I know of, you might have to do some debugging.
Is the notification app not allowing you to select watch or is it simply
failing when it does a notification event?
It would be nice to know what document it is trying to load
id number: XWikiDocument#-1667755927
Finding out which line in the velocity script is failing will shed a light
on the situation.
Checking the MySQL-logs, I don't see any errors, however, I do see
some command which are rolled back, so again my guess here is, that
this command might cause the trouble:
56 Query select xwikidocum0_.XWD_ID as XWD1_0_0_,
Selects are always rolled back because they aren't modifying anything.
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_,
xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwiki
docum0_.XWD_TITLE as XWD4_0_0_, xwikidocum0_.XWD_LANGUAGE as
XWD5_0_0_, xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0
_0_, xwikidocum0_.XWD_DATE as XWD8_0_0_,
xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUT
HOR as XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_,
xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD
_CONTENT as XWD15_0_0_, xwikidocum0_.XWD_VERSION as XWD16_0_0_,
xwikidocum0_.XWD_CUSTOM_CLASS as XWD17_0_0_, xwikidocum0_.XWD_PARENT
as XWD18_0_0_, xwikidocum
0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT a
s XWD22_0_0_, xwikidocum0_.XWD_COMMENT as XWD23_0_0_,
xwikidocum0_.XWD_MINOREDIT as XWD24_0_0_, xwikidocum0_.XWD_SYNTAX_ID
as XWD25_0_0_, xwikidocum0_.XWD_HID
DEN as XWD26_0_0_ from xwikidoc xwikidocum0_ where
xwikidocum0_.XWD_ID=-898031555
56 Query rollback
56 Query rollback
56 Query SET autocommit=1
56 Query SET autocommit=0
Puzzled...
Gregor