org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=143, channelSubscribeId=u10196l1n9, portletApplicationId=/portal/NewsReaderPortlet, portletName=single-feed-news, user=tongb]

Apereo Issues | Drew Wills | 5 years ago
  1. 0

    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.

    Apereo Issues | 5 years ago | Drew Wills
    org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=143, channelSubscribeId=u10196l1n9, portletApplicationId=/portal/NewsReaderPortlet, portletName=single-feed-news, user=tongb]
  2. 0

    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.

    Apereo Issues | 5 years ago | Drew Wills
    org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=143, channelSubscribeId=u10196l1n9, portletApplicationId=/portal/NewsReaderPortlet, portletName=single-feed-news, user=tongb]
  3. 0

    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}

    Atlassian JIRA | 6 years ago | Ming Giet Chong [Atlassian]
    javax.servlet.jsp.JspTagException: 'end' < 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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}

    Atlassian JIRA | 6 years ago | Ming Giet Chong [Atlassian]
    javax.servlet.jsp.JspTagException: 'end' < 0
  6. 0

    If select attribute of <x:forEach> action is empty, an Exception is improperly thrown.

    Apache Bugzilla | 1 decade ago | Ryan.Lubke
    javax.servlet.jsp.JspTagException: com.werken.saxpath.XPathSyntaxException: 0: Unexpected ''

    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. javax.servlet.jsp.JspTagException

      'end' < 0

      at javax.servlet.jsp.jstl.core.LoopTagSupport.validateEnd()
    2. JSP JSTL
      LoopTagSupport.validateEnd
      1. javax.servlet.jsp.jstl.core.LoopTagSupport.validateEnd(LoopTagSupport.java:450)
      1 frame
    3. JSTL
      ForEachTag.setEnd
      1. org.apache.taglibs.standard.tag.rt.core.ForEachTag.setEnd(ForEachTag.java:53)
      1 frame
    4. org.apache.jsp
      viewSingleFeed_jsp._jspService
      1. org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fforEach_005f1(viewSingleFeed_jsp.java:512)
      2. org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fotherwise_005f0(viewSingleFeed_jsp.java:481)
      3. org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspx_meth_c_005fchoose_005f0(viewSingleFeed_jsp.java:366)
      4. org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspService(viewSingleFeed_jsp.java:191)
      4 frames
    5. GWT dev
      PageContextImpl.handlePageException
      1. org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
      2. org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
      2 frames
    6. org.apache.jsp
      viewSingleFeed_jsp._jspService
      1. org.apache.jsp.WEB_002dINF.jsp.viewSingleFeed_jsp._jspService(viewSingleFeed_jsp.java:211)
      1 frame
    7. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame