[ http://issues.apache.org/jira/browse/AXISCPP-767?page=all ]
Chinthana Danapala reassigned AXISCPP-767:
------------------------------------------
Assign To: Chinthana Danapala
> 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
> Assignee: Chinthana Danapala
> Attachments: ClientLog.taw, XSD_byte.out
>
> 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