You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2016/02/24 11:03:18 UTC
[jira] [Created] (SLING-5555) Make error message more explicit when
a @Source annotation contains an invalid source identifier
Stefan Seifert created SLING-5555:
-------------------------------------
Summary: 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
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)