[jboss-jira] [JBoss JIRA] (WFLY-3444) EjbTimerXmlPersister should check if timer.getNextExpiration() is null to avoid NPE

Scott Marlow (JIRA) issues at jboss.org
Tue Jun 3 15:54:15 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow reassigned WFLY-3444:
----------------------------------

    Assignee: Scott Marlow  (was: David Lloyd)


> EjbTimerXmlPersister should check if timer.getNextExpiration() is null to avoid NPE
> -----------------------------------------------------------------------------------
>
>                 Key: WFLY-3444
>                 URL: https://issues.jboss.org/browse/WFLY-3444
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 9.0.0.Alpha1
>
>
> Seeing a NPE in org.jboss.as.ejb3.timerservice.persistence.filestore.EjbTimerXmlPersister. that probably needs a null check:
> {quote}
> Caused by: java.lang.NullPointerException
>         at org.jboss.as.ejb3.timerservice.persistence.filestore.EjbTimerXmlPersister.writeCalendarTimer(EjbTimerXmlPersister.java:136)
>         at org.jboss.as.ejb3.timerservice.persistence.filestore.EjbTimerXmlPersister.writeContent(EjbTimerXmlPersister.java:89)
>         at org.jboss.as.ejb3.timerservice.persistence.filestore.EjbTimerXmlPersister.writeContent(EjbTimerXmlPersister.java:43)
>         at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:88)
>         at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:83)
>         at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.writeFile(FileTimerPersistence.java:440)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list