Error at Start of xwiki 16.7.1

Hi together,

i got a error bunch at start of ywiki after this upgrade.


class com.xpn.xwiki.objects.LargeStringProperty cannot be cast to class com.xpn.xwiki.objects.BaseCollection (com.xpn.xwiki.objects.LargeStringProperty and com.xpn.xwiki.objects.BaseCollection are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @4ced35ed)
class java.lang.ClassCastException: class com.xpn.xwiki.objects.LargeStringProperty cannot be cast to class com.xpn.xwiki.objects.BaseCollection (com.xpn.xwiki.objects.LargeStringProperty and com.xpn.xwiki.objects.BaseCollection are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @4ced35ed)
    at com.xpn.xwiki.objects.classes.BaseClass.addField(BaseClass.java:195)
    at com.xpn.xwiki.objects.BaseCollection.safeput(BaseCollection.java:266)
    at com.xpn.xwiki.objects.classes.BaseClass.put(BaseClass.java:252)
    at wiki:xwiki//org.xwiki.contrib.confluence.filter.internal.ConfluencePageClassDocumentInitializer.createClass(ConfluencePageClassDocumentInitializer.java:71)
    at com.xpn.xwiki.doc.AbstractMandatoryClassInitializer.updateDocument(AbstractMandatoryClassInitializer.java:75)
    at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1460)
    at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1425)
    at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1353)
    at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1290)
    at com.xpn.xwiki.XWiki.<init>(XWiki.java:1263)
    at com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:103)
    at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
    at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
    at java.base/java.lang.Thread.run(Thread.java:840)

Is here someone who can support me fixing this ? :slight_smile: Thanks alot and have a nice day

Tardar

Hello @tardar

could you perhaps tell a bit more about your environment? What are you running the xwiki on , from what version did you update?

I suspect you’re using tomcat and depending on where you updated from it might be the java version but that depends on the situation!

Hello @tardar,

This is probably Loading....

You can fix this by removing the most recent folder of data/extension/repository/org%2Exwiki%2Econtrib%2Econfluence%3Aconfluence-xml (or the whole confluence-xml folder altogether). Your wiki will restart fine, and you will need to install confluence-xml again.

Sorry for this issue.

1 Like

Make sure to install confluence-xml version 9.53.2 or later. 9.51.1 is the bad version.

1 Like

Now it starts again - tahnks alot for your support :slight_smile:
no problem - issues can happen and if they are that “easy” to fix everything is great :slight_smile:

1 Like