[ 
https://issues.apache.org/jira/browse/SLING-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed SLING-162.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
         Assignee: Felix Meschberger

I assume this as been fixed as a side effect to other fixes/changes. Therefore 
closing this issue.

> NPE in DefaultHtmlRenderer if resource type not found via include
> -----------------------------------------------------------------
>
>                 Key: SLING-162
>                 URL: https://issues.apache.org/jira/browse/SLING-162
>             Project: Sling
>          Issue Type: Bug
>          Components: microsling
>            Reporter: Tobias Bocanegra
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> <% SyntheticResource res = new SyntheticResource(child.getPath(),
> "/apps/myapp/test/nav"); %>
> <sling:include resource="<%= res %>"/>
> this results in a NPE:
> Caused by: java.lang.NullPointerException
>        at 
> org.apache.sling.usling.renderers.DefaultHtmlRenderer.render(DefaultHtmlRenderer.java:53)
>        at 
> org.apache.sling.usling.renderers.DefaultHtmlRendererServlet.doGet(DefaultHtmlRendererServlet.java:72)
>        at 
> org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:261)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to