3 Replies Latest reply: Jul 27, 2012 3:45 PM by Ryan Lunka RSS

    Blog Feed Exception

    Ryan Lunka Community Member

      I've noticed that in 5.4, the "feed.jsp" which outputs an atom feed for the blog page component, throws an exception.  This occurs with the foundation blog page and the Geometrixx blog site.  It looks like the issue does not reside inside of the Atom tag bundle, because if I add a breakpoint after that tag is closed, the response so far is fine.  Here's the exception that occurs (from Geometrixx).  I've seen a couple mentions of this exception on the documentation site and the Google Group, but no one has seemed to resolve it for blog feeds.  Any suggestions?  Is there a hotfix or something for this?

       

       

      <feed xmlns="http://www.w3.org/2005/Atom"><id>http://localhost:4502/content/geometrixx/en/blog.html</id><updated>2012-05-11T15:15:20.470Z</updated><title type="html">GeoBlog</title><subtitle type="html">What's happening with Geometrixx</subtitle><link href="http://localhost:4502/content/geometrixx/en/blog.html" rel="self" /><generator uri="http://www.day.com/cq5" version="5.4">Day Communiqué</generator><entry><title type="html">Sales Volumes Increase</title><author><email>noemail@noemail.org</email><name>James Watt</name></author><link href="http://localhost:4502/content/geometrixx/en/blog/2009/07/sales_volumes_increa.html" /><content type="html">&lt;p>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans; font-size: 11px; line-height: 14px;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/span>&lt;/p>&#xd;
      </content><category term="Business" /><category term="Investor" /><id>http://localhost:4502/content/geometrixx/en/blog/2009/07/sales_volumes_increa.html</id><published>2009-07-19T20:54:00.000Z</published><updated>2010-08-19T14:38:42.774Z</updated></entry><entry><title type="html">Geometrixx User Group Meeting</title><author><email>noemail@noemail.org</email><name>Henry Ford</name></author><link href="http://localhost:4502/content/geometrixx/en/blog/2009/06/geometrixx_user_grou.html" /><content type="html">&lt;p>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans; font-size: 11px; line-height: 14px;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/span>&lt;/p>&#xd;
      </content><category term="Business" /><id>http://localhost:4502/content/geometrixx/en/blog/2009/06/geometrixx_user_grou.html</id><published>2009-06-28T20:52:00.000Z</published><updated>2010-10-07T09:13:20.737Z</updated></entry><entry><title type="html">Partner &amp; Customer TechSummit</title><author><email>noemail@noemail.org</email><name>James Watt</name></author><link href="http://localhost:4502/content/geometrixx/en/blog/2009/04/partner_customert.html" /><content type="html">&lt;p>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans; font-size: 11px; line-height: 14px;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/span>&lt;/p>&#xd;
      </content><category term="Business" /><category term="Investor" /><category term="Product" /><id>http://localhost:4502/content/geometrixx/en/blog/2009/04/partner_customert.html</id><published>2009-04-01T20:50:00.000Z</published><updated>2010-08-19T14:38:42.695Z</updated></entry><entry><title type="html">ShapeCon 2009 in Vegas</title><author><email>noemail@noemail.org</email><name>Josephine Bonaparte</name></author><link href="http://localhost:4502/content/geometrixx/en/blog/2009/02/shapecon_2009_inveg.html" /><content type="html">&lt;p>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans; font-size: 11px; line-height: 14px;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/span>&lt;/p>&#xd;
      </content><category term="Employment" /><category term="Product" /><category term="Services" /><id>http://localhost:4502/content/geometrixx/en/blog/2009/02/shapecon_2009_inveg.html</id><published>2009-02-19T21:46:00.000Z</published><updated>2010-08-19T14:38:42.483Z</updated></entry><entry><title type="html">DSC 2008 Show in Berlin</title><author><email>noemail@noemail.org</email><name>John Adams</name></author><link href="http://localhost:4502/content/geometrixx/en/blog/2009/01/dsc_2008_show_inber.html" /><content type="html">&lt;p>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans; font-size: 11px; line-height: 14px;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/span>&lt;/p>
      </content><category term="Business" /><category term="Product" /><id>http://localhost:4502/content/geometrixx/en/blog/2009/01/dsc_2008_show_inber.html</id><published>2009-01-23T21:42:00.000Z</published><updated>2010-11-11T16:08:21.830Z</updated></entry></feed><h1> (500)</h1>
      <p>The requested URL /content/geometrixx/en/blog/_jcr_content.feed resulted in an error in /libs/collab/blog/components/page/feed.jsp.</p>
      <h3>Exception:</h3>
      <pre>
      org.apache.sling.api.SlingException: 
       at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:560)
       at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:496)
       at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:446)
       at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter.java:59)
       at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:173)
       at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:84)
       at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:388)
       at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)
       at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)
       at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:456)
       at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:529)
       at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
       at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:182)
       at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308)
       at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:269)
       at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
       at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:185)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:220)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:119)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:84)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.java:76)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135)
       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
       at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:161)
       at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:183)
       at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
       at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
       at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
       at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
       at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
       at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
       at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
       at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:277)
       at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:148)
       at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.java:228)
       at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)
       at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)
       at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilter.java:96)
       at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)
       at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)
       at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)
       at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)
       at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134)
       at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalStateException: OutputStream already retrieved
       at org.apache.sling.engine.impl.request.ContentData.getWriter(ContentData.java:139)
       at org.apache.sling.engine.impl.SlingHttpServletResponseImpl.getWriter(SlingHttpServletResponseImpl.java:147)
       at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111)
       at org.apache.sling.rewriter.impl.RewriterResponse.getWriter(RewriterResponse.java:109)
       at org.apache.sling.scripting.core.impl.helper.OnDemandWriter.getWriter(OnDemandWriter.java:38)
       at org.apache.sling.scripting.core.impl.helper.OnDemandWriter.write(OnDemandWriter.java:61)
       at java.io.PrintWriter.write(Unknown Source)
       at org.apache.sling.scripting.jsp.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:119)
       at org.apache.sling.scripting.jsp.jasper.runtime.PageContextImpl.release(PageContextImpl.java:186)
       at org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:99)
       at org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:71)
       at org.apache.sling.scripting.jsp.jasper.compiler.JspRuntimeContext$JspFactoryHandler.releasePageContext(JspRuntimeContext.java:115)
       at org.apache.jsp.libs.collab.blog.components.page.feed_jsp._jspService(feed_jsp.java:421)
       at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
       ... 62 more
      </pre>
      <h3>Request Progress:</h3>
      <pre>
            0 (2012-05-11 11:33:10) TIMER_START{Request Processing}
            0 (2012-05-11 11:33:10) COMMENT timer_end format is {&lt;elapsed msec&gt;,&lt;timer name&gt;} &lt;optional message&gt;
            0 (2012-05-11 11:33:10) LOG Method=GET, PathInfo=/content/geometrixx/en/blog/_jcr_content.feed
            0 (2012-05-11 11:33:10) TIMER_START{ResourceResolution}
            0 (2012-05-11 11:33:10) TIMER_END{0,ResourceResolution} URI=/content/geometrixx/en/blog/_jcr_content.feed resolves to Resource=JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/jcr:content
            0 (2012-05-11 11:33:10) LOG Resource Path Info: SlingRequestPathInfo: path='/content/geometrixx/en/blog/jcr:content', selectorString='null', extension='feed', suffix='null'
            0 (2012-05-11 11:33:10) TIMER_START{ServletResolution}
            0 (2012-05-11 11:33:10) TIMER_START{resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/jcr:content)}
            4 (2012-05-11 11:33:10) TIMER_END{4,resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/jcr:content)} Using servlet /libs/collab/blog/components/page/feed.jsp
            4 (2012-05-11 11:33:10) TIMER_END{4,ServletResolution} URI=/content/geometrixx/en/blog/_jcr_content.feed handled by Servlet=/libs/collab/blog/components/page/feed.jsp
            4 (2012-05-11 11:33:10) LOG Applying Requestfilters
            4 (2012-05-11 11:33:10) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
            4 (2012-05-11 11:33:10) LOG Calling filter: org.apache.sling.portal.container.internal.request.PortalFilter
            4 (2012-05-11 11:33:10) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
            4 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
            4 (2012-05-11 11:33:10) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
            4 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter
            4 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
            4 (2012-05-11 11:33:10) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
            4 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
            4 (2012-05-11 11:33:10) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)
            4 (2012-05-11 11:33:10) LOG Applying Componentfilters
            4 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
            5 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
            5 (2012-05-11 11:33:10) TIMER_START{/libs/collab/blog/components/page/feed.jsp#0}
           14 (2012-05-11 11:33:10) LOG Including resource JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/07/sales_volumes_increa/jcr:content (SlingRequestPathInfo: path='/content/geometrixx/en/blog/2009/07/sales_volumes_increa/jcr:content', selectorString='null', extension='feedentry', suffix='null')
           14 (2012-05-11 11:33:10) TIMER_START{resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/07/sales_volumes_increa/jcr:content)}
           17 (2012-05-11 11:33:10) TIMER_END{3,resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/07/sales_volumes_increa/jcr:content)} Using servlet /libs/collab/blog/components/page/feedentry.jsp
           17 (2012-05-11 11:33:10) LOG Applying Includefilters
           17 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
           17 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
           17 (2012-05-11 11:33:10) TIMER_START{/libs/collab/blog/components/page/feedentry.jsp#1}
           20 (2012-05-11 11:33:10) TIMER_END{3,/libs/collab/blog/components/page/feedentry.jsp#1}
           20 (2012-05-11 11:33:10) LOG Including resource JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/06/geometrixx_user_grou/jcr:content (SlingRequestPathInfo: path='/content/geometrixx/en/blog/2009/06/geometrixx_user_grou/jcr:content', selectorString='null', extension='feedentry', suffix='null')
           20 (2012-05-11 11:33:10) TIMER_START{resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/06/geometrixx_user_grou/jcr:content)}
           20 (2012-05-11 11:33:10) TIMER_END{0,resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/06/geometrixx_user_grou/jcr:content)} Using servlet /libs/collab/blog/components/page/feedentry.jsp
           20 (2012-05-11 11:33:10) LOG Applying Includefilters
           20 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
           20 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
           20 (2012-05-11 11:33:10) TIMER_START{/libs/collab/blog/components/page/feedentry.jsp#2}
           23 (2012-05-11 11:33:10) TIMER_END{3,/libs/collab/blog/components/page/feedentry.jsp#2}
           23 (2012-05-11 11:33:10) LOG Including resource JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/04/partner_customert/jcr:content (SlingRequestPathInfo: path='/content/geometrixx/en/blog/2009/04/partner_customert/jcr:content', selectorString='null', extension='feedentry', suffix='null')
           23 (2012-05-11 11:33:10) TIMER_START{resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/04/partner_customert/jcr:content)}
           23 (2012-05-11 11:33:10) TIMER_END{0,resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/04/partner_customert/jcr:content)} Using servlet /libs/collab/blog/components/page/feedentry.jsp
           23 (2012-05-11 11:33:10) LOG Applying Includefilters
           23 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
           23 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
           23 (2012-05-11 11:33:10) TIMER_START{/libs/collab/blog/components/page/feedentry.jsp#3}
           26 (2012-05-11 11:33:10) TIMER_END{3,/libs/collab/blog/components/page/feedentry.jsp#3}
           26 (2012-05-11 11:33:10) LOG Including resource JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/02/shapecon_2009_inveg/jcr:content (SlingRequestPathInfo: path='/content/geometrixx/en/blog/2009/02/shapecon_2009_inveg/jcr:content', selectorString='null', extension='feedentry', suffix='null')
           26 (2012-05-11 11:33:10) TIMER_START{resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/02/shapecon_2009_inveg/jcr:content)}
           26 (2012-05-11 11:33:10) TIMER_END{0,resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/02/shapecon_2009_inveg/jcr:content)} Using servlet /libs/collab/blog/components/page/feedentry.jsp
           26 (2012-05-11 11:33:10) LOG Applying Includefilters
           26 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
           26 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
           26 (2012-05-11 11:33:10) TIMER_START{/libs/collab/blog/components/page/feedentry.jsp#4}
           29 (2012-05-11 11:33:10) TIMER_END{3,/libs/collab/blog/components/page/feedentry.jsp#4}
           29 (2012-05-11 11:33:10) LOG Including resource JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/01/dsc_2008_show_inber/jcr:content (SlingRequestPathInfo: path='/content/geometrixx/en/blog/2009/01/dsc_2008_show_inber/jcr:content', selectorString='null', extension='feedentry', suffix='null')
           29 (2012-05-11 11:33:10) TIMER_START{resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/01/dsc_2008_show_inber/jcr:content)}
           29 (2012-05-11 11:33:10) TIMER_END{0,resolveServlet(JcrNodeResource, type=collab/blog/components/page, superType=null, path=/content/geometrixx/en/blog/2009/01/dsc_2008_show_inber/jcr:content)} Using servlet /libs/collab/blog/components/page/feedentry.jsp
           29 (2012-05-11 11:33:10) LOG Applying Includefilters
           29 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
           29 (2012-05-11 11:33:10) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
           29 (2012-05-11 11:33:10) TIMER_START{/libs/collab/blog/components/page/feedentry.jsp#5}
           32 (2012-05-11 11:33:10) TIMER_END{3,/libs/collab/blog/components/page/feedentry.jsp#5}
           34 (2012-05-11 11:33:10) LOG SCRIPT ERROR: 
           34 (2012-05-11 11:33:10) TIMER_END{29,/libs/collab/blog/components/page/feed.jsp#0}
           34 (2012-05-11 11:33:10) TIMER_START{handleError:throwable=org.apache.sling.api.SlingException}
           52 (2012-05-11 11:33:10) TIMER_END{18,handleError:throwable=org.apache.sling.api.SlingException} Using handler org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet
           54 (2012-05-11 11:33:10) TIMER_END{54,Request Processing} Dumping SlingRequestProgressTracker Entries
      
      
        • 1. Re: Blog Feed Exception
          Ryan Lunka Community Member

          Solved.  Add slingResponse.getOutputStream().close(); after the closing <atom:entry /> tag.

          • 2. Re: Blog Feed Exception
            CQDev1306

            Ryan,

             

            Are you able to resolve this issue by stream close ? I am not error in front end but in server I see error

             

            Caused by: java.lang.IllegalStateException: output stream already obtained

             

            "Add slingResponse.getOutputStream().close(); after the closing <atom:entry /> tag." Does not help. Can you share your code snippet please ?

             

            Also does your rss feed works for safari browser ?

            • 3. Re: Blog Feed Exception
              Ryan Lunka Community Member

              I probably did not test it in Safari, because I was on a PC and would typically test Chrome, FF, IE only.  However, that did work for me.  I cannot send you a code snippet, because I no longer work for the organization for which I wrote that code.  I don't have access to that source.  It really wasn't any diferent than what you are describing, though, if I remember correctly.