[
https://issues.apache.org/jira/browse/SLING-5555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert closed SLING-5555.
---------------------------------
> Make error message more explicit when a @Source annotation contains an
> invalid source identifier
> ------------------------------------------------------------------------------------------------
>
> Key: SLING-5555
> URL: https://issues.apache.org/jira/browse/SLING-5555
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: Sling Models Impl 1.2.6
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Minor
> Labels: models
> Fix For: Sling Models Impl 1.2.8
>
>
> it is possible to use the @Inject annotation in combination with @Source and
> specifying a injection source via its identifier as string.
> if this string is invalid currently a NPE is thrown internally and logged as
> warning. instead of the NPE another exception should be thrown including an
> error message containing the invalid source id to hint what is the real
> problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)