Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5555

Make error message more explicit when a @Source annotation contains an invalid source identifier

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: