[jira] [Created] (APEXMALHAR-2508) CacheManager throws exception when the operator receives a shutdown request

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (APEXMALHAR-2508) CacheManager throws exception when the operator receives a shutdown request

JIRA jira@apache.org
Ajay Gupta created APEXMALHAR-2508:
--------------------------------------

             Summary: 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)
Loading...