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 "Chinthana Danapala (JIRA)" <ax...@ws.apache.org> on 2005/08/04 08:38:35 UTC

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

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

    Resolution: Cannot Reproduce

Hi Chinthana,

I've checked this problem again against java service and it is working properly now. I had seen this problem with couple of builds during the dates on which this defect was raised. Since this problem is not happening now, I think this issue can be cancelled/closed.

Regards
Manohar

So now it’s working with the Java service. 


> 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