[omniORB] CORBA.BAD_PARAM(omniORB.BAD_PARAM_ValueFactoryFailure, CORBA.COMPLETED_NO) Failure

Fackler Maximilian Fackler.M at uhlmann.de
Mon Aug 2 08:20:18 UTC 2021


Hi,

We are using omniOrb 4.2.3 for interprocess communication between python and c++.
Currently we are facing a omniORB.BAD_PARAM_ValueFactoryFailure Error.
I was able to reproduce the error with the following IDL:

module Example {

    valuetype ParamType unsigned short;
    valuetype InnerULong unsigned long;

    struct MyStruct {
        InnerULong member;
    };

    interface Echo {
        void execute(in ParamType a, in Example::MyStruct b);
    };
};

The Error occurs when the execute function of the Echo interface is called from python to a c++ servant.
I made the following observations:

*         Error occurs only if the value of "ParamType a" is equal to the "InnerULong member" of MyStruct -> execute(0, MyStruct(member=0))

*         A typedef instead of valuetype of InnerULong to unsigned long would work

*         Calling a python servant also works

Is the usage of valuetype for InnerULong "not a good practice" and a typedef preferable?
Or should this example work without any problems?

Thanks and regards,
Maximilian Fackler






Uhlmann Pac-Systeme GmbH & Co. KG
Registergericht Ulm HRA 720615 - Persönlich haftende Gesellschafterin: Uhlmann Pac-Systeme Verwaltungsgesellschaft mbH - Registergericht Ulm HRB 721209 - USt-IdNr. DE324830015
Vorsitzender des Aufsichtsrats: Tobias Uhlmann - Geschäftsführer:Prof. Dr.-Ing. Matthias Niemeyer (CEO), Michael Mrachacz (CSO), Alexander Schöllhorn (CFO), Tim Slomp (CTO)


Uhlmann Pac-Systeme GmbH & Co. KG
Court of Register Ulm HRA 720615 - General partner: Uhlmann Pac-Systeme Verwaltungsgesellschaft mbH - Court of Register Ulm HRB 721209 - VAT Reg No DE324830015
Chairman of the Supervisory Board: Tobias Uhlmann - Managing Directors: Prof. Dr.-Ing. Matthias Niemeyer (CEO), Michael Mrachacz (CSO), Alexander Schöllhorn (CFO), Tim Slomp (CTO)
 
Please consider the environment before printing this email
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20210802/c2c4f91c/attachment.html>


More information about the omniORB-list mailing list