Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
17.10.2
-
None
-
Windows 11 Pro, Chrome 143, using an instance of XWiki 17.10.2 on MySQL 9.3, Tomcat 11.0.15, Java 21, reproducible also on Jetty/HSQL demo packaging
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Create an older instance of XWiki (tested with 11.10.13 and 12.6.8)
- Start upgrading this instance to XWiki 17.10.2 by replacing the WAR
- Observe the logs from the Distribution Wizard
Expected results
No warnings/ errors are displayed.
Actual results
The following warning is displayed under some documents:
Failed to get the Database List values. Root cause is [NullPointerException: Cannot invoke "com.xpn.xwiki.doc.XWikiDocument.getAuthorReference()" because the return value of "com.xpn.xwiki.objects.classes.DBListClass.getOwnerDocument()" is null].
The documents under which the stacktrace occurred are:
- XWiki > PDFExport > ConfigurationTemplate
- Image > Style > Code > ImageStyleTemplateProvider
- Help > Applications > Movies > Code > MoviesTemplateProvider
The issue seems to not be reproducing when upgrading to XWiki 17.4.8.
Attachments
Issue Links
- depends on
-
XWIKI-23951 UpgradeTests are not failing anymore in case of warning or errors during the job progress
-
- Closed
-
- is caused by
-
XWIKI-23815 Allow to retrieve the real source XClass of an XObject
-
- Closed
-