Uploaded image for project: 'Calendar Portlet'
  1. Calendar Portlet
  2. CAP-10

bad feed causes portlet not to render

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Use of the calendar portlet in a Unicon demo environment with the data pasted below resulted in the stacktrace also pasted below. The error modality was such that the portlet wouldn't render for any users. I believe the issue is one of needing additional exception handling on the feed sources to recover from a feed source pointed at a URL that has been replaced with unfriendly non-calendar website content. There are probably opportunities for more robust exception handling more generally in this code. I hope this example data will serve to help verify that the error handling improvements succeed.

      sample data:

      calendar_configuration_id calendar_configuration_type subscribe_id displayed calendar_id
      224 PD student true 219
      229 PD admin true 219
      317 PD null true 219
      356 PD guest true 219
      703 PD null true 513
      548 PD student true 513
      877 UD student true 876
      514 PD admin true 513

      calendar_id calendar_parameter_value calendar_parameter_name
      219 http://ical.mac.com/ical/US32Holidays.ics url
      513 http://events.berkeley.edu/index.php/rss/sn/pubaff/type/week/tab/all_events.html url
      876 http://icalx.com/public/lembree/Red%20Sox%202008.ics url

      Resulting stack trace:

      root@zeus logs]# tail -f portal.log
      INFO [TP-Processor24] portlet.CSpringPortletAdaptor.[] Jul/29 09:19:37 - Using ISpringPortletChannel named 'portletChannel'
      INFO org.jasig.portal.ChannelManager#69 channels.CGenericXSLT.[] Jul/29 09:19:37 - Global cache not enabled for channel: CGenericXSLT/emptyDocument.xml
      INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] session.PortletSessionExpirationManager.[] Jul/29 09:19:44 - PortletSession with id 'BFECCB5CC6DF3AFE5C543EA8B1CBF050' for context '/googleportlet' has already been invalidated.
      INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] session.PortletSessionExpirationManager.[] Jul/29 09:19:44 - PortletSession with id 'BFECCB5CC6DF3AFE5C543EA8B1CBF050' for context '/BookmarksPortlet' has already been invalidated.
      INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] session.PortletSessionExpirationManager.[] Jul/29 09:19:44 - PortletSession with id 'BFECCB5CC6DF3AFE5C543EA8B1CBF050' for context '/WeatherPortlet' has already been invalidated.
      INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] session.PortletSessionExpirationManager.[] Jul/29 09:19:44 - PortletSession with id 'BFECCB5CC6DF3AFE5C543EA8B1CBF050' for context '/FeedbackPortlet' has already been invalidated.
      INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] jndi.JndiManagerImpl.[] Jul/29 09:19:44 - JNDI Context removed for sessionId='BFECCB5CC6DF3AFE5C543EA8B1CBF050', userId='11', and layoutId='1'
      INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] handlers.LoggingEventHandler.[] Jul/29 09:19:44 - Session destroyed for Student User (student) at Tue Jul 29 09:19:44 MST 2008
      INFO [TP-Processor17] portal.ChannelRegistryManager.[] Jul/29 09:20:21 - Caching channel registry.
      ERROR [TP-Processor17] remoting.UpdatePreferencesServlet.[] Jul/29 09:20:25 - org.jasig.portal.PortalException: Node with id="n158" doesn't exist. Occurred in layout for apetro.
      INFO [TP-Processor24] portlet.CSpringPortletAdaptor.[] Jul/29 09:20:53 - Using ISpringPortletChannel named 'portletChannel'
      INFO [TP-Processor24] portlet.CSpringPortletAdaptor.[] Jul/29 09:20:53 - Using ISpringPortletChannel named 'portletChannel'
      ERROR org.jasig.portal.ChannelManager#71 core.DefaultPortletInvokerService.[] Jul/29 09:20:54 - Unable to successfully invoke portlet. Error during processing.
      ERROR [TP-Processor24] portal.ChannelRenderer.[] Jul/29 09:20:54 - Channel rendering failed while getting title for channel renderer ChannelRenderer channel = [org.jasig.portal.channels.portlet.CSpringPortletAdaptor@58432a] rd = [ChannelRuntimeData: map=[{}] browserInfo = [[content-length]=[0] [accept-encoding]=[gzip,deflate] [referer]=https://uportal30-sales.unicon.net/uPortal/render.userLayoutRootNode.uP [connection]=[keep-alive] [accept-language]=[en-us,en;q=0.5] [host]=[uportal30-sales.unicon.net] [accept-charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7] [user-agent]=[Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16] [cookie]=[PHPSESSID=8agfv9gt42gi9ffdfvvcafe3r6; JSESSIONID=940A1C6FE1EB5800E17C6FCBA0B14FE1] [accept]=[text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5] [keep-alive]=[300] ] locales = [[Ljava.util.Locale;@1c3544f] channelUPFile = [org.jasig.portal.UPFileSpec@d447dc] baseActionURL = [null] httpRequestMethod = [GET] remoteAddress = [10.15.16.14] keywords = [null] requestType = [RENDER] renderingAsRoot = [false] targeted = [false]] rendering=true donerendering=false startTime=1217348453378 timeOut=60000
      org.jasig.portal.InternalPortalException: org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=2097.n287,contextPath=/CalendarPortlet,portletName=calendar,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={}]' threw an exception while executing action. channelPublishId=27, channelSubscribeId=n287, user=apetro
      at org.jasig.portal.ChannelRenderer.completeRendering(ChannelRenderer.java:319)
      at org.jasig.portal.ChannelRenderer.getChannelTitle(ChannelRenderer.java:398)
      at org.jasig.portal.ChannelManager.getChannelTitle(ChannelManager.java:1281)
      at org.jasig.portal.io.ChannelTitleIncorporationWiterFilter.replaceToken(ChannelTitleIncorporationWiterFilter.java:43)
      at org.jasig.portal.io.AbstractTokenReplacementFilter.write(AbstractTokenReplacementFilter.java:134)
      at org.jasig.portal.io.AbstractTokenReplacementFilter.write(AbstractTokenReplacementFilter.java:105)
      at org.jasig.portal.serialize.CachingWriter.write(CachingWriter.java:56)
      at org.jasig.portal.serialize.CachingWriter.write(CachingWriter.java:56)
      at org.jasig.portal.serialize.Printer.flush(Printer.java:329)
      at org.jasig.portal.serialize.CachingXHTMLSerializer.stopCaching(CachingXHTMLSerializer.java:126)
      at org.jasig.portal.CharacterCachingChannelIncorporationFilter.stopCaching(CharacterCachingChannelIncorporationFilter.java:176)
      at org.jasig.portal.CharacterCachingChannelIncorporationFilter.startElement(CharacterCachingChannelIncorporationFilter.java:252)
      at org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:204)
      at org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:277)
      at org.apache.xml.serializer.ToXMLSAXHandler.startPrefixMapping(ToXMLSAXHandler.java:348)
      at org.apache.xml.serializer.ToXMLSAXHandler.startPrefixMapping(ToXMLSAXHandler.java:318)
      at org.apache.xml.dtm.ref.DTMTreeWalker.startNode(DTMTreeWalker.java:251)
      at org.apache.xalan.transformer.TreeWalker2Result.startNode(TreeWalker2Result.java:113)
      at org.apache.xml.dtm.ref.DTMTreeWalker.traverse(DTMTreeWalker.java:112)
      at org.apache.xalan.transformer.TreeWalker2Result.traverse(TreeWalker2Result.java:72)
      at org.apache.xalan.templates.ElemCopyOf.execute(ElemCopyOf.java:184)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:160)
      at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
      at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:423)
      at org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:263)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)
      at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:246)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:139)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
      at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:139)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
      at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
      at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
      at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
      at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
      at org.jasig.portal.utils.SAX2FilterImpl.endDocument(SAX2FilterImpl.java:658)
      at org.jasig.portal.utils.SAX2BufferImpl.outputBuffer(SAX2BufferImpl.java:258)
      at org.jasig.portal.utils.SAX2BufferImpl.outputBuffer(SAX2BufferImpl.java:191)
      at org.jasig.portal.rendering.StaticRenderingPipeline.renderState(StaticRenderingPipeline.java:602)
      at org.jasig.portal.PortalSessionManager.doGetInternal(PortalSessionManager.java:246)
      at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:176)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=2097.n287,contextPath=/CalendarPortlet,portletName=calendar,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={}]' threw an exception while executing action. channelPublishId=27, channelSubscribeId=n287, user=apetro
      at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:467)
      at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:184)
      at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545)
      at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      ... 1 more
      Caused by: javax.portlet.PortletException: Request processing failed
      at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:474)
      at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:431)
      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)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
      at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
      at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
      at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173)
      at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:463)
      ... 9 more
      Caused by: com.thoughtworks.xstream.converters.ConversionException: atom:link : atom:link : atom:link : atom:link
      ---- Debugging information ----
      message : atom:link : atom:link
      cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
      cause-message : atom:link : atom:link
      class : edu.yale.its.tp.portlets.calendar.service.rss.xstream.RssCalendar
      required-type : edu.yale.its.tp.portlets.calendar.service.rss.xstream.RssChannel
      path : /rss/channel/atom:link
      line number : 4
      -------------------------------
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:88)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:234)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:206)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142)
      at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:869)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:128)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:90)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:66)
      at edu.yale.its.tp.portlets.calendar.mvc.controller.CalendarController.handleRenderRequestInternal(CalendarController.java:232)
      at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:223)
      at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52)
      at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:788)
      at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:461)
      ... 24 more
      Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: atom:link : atom:link
      at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:62)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.CGLIBMapper.realClass(CGLIBMapper.java:50)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:87)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:52)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType(AbstractReflectionConverter.java:318)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:196)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      ... 46 more
      WARN [TP-Processor24] portal.ChannelManager.[] Jul/29 09:20:54 - Replacing channel [org.jasig.portal.channels.portlet.CSpringPortletAdaptor@58432a], which had subscribeId [n287] with error channel because of error code Render time exception message: IChannelRenderer.completeRendering() threw and throwable [org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=2097.n287,contextPath=/CalendarPortlet,portletName=calendar,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={}]' threw an exception while executing action. channelPublishId=27, channelSubscribeId=n287, user=apetro]
      org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=2097.n287,contextPath=/CalendarPortlet,portletName=calendar,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={}]' threw an exception while executing action. channelPublishId=27, channelSubscribeId=n287, user=apetro
      at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:467)
      at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:184)
      at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545)
      at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.portlet.PortletException: Request processing failed
      at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:474)
      at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:431)
      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)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
      at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
      at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
      at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173)
      at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:463)
      ... 9 more
      Caused by: com.thoughtworks.xstream.converters.ConversionException: atom:link : atom:link : atom:link : atom:link
      ---- Debugging information ----
      message : atom:link : atom:link
      cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
      cause-message : atom:link : atom:link
      class : edu.yale.its.tp.portlets.calendar.service.rss.xstream.RssCalendar
      required-type : edu.yale.its.tp.portlets.calendar.service.rss.xstream.RssChannel
      path : /rss/channel/atom:link
      line number : 4
      -------------------------------
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:88)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:234)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:206)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142)
      at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:869)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:128)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:90)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:66)
      at edu.yale.its.tp.portlets.calendar.mvc.controller.CalendarController.handleRenderRequestInternal(CalendarController.java:232)
      at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:223)
      at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52)
      at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:788)
      at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:461)
      ... 24 more
      Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: atom:link : atom:link
      at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:62)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.CGLIBMapper.realClass(CGLIBMapper.java:50)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:87)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:52)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType(AbstractReflectionConverter.java:318)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:196)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      ... 46 more
      WARN ErrorRendering#180 error.CError.[] Jul/29 09:20:54 - ErrorDocument XML is
      <error code="1">
      <message>IChannelRenderer.completeRendering() threw</message>
      <channel>
      <id>n287</id>
      <name>My Calendar</name>
      </channel>
      <throwable
      class="org.jasig.portal.channels.portlet.PortletDispatchException" renderedAs="java.lang.Throwable">
      <message>The portlet window 'PortletWindowImpl[portletWindowId=2097.n287,contextPath=/CalendarPortlet,portletName=calendar,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={}]' threw an exception while executing action. channelPublishId=27, channelSubscribeId=n287, user=apetro</message>
      <stack>org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=2097.n287,contextPath=/CalendarPortlet,portletName=calendar,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={}]' threw an exception while executing action. channelPublishId=27, channelSubscribeId=n287, user=apetro
      at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:467)
      at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:184)
      at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545)
      at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.portlet.PortletException: Request processing failed
      at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:474)
      at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:431)
      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: com.thoughtworks.xstream.converters.ConversionException: atom:link : atom:link : atom:link : atom:link
      ---- Debugging information ----
      message : atom:link : atom:link
      cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
      cause-message : atom:link : atom:link
      class : edu.yale.its.tp.portlets.calendar.service.rss.xstream.RssCalendar
      required-type : edu.yale.its.tp.portlets.calendar.service.rss.xstream.RssChannel
      path : /rss/channel/atom:link
      line number : 4
      -------------------------------
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:88)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:234)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:206)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142)
      at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:869)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:128)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:90)
      at edu.yale.its.tp.portlets.calendar.adapter.RssCalendarAdapter.getEvents(RssCalendarAdapter.java:66)
      at edu.yale.its.tp.portlets.calendar.mvc.controller.CalendarController.handleRenderRequestInternal(CalendarController.java:232)
      at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:223)
      at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52)
      at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:788)
      at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:461)
      ... 24 more
      Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: atom:link : atom:link
      at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:62)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.CGLIBMapper.realClass(CGLIBMapper.java:50)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:87)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:52)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType(AbstractReflectionConverter.java:318)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:196)
      at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      ... 46 more
      </stack>
      </throwable>
      </error>

        Attachments

          Activity

            People

            • Assignee:
              bourey Jennifer Bourey
              Reporter:
              awp9 Andrew Petro
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: