IBM Support

RS01059: INTERNAL ERROR WHEN ACCESSING A TUPLE FIELD THAT IS A SET OR, ARRAY AND THAT TUPLE IS A SET ELEMENT RETRIEVED USING FIND/GET()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Example below where, a tuple is retrieved using find() leads to
    following error when the set field of tuple is accessed:
    ASSERTION FAILED at ../../../src/script/values.cpp:464 error
    
    tuple t{
     key int index;
     {int} order;
    }
    {t} T={<1,{1}>};
    execute{
     var x = T.find(1);
     //var x = Opl.item(T,0);//using this instead of find works
     var y = Opl.first(x.order);//Assertion Failed error
      //var y = Opl.item(x.order, 0);//Assertion Failed error
      /*
      for(var z in x.order){//workaround
         var y = z;
         break;
        }*/
        writeln("y="+y);
    }
    

Local fix

  • Workaround:
    
    1) Opl.item is OK to be used if one knows the index of tuple
    item, but that may not be known at all times.
    
    2) Another alternative is iterating through various elements
    of tuple set, and stopping with the first one as below:
    
    for(var z in x.order){
         var y = z;
         break;
    }
    

Problem summary

  • This issue has been resolved and fix will be available in CPLEX
    Optimization Studio v12.5.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    RS01059

  • Reported component name

    ILOG ODM ENT

  • Reported component ID

    5724Y0400

  • Reported release

    360

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-17

  • Closed date

    2012-07-26

  • Last modified date

    2012-07-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R360 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS6MYV","label":"IBM ILOG ODM Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"360","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
26 July 2012