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

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

NPE in SynapseConfiguration.destroy()
-------------------------------------

                 Key: SYNAPSE-698
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-698
             Project: Synapse
          Issue Type: Bug
            Reporter: Myles Bunbury


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


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

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka reassigned SYNAPSE-698:
-------------------------------------------

    Assignee: Hiranya Jayathilaka

> 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