NullPointerException while using "How to Create a Fully Featured Internet Website"
I am new with CQ5 and was trying the steps given "How to Create a Fully Featured Internet Website" (http://dev.day.com/docs/en/cq/current/howto/website.html). I have two issues -
1.
I have uploaded the "website-1.0" package and I can see the output in author environment but the top navigation image is not appearing.
When I hit "http://localhost:4502/cf#/content/mywebsite.html" I get following exceptions -
Error during include of component '/libs/foundation/components/toolbar'
Error Message:
org.apache.sling.api.scripting.ScriptEvaluationException
Under full exception list I see following -
Caused by: org.apache.sling.api.SlingException:
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691)
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)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:241)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:86)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:441)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
... 143 more
Caused by: java.lang.NullPointerException
at org.apache.jsp.libs.foundation.components.toolbar.toolbar_jsp._jspService(toolbar_jsp.java:187)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
2. When I publish the website using "Replication-Activate Tree" , I see only blank page when I hit "http://localhost:4503/content/mywebsite/en/products.html" URL.
When I hit "http://localhost:4503/content/mywebsite/" I see following error -
403 Forbidden
Cannot serve request to /content/mywebsite/ on this server
Please help as I am not able to get the solution for these 2 issue.
Many Thanks!!