You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2007/10/01 19:36:50 UTC
[jira] Assigned: (TUSCANY-1819) RequestContext.getCallback() throws
NullPointerException when there is no call back
[ https://issues.apache.org/jira/browse/TUSCANY-1819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng reassigned TUSCANY-1819:
-------------------------------------
Assignee: Raymond Feng
> RequestContext.getCallback() throws NullPointerException when there is no call back
> -----------------------------------------------------------------------------------
>
> Key: TUSCANY-1819
> URL: https://issues.apache.org/jira/browse/TUSCANY-1819
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-1.0
> Reporter: Mark Combellack
> Assignee: Raymond Feng
> Priority: Minor
> Fix For: Java-SCA-Next
>
> Attachments: RequestContextGetCallbackNPE.patch
>
>
> If you call the getCallback() method on the RequestContext for a Component that does not have a call back, the code throws a NullPointerException:
> java.lang.NullPointerException
> at org.apache.tuscany.sca.core.context.RequestContextImpl.getCallback(RequestContextImpl.java:77)
> at net.ubiquity.sipsoa.compliance.requestcontext.basic.RequestContextPojoImpl.testGetCallback(RequestContextPojoImpl.java:95)
> .....
> This is different behaviour to the RequestContext.getCallbackReference() method that will just return 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org