You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/05/28 10:20:00 UTC
[jira] [Created] (SLING-9478) Expose the full stack trace for
PostConstruct exceptions
Konrad Windszus created SLING-9478:
--------------------------------------
Summary: Expose the full stack trace for PostConstruct exceptions
Key: SLING-9478
URL: https://issues.apache.org/jira/browse/SLING-9478
Project: Sling
Issue Type: Improvement
Components: Sling Models
Affects Versions: Sling Models Impl 1.4.12
Reporter: Konrad Windszus
Assignee: Konrad Windszus
Fix For: Sling Models Impl 1.4.14
Currently any InvocationTargetException is swallowed in https://github.com/apache/sling-org-apache-sling-models-impl/blob/80b1dea63615ea5be8252241d6147bce9552fa8e/src/main/java/org/apache/sling/models/impl/ModelAdapterFactory.java#L756 as it is replaced by the more generic PostConstruct exception. The underlying exception should be kept as cause.
This has been a regression from SLING-4767 and SLING-5389.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)