synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka (JIRA)" <>
Subject [jira] [Resolved] (SYNAPSE-698) NPE in SynapseConfiguration.destroy()
Date Thu, 01 Aug 2013 23:53:48 GMT


Hiranya Jayathilaka resolved SYNAPSE-698.

       Resolution: Fixed
    Fix Version/s: NIGHTLY

I've refactored the SynapseConfiguration class to address this issue.

1. SynapseConfiguration keeps track of its initialization status and disallows back to back
calls to init/destroy methods.
2. Synapse timer is initialized in init method and destroyed properly in the destroy method
> NPE in SynapseConfiguration.destroy()
> -------------------------------------
>                 Key: SYNAPSE-698
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Myles Bunbury
>            Assignee: Hiranya Jayathilaka
>             Fix For: NIGHTLY
> If for some reason org.apache.synapse.config.SynapseConfiguration.destroy() is called
twice, a NPE results on line 767 since the synapseTimer variable has already been set to NULL.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message