You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "James Jose (JIRA)" <ax...@ws.apache.org> on 2005/01/06 08:09:13 UTC
[jira] Created: (AXISCPP-358) Passing NULL as argument to APIs in IHeaderBlock and IAttribute class results in Exception
Passing NULL as argument to APIs in IHeaderBlock and IAttribute class results in Exception
------------------------------------------------------------------------------------------
Key: AXISCPP-358
URL: http://issues.apache.org/jira/browse/AXISCPP-358
Project: Axis-C++
Type: Bug
Reporter: James Jose
if we call APIs by passing NULL as it's argument then it results in some Excepton.
For eg. I tried the following statement
IHeaderBlock *phb=ws.createSOAPHeaderBlock("Test","http://apache.com");
phb->setLocalName(NULL);
It generated some exception.
All the APIs in IHeaderBlock and IAttribute class are generating this exception for NULL value.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (AXISCPP-358) Passing NULL as argument to APIs in IHeaderBlock and IAttribute class results in Exception
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-358?page=history ]
Samisa Abeysinghe updated AXISCPP-358:
--------------------------------------
Description:
if we call APIs by passing NULL as it's argument then it results in some Excepton.
For eg. I tried the following statement
IHeaderBlock *phb=ws.createSOAPHeaderBlock("Test","http://apache.com");
phb->setLocalName(NULL);
It generated some exception.
All the APIs in IHeaderBlock and IAttribute class are generating this exception for NULL value.
was:
if we call APIs by passing NULL as it's argument then it results in some Excepton.
For eg. I tried the following statement
IHeaderBlock *phb=ws.createSOAPHeaderBlock("Test","http://apache.com");
phb->setLocalName(NULL);
It generated some exception.
All the APIs in IHeaderBlock and IAttribute class are generating this exception for NULL value.
Component: SOAP
> Passing NULL as argument to APIs in IHeaderBlock and IAttribute class results in Exception
> ------------------------------------------------------------------------------------------
>
> Key: AXISCPP-358
> URL: http://issues.apache.org/jira/browse/AXISCPP-358
> Project: Axis-C++
> Type: Bug
> Components: SOAP
> Reporter: James Jose
>
> if we call APIs by passing NULL as it's argument then it results in some Excepton.
> For eg. I tried the following statement
> IHeaderBlock *phb=ws.createSOAPHeaderBlock("Test","http://apache.com");
> phb->setLocalName(NULL);
> It generated some exception.
> All the APIs in IHeaderBlock and IAttribute class are generating this exception for NULL value.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (AXISCPP-358) Passing NULL as argument to APIs in
IHeaderBlock and IAttribute class results in Exception
Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-358?page=all ]
Fred Preston closed AXISCPP-358:
--------------------------------
> Passing NULL as argument to APIs in IHeaderBlock and IAttribute class results in Exception
> ------------------------------------------------------------------------------------------
>
> Key: AXISCPP-358
> URL: http://issues.apache.org/jira/browse/AXISCPP-358
> Project: Axis-C++
> Type: Bug
> Components: SOAP
> Reporter: James Jose
> Fix For: 1.5 Beta
>
> if we call APIs by passing NULL as it's argument then it results in some Excepton.
> For eg. I tried the following statement
> IHeaderBlock *phb=ws.createSOAPHeaderBlock("Test","http://apache.com");
> phb->setLocalName(NULL);
> It generated some exception.
> All the APIs in IHeaderBlock and IAttribute class are generating this exception for NULL value.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (AXISCPP-358) Passing NULL as argument to APIs in IHeaderBlock and IAttribute class results in Exception
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-358?page=history ]
John Hawkins resolved AXISCPP-358:
----------------------------------
Resolution: Fixed
Fix Version: 1.5 Beta
I think that I've done as much as possible on this one for this release. Really we should be checking all params and throwing exceptions. However, that was waaaaayy too much work for this late in the cycle. Therefore I've justmade methods return AXIS_FAIL/SUCCESS where they were not returning anything previously and done as much checking as I think is sensible.
i have to say that we could also just document this as "passing in NULL gives unpredictable results"
> Passing NULL as argument to APIs in IHeaderBlock and IAttribute class results in Exception
> ------------------------------------------------------------------------------------------
>
> Key: AXISCPP-358
> URL: http://issues.apache.org/jira/browse/AXISCPP-358
> Project: Axis-C++
> Type: Bug
> Components: SOAP
> Reporter: James Jose
> Fix For: 1.5 Beta
>
> if we call APIs by passing NULL as it's argument then it results in some Excepton.
> For eg. I tried the following statement
> IHeaderBlock *phb=ws.createSOAPHeaderBlock("Test","http://apache.com");
> phb->setLocalName(NULL);
> It generated some exception.
> All the APIs in IHeaderBlock and IAttribute class are generating this exception for NULL value.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira