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");
| try{Thread t = new Thread();
| t.sleep(10000);}
| catch(Exception e){}
| try {
| MyappScheduleController ysh = (MyappScheduleController)
Component.getInstance("myappScheduleHome");
| ysh.saveAndSchedule();
| } catch (Exception e) {
| System.out.println("Got the exception while starting time
"+e.toString());
| }
| } catch (Exception e) {
| e.printStackTrace();
| }
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052611#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...