0 Replies Latest reply on Feb 16, 2007 3:25 PM by jurivrljicak

    java.lang.IllegalArgumentException: Can't schedule a null Ti

    jurivrljicak

      hi,

      On migrating mq to messaging 1.0.1 sp4. Had success in testing, but when moving to cluster i do get

      16:44:49,783 ERROR [ConnectionAspect] Caught exception from connection
      java.lang.IllegalArgumentException: Can't schedule a null TimerTask
      at org.jboss.util.TimerQueue.schedule(TimerQueue.java:77)
      at org.jboss.remoting.Lease.updateLease(Lease.java:95)
      at org.jboss.remoting.ServerInvoker.updateClientLease(ServerInvoker.java:872)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:763)
      at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:72)
      at org.jboss.remoting.ConnectionValidator.checkConnection(ConnectionValidator.java:146)
      at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:112)
      at java.util.TimerThread.mainLoop(Timer.java:432)
      at java.util.TimerThread.run(Timer.java:382)
      16:44:49,784 WARN [JmsManagedConnection] Handling jms exception failure: org.jboss.resource.adapter.jms.JmsManagedConnection@1f5173f
      javax.jms.JMSException: Throwable received from underlying connection
      at org.jboss.jms.client.container.ConnectionAspect.handleConnectionException(ConnectionAspect.java:203)
      at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:137)
      16:44:49,785 ERROR [ConnectionAspect] Caught exception from connection
      java.lang.IllegalArgumentException: Can't schedule a null TimerTask
      at org.jboss.util.TimerQueue.schedule(TimerQueue.java:77)
      at org.jboss.remoting.Lease.updateLease(Lease.java:95)
      at org.jboss.remoting.ServerInvoker.updateClientLease(ServerInvoker.java:872)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:763)
      at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:72)
      at org.jboss.remoting.ConnectionValidator.checkConnection(ConnectionValidator.java:146)
      at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:112)
      at java.util.TimerThread.mainLoop(Timer.java:432)


      i cant find the error, please, thanks