You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/08/01 16:10:39 UTC
[jira] [Commented] (SLING-3510) Check for null classUrls and warn
when no @Model classes found by Sling Models
[ https://issues.apache.org/jira/browse/SLING-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082266#comment-14082266 ]
ASF GitHub Bot commented on SLING-3510:
---------------------------------------
Github user cpilsworth closed the pull request at:
https://github.com/apache/sling/pull/15
> 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
> Fix For: Sling Models Implementation 1.0.4
>
>
> 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)