Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14271

NullPointerException when ejb timers services fails during loading timer from database upon activation

XMLWordPrintable

      NullPointerException when ejb timers services fails during loading timer from database upon activation.

       This causes the timerObjectId set not being created and failing afterwards. 

      Caused by: java.lang.RuntimeException: java.lang.NullPointerException
      	at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.timerservice.TimerServiceImpl.persistTimer(TimerServiceImpl.java:632)
      	at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.timerservice.TimerServiceImpl.createTimer(TimerServiceImpl.java:480)
      	at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.timerservice.TimerServiceImpl.createSingleActionTimer(TimerServiceImpl.java:305)
      	at deployment.ROOT.war//org.jbpm.services.ejb.timer.EJBTimerScheduler.internalSchedule(EJBTimerScheduler.java:202)
      Caused by: java.lang.NullPointerException
              at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.timerservice.persistence.database.DatabaseTimerPersistence.addTimer(DatabaseTimerPersistence.java:337)
              at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.timerservice.TimerServiceImpl.persistTimer(TimerServiceImpl.java:613)
      
      

              elguardian@gmail.com Enrique González Martínez (Inactive)
              elguardian@gmail.com Enrique González Martínez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: