Axis2MessageContext#getEndpoint Throws NPE for Non-Existing Endpoint Keys
-------------------------------------------------------------------------

                 Key: SYNAPSE-652
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-652
             Project: Synapse
          Issue Type: Bug
          Components: Core
            Reporter: Hiranya Jayathilaka
            Assignee: Hiranya Jayathilaka
             Fix For: 2.0


Logic is currently implemented as follows:

            Endpoint e = getConfiguration().getEndpoint(key);
            synchronized (e) {
                if (!e.isInitialized()) {
                    e.init(synEnv);
                }
            }

If 'e' is null (which is the case if the key does not exist) this throws an NPE

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to