You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2010/10/06 20:18:32 UTC

[jira] Commented: (SYNAPSE-698) NPE in SynapseConfiguration.destroy()

    [ https://issues.apache.org/jira/browse/SYNAPSE-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918616#action_12918616 ] 

Hiranya Jayathilaka commented on SYNAPSE-698:
---------------------------------------------

May be we should store the initialization state in the SynapseConfiguration class. Otherwise there could be many other issues even if we fix this NPE. I think we should add a boolean state variable (initialized) to SynapseConfiguration.

Ruwan, what do you think?

> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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