java.lang.RuntimeException: org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/page/layout/userDefault.jsp at line 30 27: <!--用户基本信息开始--> 28: <div id="tk-user-main-profile-info"> 29: <c:choose> 30: <c:when test="${empty user.avatar_url}"> 31: <img src="${ctx}/static/img/tkUserDefault.png" alt="用户头像" class="fleft"> 32: </c:when> 33: <c:otherwise> Stacktrace:

Stack Overflow | F.Roger | 4 months ago
  1. 0

    when I use jstl el, I got org.apache.jasper.JasperException

    Stack Overflow | 4 months ago | F.Roger
    java.lang.RuntimeException: org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/page/layout/userDefault.jsp at line 30 27: <!--用户基本信息开始--> 28: <div id="tk-user-main-profile-info"> 29: <c:choose> 30: <c:when test="${empty user.avatar_url}"> 31: <img src="${ctx}/static/img/tkUserDefault.png" alt="用户头像" class="fleft"> 32: </c:when> 33: <c:otherwise> Stacktrace:
  2. 0

    Struts 2.0 download file from Server

    Stack Overflow | 2 years ago | idzi
    java.lang.RuntimeException: org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() has already been called for this response
  3. 0

    Tomcat 7 + IntelliJ The absolute uri: http://java.sun.com/jsp/jstl/core Issue

    Stack Overflow | 3 years ago | kamil
    java.lang.RuntimeException: org.apache.jasper.JasperException: The absolute uri: http://www.opensymphony.com/sitemesh/decorator cannot be resolved in either web.xml or the jar files deployed with this application
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when using security:authorize

    Stack Overflow | 2 years ago | DMK
    java.lang.RuntimeException: org.apache.jasper.JasperException: org.apache.jasper.JasperException: org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/pages/menu.jsp at line 10 7: &lt;p&gt; 8: Username: &lt;security:authentication property="principal.username"/&gt; 9: &lt;/p&gt; 10: &lt;security:authorize access="hasAnyRole('ADMIN')"&gt; 11: This is only for admins 12: &lt;/security:authorize&gt; 13: &lt;div id="lb"&gt;&lt;div id="rb"&gt;&lt;div id="bb"&gt;&lt;div id="blc"&gt; Stacktrace:
  6. 0

    Why does calling the security authentication property `principal.displayName` in a decorator throw an exception?

    Stack Overflow | 6 years ago | apfel
    java.lang.RuntimeException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Invalid property 'principal.displayName' o f bean class [org.springframework.security.authentication.AnonymousAuthenticationToken]: Bean property 'principal.displayName' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/page/layout/userDefault.jsp at line 30 27: <!--用户基本信息开始--> 28: <div id="tk-user-main-profile-info"> 29: <c:choose> 30: <c:when test="${empty user.avatar_url}"> 31: <img src="${ctx}/static/img/tkUserDefault.png" alt="用户头像" class="fleft"> 32: </c:when> 33: <c:otherwise> Stacktrace:

      at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render()
    2. Sitemesh
      SiteMeshFilter.doFilter
      1. com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:39)
      2. com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:84)
      2 frames
    3. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    4. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)
      1 frame
    5. Jetty
      Dispatcher.forward
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:595)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.__doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java)
      8. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      9. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      10. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      11. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      12. org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:191)
      13. org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:72)
      13 frames
    6. com.jfinal.render
      JspRender.render
      1. com.jfinal.render.JspRender.render(JspRender.java:67)
      1 frame
    7. com.jfinal.core
      ActionHandler.handle
      1. com.jfinal.core.ActionHandler.handle(ActionHandler.java:97)
      1 frame
    8. com.jfinal.plugin
      DruidStatViewHandler.handle
      1. com.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:75)
      1 frame
    9. cn.edu.whu
      SessionHandler.handle
      1. cn.edu.whu.irlab.common.handler.SessionHandler.handle(SessionHandler.java:17)
      1 frame
    10. com.jfinal.core
      JFinalFilter.doFilter
      1. com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72)
      1 frame
    11. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    12. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
      2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      6. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
      7. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
      8. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      9. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      10. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
      11. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
      12. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      12 frames
    13. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.__doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java)
      8. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      9. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      10. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      11. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      12. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      13. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      14. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      15. org.eclipse.jetty.server.Server.handle(Server.java:499)
      16. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      17. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      18. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      19. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      20. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      20 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame