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

Anderson Parra de Paula (JIRA) issues at jboss.org
Tue Nov 18 11:54:39 EST 2014


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

Anderson Parra de Paula commented on WFLY-4088:
-----------------------------------------------

Hi Alarik. How are you?

I cannot simulate this issue. Please, take a look in my snapshot log. Can you send more details about your project configuration?

16:46:17,580 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeplo
ymentUnitProcessor] (MSC service thread 1-4) JNDI bindings for session bean name
d TimerTest in deployment unit subdeployment "sample-ejb-ejb.jar" of deployment
"sample-ejb-ear.ear" are as follows:

        java:global/sample-ejb-ear/sample-ejb-ejb/TimerTest!org.jboss.as.quickst
arts.ear.ejb.TimerTest
        java:app/sample-ejb-ejb/TimerTest!org.jboss.as.quickstarts.ear.ejb.Timer
Test
        java:module/TimerTest!org.jboss.as.quickstarts.ear.ejb.TimerTest
        java:global/sample-ejb-ear/sample-ejb-ejb/TimerTest
        java:app/sample-ejb-ejb/TimerTest
        java:module/TimerTest

16:46:17,627 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005
: Starting Services for CDI deployment: sample-ejb-ear.ear
16:46:17,674 INFO  [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900
: 2.1.2 (Final)
16:46:17,689 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008
: Starting weld service for deployment sample-ejb-ear.ear
16:46:19,000 INFO  [stdout] (EJB default - 9) Hello
16:46:19,015 INFO  [stdout] (EJB default - 10) Hello
16:46:19,015 INFO  [stdout] (EJB default - 2) Hello
16:46:19,015 INFO  [stdout] (EJB default - 8) Hello
16:46:19,015 INFO  [stdout] (EJB default - 3) Hello
16:46:19,015 INFO  [stdout] (EJB default - 1) Hello
16:46:19,031 INFO  [stdout] (EJB default - 5) Hello
16:46:19,031 INFO  [stdout] (EJB default - 6) Hello
16:46:19,031 INFO  [stdout] (EJB default - 7) Hello
16:46:19,031 INFO  [stdout] (EJB default - 4) Hello
16:46:19,592 INFO  [stdout] (EJB default - 1) Hello
16:46:19,608 INFO  [stdout] (EJB default - 9) Hello
16:46:19,670 INFO  [stdout] (EJB default - 4) Hello


> 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