synapse-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/SYNAPSE-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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: https://issues.apache.org/jira/browse/SYNAPSE-698
>             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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message