IBM Support

PI73574: TESTMAIN(OBJECT[] ARGS) GETS ARGS[0]="" WHEN NO ARGUMENTS ARE PASSED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • public void testMain(Object[] args)
    {
    	System.out.println("args.length=" + args.length);
    	if(args.length > 0) {
    		System.out.println("args[0]=" + args[0]);
    	}
    }
    
    Run the above script without passing any arguments.
    
    Expected Result:
    args.length=0
    
    Actual Result:
    args.length=1
    args[0]=
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * RFT Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Please see error description                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in RFT 8.6.0.7
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI73574

  • Reported component name

    RAT FUNC TESTER

  • Reported component ID

    5724G2503

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-12

  • Closed date

    2017-06-14

  • Last modified date

    2017-06-14

  • 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

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSJMXE","label":"IBM Rational Functional Tester"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"860","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 June 2017