Announcement Announcement Module
No announcement yet.
Accessing ConversationContainer from HttpSession object Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Accessing ConversationContainer from HttpSession object

    Hi guys,

    I am trying to get to the ConversationContainer object stored in the HttpSession from FlowHandler.handleException(FlowException e, HttpServletRequest request, HttpServletResponse response).

    The reason why I want to do this is because I am getting a NoSuchFlowExecution exception every now and then in a production environment and I would like to extract some information I know is in the ConversationContainer to help me narrow down the reason why this might be happening.

    (I know that NoSuchFlowExecution happens when a user tries to access a state that is not no longer valid .. I'm just hoping to get more information about that particular user, etc from the ConversationContainer.)

    The ConversationContainer is a non-public class and only accessible by other classes in the same package. My solution now is to use Java reflection .. but I'm hoping there's a better way to get to the information.