1 Reply Latest reply on Mar 10, 2004 11:41 AM by sys user

    startSchedule in Scheduler throws NullPointerException

    sys user Master

      Hello Everybody,

      I have written a MBean that creates new Scheduler objects that are based on a Schedulable class of mine. After creating a new Scheduler Object, I call scheduler.startSchedule() which throws a NullPointerException. The source code points to getServer().xxxx call in the startSchedule method. Do I need to set a server when I create a new Scheduler? What is the recommended way of using a new Scheduler object.

      Thanks for your insights.