javax.servlet.jsp.JspTagException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • It happens for Git and clearcase scm currently. Steps to reproduce the issue: # Add a git repository # Go to Source tab then click on the {{Annotated}} link for a file. # You'll see the error, see the attached screen shot Error from the log: {code:none} 2010-09-01 15:28:29,281 INFO [btpool0-12] fisheye.app ActionDispatcherServlet-doGet - Servlet Exception, rootcause= javax.servlet.jsp.JspTagException: 'end' < 0 at javax.servlet.jsp.jstl.core.LoopTagSupport.validateEnd(LoopTagSupport.java:518) at org.apache.taglibs.standard.tag.rt.core.ForEachTag.setEnd(ForEachTag.java:91) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_1(fileAnnotation_jsp.java:514) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_0(fileAnnotation_jsp.java:418) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspService(fileAnnotation_jsp.java:121) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) 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:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1013) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_otherwise_0(fileViewContentsHtmlResp_jsp.java:529) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_choose_1(fileViewContentsHtmlResp_jsp.java:471) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_when_0(fileViewContentsHtmlResp_jsp.java:438) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_choose_0(fileViewContentsHtmlResp_jsp.java:401) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspService(fileViewContentsHtmlResp_jsp.java:122) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1208) {code}
    via by Ming Giet Chong [Atlassian],
  • It happens for Git and clearcase scm currently. Steps to reproduce the issue: # Add a git repository # Go to Source tab then click on the {{Annotated}} link for a file. # You'll see the error, see the attached screen shot Error from the log: {code:none} 2010-09-01 15:28:29,281 INFO [btpool0-12] fisheye.app ActionDispatcherServlet-doGet - Servlet Exception, rootcause= javax.servlet.jsp.JspTagException: 'end' < 0 at javax.servlet.jsp.jstl.core.LoopTagSupport.validateEnd(LoopTagSupport.java:518) at org.apache.taglibs.standard.tag.rt.core.ForEachTag.setEnd(ForEachTag.java:91) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_1(fileAnnotation_jsp.java:514) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_0(fileAnnotation_jsp.java:418) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspService(fileAnnotation_jsp.java:121) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) 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:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1013) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_otherwise_0(fileViewContentsHtmlResp_jsp.java:529) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_choose_1(fileViewContentsHtmlResp_jsp.java:471) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_when_0(fileViewContentsHtmlResp_jsp.java:438) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_choose_0(fileViewContentsHtmlResp_jsp.java:401) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspService(fileViewContentsHtmlResp_jsp.java:122) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1208) {code}
    via by Ming Giet Chong [Atlassian],
  • When a feed is empty, he portlet throws an exception. org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=143, channelSubscribeId=u10196l1n9, portletApplicationId=/portal/NewsReaderPortlet, portletName=single-feed-news, user=tongb] at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:385) at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:217) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:631) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41) at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at org.jasig.portal.$Proxy193.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=143_u10196l1n9_38.u10196l1n9,contextPath=/portal/NewsReaderPortlet,portletName=single-feed-news,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={},delegationParent=<null>]' threw an exception while executing render. at org.jasig.portal.portlet.rendering.PortletRendererImpl.doRender(PortletRendererImpl.java:236) at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:381) ... 19 more Caused by: javax.portlet.PortletException at org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:113) at org.springframework.web.portlet.DispatcherPortlet.doRender(DispatcherPortlet.java:1140) at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1094) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:832) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: 'end' < 0 at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspService(viewSingleFeed_jsp.java:211) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) Caused by: javax.servlet.jsp.JspTagException: 'end' < 0 at javax.servlet.jsp.jstl.core.LoopTagSupport.validateEnd(LoopTagSupport.java:450) at org.apache.taglibs.standard.tag.rt.core.ForEachTag.setEnd(ForEachTag.java:53) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fforEach_005f1(viewSingleFeed_jsp.java:512) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fotherwise_005f0(viewSingleFeed_jsp.java:481) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fchoose_005f0(viewSingleFeed_jsp.java:366) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspService(viewSingleFeed_jsp.java:191) ... 63 more I have a patch from Shashank Balasubramanian that I've tested and will apply.
    via by Drew Wills,
  • When a feed is empty, he portlet throws an exception. org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=143, channelSubscribeId=u10196l1n9, portletApplicationId=/portal/NewsReaderPortlet, portletName=single-feed-news, user=tongb] at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:385) at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:217) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:631) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41) at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at org.jasig.portal.$Proxy193.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=143_u10196l1n9_38.u10196l1n9,contextPath=/portal/NewsReaderPortlet,portletName=single-feed-news,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={},delegationParent=<null>]' threw an exception while executing render. at org.jasig.portal.portlet.rendering.PortletRendererImpl.doRender(PortletRendererImpl.java:236) at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:381) ... 19 more Caused by: javax.portlet.PortletException at org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:113) at org.springframework.web.portlet.DispatcherPortlet.doRender(DispatcherPortlet.java:1140) at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1094) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:832) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: 'end' < 0 at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspService(viewSingleFeed_jsp.java:211) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) Caused by: javax.servlet.jsp.JspTagException: 'end' < 0 at javax.servlet.jsp.jstl.core.LoopTagSupport.validateEnd(LoopTagSupport.java:450) at org.apache.taglibs.standard.tag.rt.core.ForEachTag.setEnd(ForEachTag.java:53) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fforEach_005f1(viewSingleFeed_jsp.java:512) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fotherwise_005f0(viewSingleFeed_jsp.java:481) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fchoose_005f0(viewSingleFeed_jsp.java:366) at org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspService(viewSingleFeed_jsp.java:191) ... 63 more I have a patch from Shashank Balasubramanian that I've tested and will apply.
    via by Drew Wills,
    • javax.servlet.jsp.JspTagException: 'end' < 0 at javax.servlet.jsp.jstl.core.LoopTagSupport.validateEnd(LoopTagSupport.java:518) at org.apache.taglibs.standard.tag.rt.core.ForEachTag.setEnd(ForEachTag.java:91) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_1(fileAnnotation_jsp.java:514) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspx_meth_c_forEach_0(fileAnnotation_jsp.java:418) at org.apache.jsp.WEB_002dINF.jsp.file.fileAnnotation_jsp._jspService(fileAnnotation_jsp.java:121) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) 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:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1013) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_otherwise_0(fileViewContentsHtmlResp_jsp.java:529) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_choose_1(fileViewContentsHtmlResp_jsp.java:471) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_when_0(fileViewContentsHtmlResp_jsp.java:438) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspx_meth_c_choose_0(fileViewContentsHtmlResp_jsp.java:401) at org.apache.jsp.WEB_002dINF.jsp.file.fileViewContentsHtmlResp_jsp._jspService(fileViewContentsHtmlResp_jsp.java:122) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1208)
    No Bugmate found.