You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Claudio Miranda <cl...@claudius.com.br> on 2008/01/21 19:42:06 UTC

JSPException when applying theme


my system:
* roller 4 final
* jdk 6u4
* solaris x86
* jetty 6.1.5

Installed roller as usual, migrate my previous blog entries. When
customizing blog appearance, at theme option, when clicking at "update
theme"  button, there is an exception at log, see below, at the end.

But at the front-end looks everything is working fine, except the log error.

Thanks.


ERROR 2008-01-21 16:36:21,689 JspTilesRequestContext:include - JSPException
while including path '/roller-ui/errors/denied.jsp'.
javax.servlet.jsp.JspException: ServletException while including page.
        at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
        at
org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
        at
org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
        at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:457)
        at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
        at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
        at
org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
        at
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
        at
org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
        at
org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspx_meth_tiles_insertAttribute_3(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:253)
        at
org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspService(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:109)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)


Caused by: org.apache.jasper.JasperException: java.lang.NullPointerException
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:402)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:371)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
        at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:997)
        at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:671)
        at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
        ... 197 more
Caused by: java.lang.NullPointerException
        at
org.apache.jsp.roller_002dui.errors.denied_jsp._jspService(org.apache.jsp.roller_002dui.errors.denied_jsp:41)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
        ... 210 more
ERROR 2008-01-21 16:36:21,696 RoleSecurityTagSupport:doEndTag - IO Error
executing tag: JSPException while including path
'/roller-ui/errors/denied.jsp'. ServletException while including page.
java.io.IOException: JSPException while including path
'/roller-ui/errors/denied.jsp'. ServletException while including page.
        at
org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
        at
org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
        at
org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:457)
        at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
        at
org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
        at
org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
        at
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
        at
org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
        at
org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspx_meth_tiles_insertAttribute_3(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:253)
        at
org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspService(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:109)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)




-----
Claudio Miranda
http://weblogs.java.net/blog/claudio
http://www.claudius.com.br/blog
-- 
View this message in context: http://www.nabble.com/JSPException-when-applying-theme-tp15003534s12275p15003534.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: JSPException when applying theme

Posted by Dave <sn...@gmail.com>.
I'm not going to be able to be much help, because I don't use Jetty.

I just have one comment:
1) for some reason you are getting access denied when you access the
Update Theme button.
2) the error page then throws a Null Pointer Exception.

- Dave



On Jan 21, 2008 1:42 PM, Claudio Miranda <cl...@claudius.com.br> wrote:
>
> my system:
> * roller 4 final
> * jdk 6u4
> * solaris x86
> * jetty 6.1.5
>
> Installed roller as usual, migrate my previous blog entries. When
> customizing blog appearance, at theme option, when clicking at "update
> theme"  button, there is an exception at log, see below, at the end.
>
> But at the front-end looks everything is working fine, except the log error.
>
> Thanks.
>
>
> ERROR 2008-01-21 16:36:21,689 JspTilesRequestContext:include - JSPException
> while including path '/roller-ui/errors/denied.jsp'.
> javax.servlet.jsp.JspException: ServletException while including page.
>         at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>         at
> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
>         at
> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>         at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:457)
>         at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>         at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>         at
> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
>         at
> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
>         at
> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
>         at
> org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspx_meth_tiles_insertAttribute_3(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:253)
>         at
> org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspService(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:109)
>         at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>
>
> Caused by: org.apache.jasper.JasperException: java.lang.NullPointerException
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:402)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:371)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>         at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>         at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
>         at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:997)
>         at
> org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:671)
>         at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
>         ... 197 more
> Caused by: java.lang.NullPointerException
>         at
> org.apache.jsp.roller_002dui.errors.denied_jsp._jspService(org.apache.jsp.roller_002dui.errors.denied_jsp:41)
>         at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
>         ... 210 more
> ERROR 2008-01-21 16:36:21,696 RoleSecurityTagSupport:doEndTag - IO Error
> executing tag: JSPException while including path
> '/roller-ui/errors/denied.jsp'. ServletException while including page.
> java.io.IOException: JSPException while including path
> '/roller-ui/errors/denied.jsp'. ServletException while including page.
>         at
> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
>         at
> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>         at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:457)
>         at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>         at
> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>         at
> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
>         at
> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
>         at
> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
>         at
> org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspx_meth_tiles_insertAttribute_3(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:253)
>         at
> org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspService(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:109)
>         at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
>
>
>
>
> -----
> Claudio Miranda
> http://weblogs.java.net/blog/claudio
> http://www.claudius.com.br/blog
> --
> View this message in context: http://www.nabble.com/JSPException-when-applying-theme-tp15003534s12275p15003534.html
> Sent from the Roller - User mailing list archive at Nabble.com.
>
>