Ao startar o servidor mesmo que o serviço mostre que os e-mail foram enviados, e a marcação na tabela fica correta. Sempre apresenta este erro:
16:53:30,002 ERROR [org.jboss.as.ejb3.timer] (EJB default - 1) WFLYEJB0029: Could not restore timer from F:\Curso_Alura\EJB\wildfly-20.0.1.Final\standalone\data\timer-service-data\agendamento-email-0.0.1-SNAPSHOT.agendamento-email-0.0.1-SNAPSHOT.AgendamentoEmailJob\ff4089d3-d5ce-4324-b52b-8ff61dea94dc.xml: com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character (NULL, unicode 0) encountered: not valid in any content
at [row,col {unknown-source}]: [1,1]
at org.codehaus.woodstox//com.ctc.wstx.sr.StreamScanner.constructNullCharException(StreamScanner.java:659)
at org.codehaus.woodstox//com.ctc.wstx.sr.StreamScanner.throwInvalidSpace(StreamScanner.java:683)
at org.codehaus.woodstox//com.ctc.wstx.sr.StreamScanner.throwInvalidSpace(StreamScanner.java:674)
at org.codehaus.woodstox//com.ctc.wstx.sr.StreamScanner.getNextAfterWS(StreamScanner.java:844)
at org.codehaus.woodstox//com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2119)
at org.codehaus.woodstox//com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1180)
at org.codehaus.woodstox//com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1203)
at org.jboss.staxmapper@1.3.0.Final//org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:74)
at org.jboss.as.ejb3@20.0.1.Final//org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.loadTimersFromFile(FileTimerPersistence.java:371)
at org.jboss.as.ejb3@20.0.1.Final//org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.getTimers(FileTimerPersistence.java:334)
at org.jboss.as.ejb3@20.0.1.Final//org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.access$500(FileTimerPersistence.java:82)
at org.jboss.as.ejb3@20.0.1.Final//org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence$PersistTransactionSynchronization$1.run(FileTimerPersistence.java:463)
at org.jboss.as.ejb3@20.0.1.Final//org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence$PersistTransactionSynchronization$1.run(FileTimerPersistence.java:455)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
O que no meu ambiente esta errado?
Já apaguei meu projeto baixei o do final do curso e o mesmo erro apresenta.