[ https://issues.apache.org/jira/browse/SLING-10109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17306979#comment-17306979 ]
Konrad Windszus commented on SLING-10109: ----------------------------------------- Partially resolved with SLING-10066 meanwhile, the rest fixed with https://github.com/apache/sling-org-apache-sling-distribution-journal/commit/898fee0ed6632a3443816ef0caefa4ce22d6066c. > Exception is swallowed from Bookkeeper.failure(...) > --------------------------------------------------- > > Key: SLING-10109 > URL: https://issues.apache.org/jira/browse/SLING-10109 > Project: Sling > Issue Type: Improvement > Components: Content Distribution > Affects Versions: Content Distribution Journal Core 0.1.16 > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > > The exception passed to > https://github.com/apache/sling-org-apache-sling-distribution-journal/blob/66cc5c4b867a6a66963a2ebdd5118f7de91adbee/src/main/java/org/apache/sling/distribution/journal/bookkeeper/BookKeeper.java#L195 > is not converted into an event with all details. > I have seen messages like this > {code} > 30.01.2021 23:21:45.646 [cm-p7802-e44859-aem-author-6df8bd79d7-q2jhs] *WARN* > [EventAdminAsyncThread #4] > org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher > [null] Error processing distribution package > dstrpck-1612048904646-54e2c24c-d61e-4829-ba2a-eca44d01dbb4. Retry attempts > 0/infinite. Message: Error trying to extract package at path > /etc/packages/mypackage-1.0.0-SNAPSHOT.zip > 30.01.2021 23:21:45.646 [cm-p7802-e44859-aem-author-6df8bd79d7-c9vdj] *WARN* > [EventAdminAsyncThread #10] > org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher > [null] Error processing distribution package > dstrpck-1612048904646-54e2c24c-d61e-4829-ba2a-eca44d01dbb4. Retry attempts > 0/infinite. Message: Error trying to extract package at path > /etc/packages/mypackage-1.0.0-SNAPSHOT.zip > 30.01.2021 23:21:50.826 [cm-p7802-e44859-aem-author-6df8bd79d7-c9vdj] *WARN* > [EventAdminAsyncThread #6] > org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher > [null] Error processing distribution package > dstrpck-1612048904646-54e2c24c-d61e-4829-ba2a-eca44d01dbb4. Retry attempts > 1/infinite. Message: Error trying to extract package at path > /etc/packages/mypackage--1.0.0-SNAPSHOT.zip > 30.01.2021 23:21:50.835 [cm-p7802-e44859-aem-author-6df8bd79d7-q2jhs] *WARN* > [EventAdminAsyncThread #7] > org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher > [null] Error processing distribution package > dstrpck-1612048904646-54e2c24c-d61e-4829-ba2a-eca44d01dbb4. Retry attempts > 1/infinite. Message: Error trying to extract package at path > /etc/packages/mypackage-1.0.0-SNAPSHOT.zip > {code} > Although the message of the underlying exception is logged, this does not > help much as its cause and the stack trace is swallowed. > The message {{Error trying to extract package at path > /etc/packages/mypackage-1.0.0-SNAPSHOT.zip}} is obviously just a wrapper > exception around the actual root cause.... > Also it would be good to not only transmit the retries but also the final > failure back to the Publisher. -- This message was sent by Atlassian Jira (v8.3.4#803005)