incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren Middleman (JIRA)" <>
Subject [jira] Resolved: (YOKO-330) Binding UserException support does not handle uninitialized data correctly
Date Mon, 02 Apr 2007 14:02:32 GMT


Darren Middleman resolved YOKO-330.

       Resolution: Fixed
    Fix Version/s: v1.0.0

Resolved in revision 524782.

> Binding UserException support does not handle uninitialized data correctly
> --------------------------------------------------------------------------
>                 Key: YOKO-330
>                 URL:
>             Project: Yoko - CORBA Server
>          Issue Type: Bug
>          Components: CorbaBinding
>    Affects Versions: v1.0-incubating-M2
>            Reporter: Darren Middleman
>         Assigned To: Darren Middleman
>             Fix For: v1.0.0
> UserException support in the binding does not handle the case where a servant throws
a CXF implementation of a CORBA user exception and does not initialize the schema exception
definition object contained within the UserException.
> For example, CORBA UserException such as :
>     exception MyException {
>         string message;
>     };
> results in two classes being generated on the CXF side: and
 The MyException_Exception class is the throwable object which contains a reference the the
MyException class, which represents the schema definition of the UserException.  If a MyException_Exception
is created without initializing the MyException reference within it, the binding is unable
to propagate the exception correctly.
> Also, if the 'message' attribute is not initialized within the exception, then a null
pointer exception can be thrown when the object is written to the CORBA output stream.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message