0 Replies Latest reply on Jan 9, 2009 9:28 AM by narensb

    Thread pool error

      I have created a event source.when subscription request is coming i am passing the subscription info to lower layer where events are generated.
      After getting the subscription status at lower layer level i am subscribing the subscription in jboss eventing module.
      The events are being generated in the lower layer creating a new thread
      which is calling a dispatch method of Dispatch service(where actual dispatching is done using delegate.dispatch() as specified in the user guide chapter 16 of jbossws).
      I am getting this error

      19:44:26,433 ERROR [STDERR] Exception in thread "pool-1-thread-2"
      19:44:26,433 ERROR [STDERR] java.lang.NullPointerException
      19:44:26,433 ERROR [STDERR] at org.jboss.ws.extensions.eventing.mgmt.DispatchJob.run(DispatchJob.java:51)
      19:44:26,433 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      19:44:26,433 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      19:44:26,433 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)

      any clue plzz help!!!