-
1. Re: Custom Servlet - No Active Event Context
ryankimber Aug 13, 2009 2:06 AM (in response to ryankimber)It appears that, if there's an uncaught exception in the custom servlet, Seam is kicking an IllegalStateException back to the browser, rather than the actual exception.
I've wrapped my code in a try{...}catch(Exception e) block and discovered that some required components haven't been injected into a component that I was using.
This leads me to my next problem. Why can't I get the context-filter to recover the conversation properly? I'm passing the cid as a parameter (in fact, I'm passing it twice - once with cid as the parameter name and once with conversationId as the name).
Still, the conversation that I get within my servlet is a ServerContext and isn't populated with any of components that are in the conversation I was expecting.
-
2. Re: Custom Servlet - No Active Event Context
nathandennis Sep 13, 2010 1:41 AM (in response to ryankimber)thank you. it was driving me insane because i remember a bug from a previous version that behaved the same way though i knew it couldnt be that because i already had custom servlets running on this project. i was fairly sure this error normally happens when preceded by another error... just couldnt figure out why it wasnt included in the stack trace. 2 points extra credit.