You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2008/02/29 08:46:51 UTC
[jira] Updated: (SLING-162) NPE in DefaultHtmlRenderer if resource
type not found via include
[ https://issues.apache.org/jira/browse/SLING-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-162:
-----------------------------------
Remaining Estimate: 0h
Original Estimate: 0h
Is this bug still valid?
> 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
> 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.