[jboss-dev-forums] [Design of JBoss Remoting, Unified Invokers] - Re: Bisocket server invoker NPE

ron.sigal@jboss.com do-not-reply at jboss.com
Wed Mar 14 01:26:10 EDT 2007


I looked at some old logs, and it looks like the problem is associated with tests that deliberately kill the server, which is why the client side is trying to recreate the control connection.  The NullPointerException seems to occur because the client invoker has closed before the ControlMonitorTimerTask has stopped running.  I'm not sure how this is happening, but it could be that the TimerTask was in the middle of running when the client invoker closed.  In any case, I've modified the code to avoid the NPE and print a warning message.

I ran the JBM functional tests, and they all pass except for occasional failures in FailoverValveTest at line 287


  |          assertNotNull(o);
  | 

I reran FailoverValveTest with the remoting jar from the SVN repository and the same thing happened, so I don't think I broke anything new.

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

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



More information about the jboss-dev-forums mailing list