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 "Manohar (JIRA)" <ax...@ws.apache.org> on 2005/07/27 07:24:18 UTC

[jira] Updated: (AXISCPP-767) Unknown exception thrown for NULL value in XSD_byte datatype

     [ http://issues.apache.org/jira/browse/AXISCPP-767?page=all ]

Manohar updated AXISCPP-767:
----------------------------

    Attachment: ClientLog.taw

Trace for this test.

> Unknown exception thrown for NULL value in XSD_byte datatype
> ------------------------------------------------------------
>
>          Key: AXISCPP-767
>          URL: http://issues.apache.org/jira/browse/AXISCPP-767
>      Project: Axis-C++
>         Type: Bug
>     Reporter: Manohar
>  Attachments: ClientLog.taw
>
> When NULL is passed as an input to XSD_byte, an unknown exception is thrown. 
> Below code shows the problem.
> xsd__byte* nillableResult = ws->asNillableElement(NULL);
>         if (nillableResult)
>         {
>             cout << "nil element=" << (int) *(nillableResult) << endl;
>             delete nillableResult;
>         }
>         else
>         {
>             cout << "nil element=<nil>" << endl;
>         }
> I am attaching trace for this test. A testcase for this problem will be added soon. 
> Regards
> Manohar

-- 
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