Sergiu Dumitriu-2 wrote:
Ah yes:
here it comes (WEB-INF/classes/xwiki.hbm.xml):
There doesn't seem to be anything wrong with it. Can you do something
more?
Extract from WEB-INF/lib/xwiki-core-1.x.jar the file log4j.properties,
copy it to WEB-INF/classes/, edit it and replace the line:
log4j.logger.org.hibernate.type=warn
with
log4j.logger.org.hibernate.type=trace
Restart your wiki, and now right before the exception, in the log there
should be a line indicating what value is causing problem. Can you do
this and send me the log?
Ok, I've done that and this is the result, see below. I'not quite sure for
what kind of value I should look, so its rather lengthy again. By the way -
thank you for helping.
It seems that the definition for the XWiki.XWikiPreferences XClass is
wrong in your wiki, and it doesn't correspond to the mapping for it. Can
you try adding this in your xwiki.cfg?
xwiki.store.hibernate.custommapping=0
--
Sergiu Dumitriu