[jboss-user] [JBoss Seam] - Re: Nullpointer on passivateEntity (current CVS)

lcoetzee do-not-reply at jboss.com
Thu Jun 28 13:35:18 EDT 2007


I have played around a bit more and have seen that the issue is related to the following:


  | Context ctx = Contexts.getConversationContext();
  | 
  |                 if (ctx != null) {
  |                         ctx.remove("needSelections");
  |                         ctx.flush();
  |                 }
  | 

If I remove the ctx.flush() the Exception is gone.... 
The question then is why the flush would cause this problem (or maybe it is just wrong to do the flush) ?

Later

L


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058872#4058872

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058872



More information about the jboss-user mailing list