IBM Support

PI83424: NEGATING REFERENCED INTEGER PARAMETERS PRODUCES NULL PARAMETER ERROR

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If an integer is passed to a function as a reference, attempts
    to negate it inside the function will fail producing a
    diagnostic log and the following error:
    
    "null {0} parameter was passed"
    
    To recreate run DXL such as the following:
    
    "
    void foo(int& i){
      int j = -i
    }
    int a = 10
    foo(a)
    "
    
    Workaround:
    
    Either create a local variable to be negated, or negate by
    multiplying by -1.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users/environments affected.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Negating referenced integer parameters produces NULL         *
    * parameter. If an integer is passed to a function as a        *
    * reference, attempts to negate it inside the function will    *
    * fail producing a diagnostic log.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Client side fix.
    

Problem conclusion

  • This has been resolved in the DOORS 9.6.1.10 release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI83424

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    961

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-21

  • Closed date

    2017-12-14

  • Last modified date

    2017-12-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

    TLOGIC DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R961 PSY

       UP



Document information

More support for: Rational DOORS

Software version: 961

Reference #: PI83424

Modified date: 14 December 2017