You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Ruben Reusser <rr...@headwire.com> on 2013/06/25 17:54:04 UTC

problems with simple-demo

hi,

I just gave the simple demo a quick run and it seems it's failing at the 
adaptTo in the html.jsp file.

http://localhost:8080/sample/content/home.html

returns

org.apache.sling.api.SlingException: An exception occurred processing JSP page /apps/sling/SamplePage/html.jsp at line 35
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:683)
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:608)
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:533)
...
Caused by: java.lang.NullPointerException
	at org.apache.jsp.apps.sling.SamplePage.html_jsp._jspService(html_jsp.java:118)
	at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

is the sample still supposed to work?

Thanks

Ruben