You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chris Pilsworth (JIRA)" <ji...@apache.org> on 2014/04/23 15:32:15 UTC

[jira] [Created] (SLING-3510) Check for null classUrls and warn when no @Model classes found by Sling Models

Chris Pilsworth created SLING-3510:
--------------------------------------

             Summary: Check for null classUrls and warn when no @Model classes found by Sling Models
                 Key: SLING-3510
                 URL: https://issues.apache.org/jira/browse/SLING-3510
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Sling Models Implementation 1.0.2
            Reporter: Chris Pilsworth


When a non-existent package is added to Sling-Model-Packages, then an NPE is thrown as there are no matching classes found. I guess the same would happen for existing packages that contain no @Model classes. Check for classUrls and warn, then continue if null.



--
This message was sent by Atlassian JIRA
(v6.2#6252)