A fix is available
APAR status
Closed as program error.
Error description
I think there is some issue with the startApp(String appName,Str ing[]args). when we are passing the the arguments array where it has more th an one element, seems like tha API is not adding ?space? beteen the arguments and hence the argument being passsed is not a vali d one: For example when customer is tyring to do: String[] execArgs= new String[7]; execArgs[0] = '-sAB:ABC-999-002'; execArgs[1] = '-cCD:ABC-098-001'; execArgs[2] = '-r'; execArgs[3] = '-fX:\\SoapUIPro_Workspace\\TestResults'; execArgs[4] = '-j'; execArgs[5] = '-a'; execArgs[6] = 'X:\\SoapUIPro_Workspace\\DEV_Check-soapui-project .xml'; startApp(DEV: SoapUI-Pro', execArgs); ------------------------------------------------ the startApp() is actually combining all of them together as one argument (without spaces)which will make the finally passed arg ument to the application invalid/ill-formatted So as a work around customer can try three things: 1.Set up the arguments in the Application configuration wizard. 2.Pass it as a single argument(which customer is already doing) or 3.Add a ?space? character before the each argument. for eg: args[0]='myarg0' ;//space not needed for first argument args[1]=' myarg1'; //notice the space before arg3 args[2]=' myarg2'; //notice tha space before arg2 startApp('myapplication',args); --------------- and I think that should work fine(please let us know if it does not) If customer confirms it is working for him after adding the ?spa ce? characters manually before the passed arguments then please create an APAR for the same and we can fix the problem
Local fix
Problem summary
Not able to pass the arguments to the application in form of string[] when the length of the string array was more than one while using the startApp api.
Problem conclusion
Made changes so that the arguments which are passed to the application are properly formatted.
Temporary fix
Comments
APAR Information
APAR number
PK93049
Reported component name
RAT FUNC TESTER
Reported component ID
5724G2503
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-08-04
Closed date
2009-09-15
Last modified date
2009-09-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RAT FUNC TESTER
Fixed component ID
5724G2503
Applicable component levels
R800 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSJMXE","label":"Rational Functional Tester"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
06 December 2021