Details
-
Bug
-
Resolution: Fixed
-
Critical
-
10.11.8
-
None
-
Windows 10 Pro 64 bit, Chrome 74, IE11, Edge 18, Firefox 67, using a local instance XWiki 10.1.8 on HSQL 2.4.1, MySQL 5.7 and PostgreSQL 11
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
- Create an older instance of XWiki (e.g. 8.4.6)
- Close the instance
- Go to a newer instance (10.11.8) and copy/cut the
[...]webapps\xwiki
folder and replace it (first delete the old one) in the same location on the older version
- Start XWiki and follow the Distribution Wizard through the upgrade process
EXPECTED RESULTS
The upgrade process is completed successfully without errors.
ACTUAL RESULTS
After the very last step, when entering the upgraded instance, there are encountered some errors related to notifications. Stacktrace:
2019-05-30 16:24:51,997 [Notification event executor: 1 : count : [4true/0///////21//////5xwiki/true]] ERROR .r.i.NotificationEventExecutor - Failed to retrieve notifications for cache key [4true/0///////21//////5xwiki/true] java.lang.UnsupportedOperationException: null at java.util.AbstractList.add(Unknown Source) at java.util.AbstractList.add(Unknown Source) at org.xwiki.notifications.sources.internal.DefaultParametrizedNotificationManager.getEvents(DefaultParametrizedNotificationManager.java:98) at org.xwiki.notifications.rest.internal.DefaultNotificationsResource.getCompositeEvents(DefaultNotificationsResource.java:374) at org.xwiki.notifications.rest.internal.DefaultNotificationsResource.getCompositeEvents(DefaultNotificationsResource.java:328) at org.xwiki.notifications.rest.internal.DefaultNotificationsResource.lambda$getCompositeEvents$0(DefaultNotificationsResource.java:187) at org.xwiki.notifications.rest.internal.NotificationEventExecutor$CallableEntry.execute(NotificationEventExecutor.java:181) at org.xwiki.notifications.rest.internal.NotificationEventExecutor$CallableEntry.call(NotificationEventExecutor.java:146) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Please also find attached the console log from MySQL 5.7.
The issue could not be reproduced when upgrading to XWiki 10.11.7.
Attachments
Issue Links
- relates to
-
XWIKI-17210 Notifications related errors with broken UI when upgrading from XWiki 8.4.5 to 11.10.x and 12.2.1 by keeping configuration files
- Closed