polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZEST-38) Scheduler throws NPE
Date Wed, 01 Jul 2015 13:21:04 GMT

    [ https://issues.apache.org/jira/browse/ZEST-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610217#comment-14610217
] 

Niclas Hedhman commented on ZEST-38:
------------------------------------

It is because there is only one Schedule in queue, which hasn't been executed yet, hence the
scheduleHandler.future == null.

> Scheduler throws NPE
> --------------------
>
>                 Key: ZEST-38
>                 URL: https://issues.apache.org/jira/browse/ZEST-38
>             Project: Zest
>          Issue Type: Bug
>            Reporter: Niclas Hedhman
>
> Not sure why/how/when, but it happens first access...
> java.lang.NullPointerException
> 	at org.qi4j.library.scheduler.SchedulerMixin.dispatchForExecution(SchedulerMixin.java:183)
> 	at org.qi4j.library.scheduler.SchedulerMixin.scheduleCron(SchedulerMixin.java:120)
> 	at org.qi4j.api.unitofwork.concern.UnitOfWorkConcern.invoke(UnitOfWorkConcern.java:89)
> 	at org.qi4j.api.unitofwork.concern.UnitOfWorkConcern.invoke(UnitOfWorkConcern.java:89)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message