Skip to main content

Problem:

When trying to marshall an empty wide string : BAD_PARAM Error

Resolution:

Product Name: Visibroker
Product Version: VBE 65
Product Component: ORB
Platform/OS Version: NA

Description:

When you run the client, when trying to marshall an empty wide string (not a null string but a one length character string with only 0x00), it may fail with exception: CORBA::BAD_PARAM error. With BES 5.2, it works fine.

Answer/Solution:

Please issue -Dvbroker.orb.nullstring=true on both the Server and Client side. So CORBA::BAD_PARAM is not thrown. There should not be any impact as long as the client and server tries to transmit a null strings. Please note that if CORBA application do not expect NULL strings then it tries to do some thing erroneous, in which you must add additional checks.

Old KB# 15196

#ApplicationMiddleware
#archive