IBM Support

PI43062: RUNTIME ERROR USING 64-BIT ISMODIFIEDRECURSIVE

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

  • If I run isModifiedRecursive() on the project element should I
    expect:
    
    in 64bit API - "Error Message:                   "
    i.e. an empty error message
    
    in 32bit API - "Method get_savedInSeperateDirectory not
    implemented for Project."
    
    Because this is what we are seeing.
    
    *****Escalation Description:*****
    1. Problem description and statement
    ------------------------------------
    Client is getting a Rhapsody runtime error when calling
    isModifiedRecursive with the 64-bit API.  He is able to code
    around it, but that is affecting the efficiency of the code.  Is
    it possible to verify if this is an issue with the API?
    
    
    2. Customer Environment
    -----------------------
    Rhapsody 8.1 64-bit
    Windows
    
    3. When did this start happening? Did this always happen? What
    changed?
    ----------------------------------------------------------------
    -------
    This is the first the client has seen this issue.
    
    
    4. Customer Impact
    ------------------
    API code needs to be modified to be less efficient.
    
    
    5. What does Support expect from the Development team to be able
    to close this escalation?
    ----------------------------------------------------------------
    --------------------------
    Is this a defect in the API, or is there something the client is
    doing incorrectly in his call to the function?
    
    
    6. Research made and Reproduction steps
    ---------------------------------------
        A.  What did you find from reviewing documentation and SME?
    Nothing documented - checking with SME through this escalation.
        B1.  Is the problem reproducible? What are the steps?
    This is the client's code to reproduce the issue:
    
    public void testSave() {
                  RhapsodyApplicationInstance instance =
    getRhapsodyApplicationInstance("20032");
                  IRPProject proj;
    
                  proj = instance.getIRPProject();
                  if(proj.isModified() ==1){
                         System.out.println("Project Modified");
                  } else {
                         try{
                         proj = instance.getIRPProject();
                         if(proj.isModifiedRecursive() ==1){
                               System.out.println("Project Contents
    Changed");
                         }
                         } catch (RhapsodyRuntimeException e){
                               System.out.println("Error Message: "
    + instance.getIRPApplication().getErrorMessage());
                         }
                  }
    
           }
    
    
    The code produces this output:
    
    Project Name: SWC_OCD_DisplayDimming_DSC
    Error Message:
    
    This code is part of a larger framework that is continuously
    validating
    the application handles.  This has been tested on multiple
    machines.
    
    Seems to me there are 2 issues 1) why does it throw the
    exception 2)
    Why is the error message empty.
    
        B2.  If the problem is not reproducible, why not?
    
    
    7. Attachment(s):
    -----------------
        A. Do we have a test-case? If no, why not?
        B. What other related files do we have (logs, traces,
    screenshots, movies ...)?
    
    8. Customer details information, technical/field representative
    information.
    ----------------------------------------------------------------
    ------------
    
    9. Does the customer have a workaround?
    ---------------------------------------
    Yes.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * RUNTIME ERROR USING 64-BIT ISMODIFIEDRECURSIVE               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in 8.1.4
    Fixed the isModifiedRecursive for calling from eclipse.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI43062

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-15

  • Closed date

    2015-12-16

  • Last modified date

    2015-12-16

  • 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 RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R810 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 December 2015