When deploying PowerBuilder components to EAServer, you can select the “Allow NULL values in method parameters” option. Selecting this option prepares the deployed component to accept null-valued arguments. Since CORBA does not allow nulls in method calls, an additional null-indicator Boolean array is passed as the last argument to all PowerBuilder component method calls. The elements of the array correspond to the PowerBuilder function arguments, and each element indicates whether the corresponding argument is null. When calling PowerBuilder components from PowerBuilder clients or other PowerBuilder components, the initialization of this array is handled transparently. When calling a PowerBuilder component with this setting from a non-PowerBuilder component or a non-PowerBuilder client, you must initialize a null-indicator array and pass it as the last parameter to the method call.
[CR #263647] When calling PowerBuilder components that accept null parameters from non-PowerBuilder clients, if the null-indicator array is not properly initialized by the client, the PowerBuilder component may fail and be destroyed.
Workaround: Do one of the following:
When calling PowerBuilder components that allow null input parameters from non-PowerBuilder components, make sure the null-indicator array is properly constructed and initialized, or
Upgrade to build 10148 of PowerBuilder 7.0 VM or a later build when available.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |