We are in the testing upgrade path from XWiki v7.0.1 to v13.10.9, currently reaching v7.4.6. Everything else looks OK, and we just noticed the issue below:
After starting tomcat, we send the first HTTP request to the web server. While the browser shows the initialization in progress, the system log shows an exception saying java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
.
We will highly appreciate any hints or suggestions.
Details:
For logging, we used the command tail -f /www/tomcat8/logs/* /var/log/messages
, so the attached text file contains the full trace since tomcat start. logs-v7.4.6-running-with-exceptions.txt (43.6 KB)
More detailed exception message:
2022-09-30 12:58:22,119 [XWiki Solr index job thread] ERROR o.x.s.s.i.j.IndexerJob - Exception thrown during job execution
java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45) ~[xwiki-platform-model-7.4.6.jar:7.4.6]
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77) ~[xwiki-platform-model-7.4.6.jar:7.4.6]
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67) ~[xwiki-platform-model-7.4.6.jar:7.4.6]
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41) ~[xwiki-platform-model-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:175) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:113) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:73) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:65) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:48) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.reference.SolrDocumentReferenceResolver.resolve(SolrDocumentReferenceResolver.java:48) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.reference.SolrDocumentReferenceResolver.resolve(SolrDocumentReferenceResolver.java:38) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.job.SolrDocumentIterator.next(SolrDocumentIterator.java:99) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.job.SolrDocumentIterator.next(SolrDocumentIterator.java:54) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.job.DiffDocumentIterator.next(DiffDocumentIterator.java:120) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:135) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:118) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.search.solr.internal.job.IndexerJob.runInternal(IndexerJob.java:94) ~[xwiki-platform-search-solr-api-7.4.6.jar:7.4.6]
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205) [xwiki-commons-job-7.4.6.jar:7.4.6]
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188) [xwiki-commons-job-7.4.6.jar:7.4.6]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_342]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_342]
at java.lang.Thread.run(Thread.java:750) [na:1.8.0_342]