History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1949
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Eric Dalquist
Reporter: Eric Dalquist
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

Deleting portlet causes exception in logs

Created: 18/Feb/08 12:44 PM   Updated: 05/Mar/08 07:51 AM
Component/s: User Interface
Affects Version/s: 3.0.0-M5
Fix Version/s: 3.0.0-RC2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
When deleting a portlet the following stack trace is generated in the logs:

ERROR [http-8080-Processor25] portal.ChannelManager.[] Feb/13 17:31:18 - java.lang.IllegalStateException: No PortalControlStructures is associated with this IChannel, either no valid request has started or the request is complete.
java.lang.IllegalStateException: No PortalControlStructures is associated with this IChannel, either no valid request has started or the request is complete.
at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.receiveEvent(CSpringPortletAdaptor.java:220)
at org.jasig.portal.ChannelManager.removeChannel(ChannelManager.java:898)
at org.jasig.portal.ChannelManager.channelDeleted(ChannelManager.java:1225)
at org.jasig.portal.layout.dlm.DistributedLayoutManager.deleteNode(DistributedLayoutManager.java:649)
at org.jasig.portal.layout.TransientUserLayoutManagerWrapper.deleteNode(TransientUserLayoutManagerWrapper.java:193)
at org.jasig.portal.layout.dlm.remoting.UpdatePreferencesServlet.doGet(UpdatePreferencesServlet.java:148)
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:213)
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.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:613)
 INFO [http-8080-Processor25] handlers.LoggingEventHandler.[] Feb/13 17:31:18 - Channel [Bookmarks, 231, u14l1n10] was removed from layout 1 by Admin User (admin) at Wed Feb 13 17:31:18 EST 2008

 All   Comments   Work Log   Change History      Sort Order:
Eric Dalquist [18/Feb/08 12:46 PM]
Added Spring's RequestContextListener to allow the LayoutEventListener.channelDeleted(LayoutMoveEvent) method on ChannelManager access to the current request to be able to provide the PortalControlStructures to the channel being deleted before sending the event.