I have a similar problem with an inexistant EventContext when destroy annoted 
method is called on a bean with Apllication scope.

I have changed the code in org.jboss.seam.web.Parameter :

 public Map<String, String[]> getRequestParameters()
  |    {
  |       ServletRequest servletRequest = 
ServletContexts.instance().getRequest();
  |       if ( servletRequest != null )
  |       {
  |          return servletRequest.getParameterMap();
  |       }
  |       return Collections.EMPTY_MAP;
  |    }

with

public Map<String, String[]> getRequestParameters()
  |    {
  |       if(Contexts.isEventContextActive())
  |       {
  |          ServletRequest servletRequest = 
ServletContexts.instance().getRequest();
  |          if ( servletRequest != null )
  |          {
  |             return servletRequest.getParameterMap();
  |          }
  |       }
  |       return Collections.EMPTY_MAP;
  |    }
  | 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062502
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to