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

Stephen Buergler (JIRA) issues at jboss.org
Mon Dec 22 01:33:30 EST 2014


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

Stephen Buergler commented on WFLY-4088:
----------------------------------------

I got this too. When I rename the Scheduled method, org.jboss.as.ejb3.timerservice.CalendarTimer.getTimeoutMethod can't match the name in the xml to the name on the method and it returns null. I guess the code that eventually uses this information doesn't handle null correctly.

> 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.11#6341)


More information about the jboss-jira mailing list