-
Bug
-
Resolution: Fixed
-
Neutral
-
1.8.2, 1.9
-
-
Empty show more show less
-
Maintenance 10, Maintenance 11
-
3
The case can sometimes occur where a node has the hasVersion mixin but the versions do not exist.
'stories': 'jcr:mixinTypes': ['mgnl:hasVersion']
Which can lead to:
2020-05-25 13:50:20,552 DEBUG ynchronization.commands.RestSynchronizationCommand: Synchronization execuded successfully for node /travel/tour. 2020-05-25 13:50:20,568 ERROR info.magnolia.module.scheduler.CommandJob : Cannot execute command {0}-{1}. java.lang.NullPointerException: null at info.magnolia.synchronization.commands.RestSynchronizationCommand.execute(RestSynchronizationCommand.java:87) ~[magnolia-synchronization-rest-1.9-beta2.jar:?] at info.magnolia.synchronization.commands.RestSynchronizationCommand.execute(RestSynchronizationCommand.java:124) ~[magnolia-synchronization-rest-1.9-beta2.jar:?] at info.magnolia.synchronization.commands.RestSynchronizationCommand.execute(RestSynchronizationCommand.java:69) ~[magnolia-synchronization-rest-1.9-beta2.jar:?] at info.magnolia.commands.MgnlCommand.executeSynchronized(MgnlCommand.java:80) ~[magnolia-core-6.2.jar:?] at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:69) ~[magnolia-core-6.2.jar:?] at info.magnolia.module.scheduler.CommandJob.execute(CommandJob.java:110) [magnolia-module-scheduler-2.3.3.jar:?] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?]
This needs to be fixed in both commands:
- RestSynchronizationCommand
- SynchronizationCommand
AC
- Check whether if it happens only for stories
Acceptance criteria
- relates to
-
MGNLSYNC-42 Synchronization manager does not complete normally
- Closed