Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
1.1.3
-
None
Description
Steps to reproduce the issue:
- Create a pages tree with a root node and 3 children
- Publish them
- Modify one of the children nodes and schedule the whole tree publication
- In the meantime delete and publish deletion of any of the other children
- When the scheduled time in step 3 comes, an error will be thrown:
ERROR nfo.magnolia.publishing.command.PublicationCommand: Failed to activate node with UUID : 38a38848-9e9e-4c17-ac82-8587c3bf2c7e
ERROR nfo.magnolia.publishing.command.PublicationCommand: 38a38848-9e9e-4c17-ac82-8587c3bf2c7e
ERROR info.magnolia.module.scheduler.CommandJob : Cannot execute command {0}-{1}.
java.lang.NullPointerException: null
at info.magnolia.publishing.command.PublicationCommand.lambda$static$0(PublicationCommand.java:84) ~[magnolia-publishing-core-1.1.3.jar:?]
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360) ~[?:1.8.0_121]
at java.util.TimSort.sort(TimSort.java:220) ~[?:1.8.0_121]
at java.util.Arrays.sort(Arrays.java:1512) ~[?:1.8.0_121]
at java.util.ArrayList.sort(ArrayList.java:1454) ~[?:1.8.0_121]
at info.magnolia.publishing.command.PublicationCommand.collectFromVersionMap(PublicationCommand.java:237) ~[magnolia-publishing-core-1.1.3.jar:?]
at info.magnolia.publishing.command.PublicationCommand.collect(PublicationCommand.java:172) ~[magnolia-publishing-core-1.1.3.jar:?]
at info.magnolia.publishing.command.PublicationCommand.execute(PublicationCommand.java:153) ~[magnolia-publishing-core-1.1.3.jar:?]
at info.magnolia.personalization.command.PersonalizationPublicationCommand.execute(PersonalizationPublicationCommand.java:46) ~[magnolia-personalization-integration-1.8.jar:?]
at info.magnolia.commands.MgnlCommand.executeSynchronized(MgnlCommand.java:80) ~[magnolia-core-6.1.4.jar:?]
at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:69) ~[magnolia-core-6.1.4.jar:?]
at info.magnolia.module.scheduler.CommandJob.execute(CommandJob.java:110) [magnolia-module-scheduler-2.3.2.jar:?]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.1.jar:?]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.1.jar:?]
2020-01-27 09:48:00,297 INFO orkflow.jbpm.workitem.handler.AsyncWorkItemHandler: WorkItem [asyncCommand] was aborted.
The scheduled publication is not carried out.
This exception should be handled and notified accordingly in the AdminCentral with a descriptive message of what have happened.
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
PUBLISHING-314 Missing stack trace - difficulties tracking down publishing issues
-
- Open
-