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

ASF GitHub Bot commented on APEXMALHAR-2508:
--------------------------------------------

tushargosavi closed pull request #634: APEXMALHAR-2508 Add null check while 
calling cancel() for Timer instance in CacheManager
URL: https://github.com/apache/apex-malhar/pull/634
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> CacheManager throws exception when the operator receives a shutdown request
> ---------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2508
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2508
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Ajay Gupta
>            Assignee: Ajay Gupta
>            Priority: Minor
>
> CacheManager initializes the Timer (refresher) only if refreshTime is not 
> null. However, in deactivate, before cancelling the timer, there is no null 
> check leading to NullPointerException.
> Solution : Add a null check before cancelling the timer.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to