[jboss-user] [JBoss Seam] - Re: Timer not starting from method with @Create annotation.

2007-06-08 Thread petemuir
You need to find out why the NPE is thrown - for some reason the as isn't giving you the whole stack trace, wrap the method in a try catch and print the stack trace View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052533#4052533 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Timer not starting from method with @Create annotation.

2007-06-08 Thread maniappan
Hi Pete I have the exceptions caught for the scheduler, processor methods as well as the place where I invoke the saveAndSchedule() method. Don't see any other exception raised. The exception seems to happen after certain time period(I see all the relevant operations completed on the schedule

[jboss-user] [JBoss Seam] - Re: Timer not starting from method with @Create annotation.

2007-06-08 Thread petemuir
2007-06-08 14:36:26,756 ERROR [org.jboss.ejb.txtimer.TimerImpl] Error invoking ejbTimeout: javax.ejb | .EJBException: java.lang.NullPointerException: @Create | public void startScheduler() { | try { | log.info(Entering create now to start the schdeuler); |

[jboss-user] [JBoss Seam] - Re: Timer not starting from method with @Create annotation.

2007-06-08 Thread maniappan
Tried it, didn't get any exception, got more line in addition to what I posted before.. | 2007-06-08 22:42:49,066 DEBUG [org.jboss.ejb.txtimer.TimerImpl] Timer was not registered with Tx, resetting state: