[jboss-jira] [JBoss JIRA] (WFLY-4088) NPE when changing scheduled service

Alarik Myrin (JIRA) issues at jboss.org
Tue Nov 18 11:59:39 EST 2014


    [ https://issues.jboss.org/browse/WFLY-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020868#comment-13020868 ] 

Alarik Myrin commented on WFLY-4088:
------------------------------------

I think what I did was to re-deploy a .war file in which a timed service had disappeared.  So in the old version of the .war file, there was a timed service, and in the new version of the .war file, there was no timed service.  And it caused the problem.  Undeploying a .war file does not remove the persistent timed services (seemingly by design), so it was only through Googling the problem that I learned how I could deploy my new version of the .war file that no longer had the timed service.

> NPE when changing scheduled service
> -----------------------------------
>
>                 Key: WFLY-4088
>                 URL: https://issues.jboss.org/browse/WFLY-4088
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 8.0.0.Final
>            Reporter: Alarik Myrin
>            Assignee: David Lloyd
>
> If I modify or remove a (persistent) scheduled service, I get the following stack trace:
> Caused by: java.lang.NullPointerException
> 	at org.jboss.as.ejb3.timerservice.TimerServiceImpl.doesTimeoutMethodMatch(TimerServiceImpl.java:959)
> 	at org.jboss.as.ejb3.timerservice.TimerServiceImpl.restoreTimers(TimerServiceImpl.java:710)
> 	at org.jboss.as.ejb3.timerservice.TimerServiceImpl.start(TimerServiceImpl.java:202)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
> 	... 3 more
> Another user is reporting the same thing on 8.1.0 Final, see:
> http://stackoverflow.com/questions/25988818/deploying-java-schedule-with-wildfly-8-1-0-final
> Is there any way using the CLI to delete persistent scheduled services?



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list