IBM Support

PM53788: IBM Rational Software Architect Design Manager: Unable to load diagram message using the Web UI

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Microsoft Windows Win 2008 r2
     - IBM Rational Software Architect Design Manager 3.0.0.1
    
    Reproducible Y/N: Intermittently:
    Description of problem:
    You may get the error message 'Unable to load diagram' and the
    symptom is that the diagram is not loaded in DM web ui.
    When doing refresh on the yellow refresh button 2-5 times it
    loads the diagram
    After a nightly import the cached diagram is cleaned and the
    problem reoccur, not necessary on the same diagram.
    
    The dm.log gives this message when it happens:
    ---
    2011-11-25 12:51:18,523 [ DM Default Display Thread] [] ERROR
    com.ibm.xtools.rmps.core.RmpsRDFResourceFactory - Problems
    loading resource
    https://<fully_qualified_host_name>:9443/dm/models/4414:
    2011-11-25 12:51:18,523 [ DM Default Display Thread] [] ERROR
    com.ibm.xtools.rmps.core.RmpsRDFResourceFactory - The value of
    feature eAnnotations is not valid:
    org.eclipse.emf.ecore.impl.EAnnotationImpl@4c304c30 (source:
    null)
    2011-11-25 12:51:18,523 [ DM Default Display Thread] [] ERROR
    com.ibm.xtools.rmps.core.RmpsRDFResourceFactory - The value of
    feature eAnnotations is not valid:
    org.eclipse.emf.ecore.impl.EAnnotationImpl@4f544f54 (source:
    null)
    2011-11-25 12:51:18,523 [ DM Default Display Thread] [] ERROR
    com.ibm.xtools.rmps.core.RmpsRDFResourceFactory - The value of
    feature eAnnotations is not valid:
    com.ibm.xtools.uml.msl.internal.resources.impl.DiagramHolderImpl
    @529b529b (source: null)
    2011-11-25 12:51:18,523 [ DM Default Display Thread] [] ERROR
    com.ibm.xtools.rmps.core.RmpsRDFResourceFactory - The value of
    feature eAnnotations is not valid:
    org.eclipse.emf.ecore.impl.EAnnotationImpl@55c355c3 (source:
    null)
    2011-11-25 12:51:18,523 [ DM Default Display Thread] [] ERROR
    com.ibm.xtools.rmps.core.RmpsRDFResourceFactory - The value of
    feature name is not valid: ATM_TRAN
    2011-11-25 12:51:18,523 [ DM Default Display Thread] [] ERROR
    com.ibm.xtools.rmps.core.RmpsRDFResourceFactory - The value of
    feature ownedAttribute is not valid:
    com.ibm.xtools.uml.rt.core.internal.uml.RTPortImpl@5c745c74
    (eProxyURI:
    https://<fully_qualified_host_name>:9443/dm/models/4416#main_441
    6)
    ...
    2011-11-25 12:51:18,523 [ DM Default Display Thread] [] ERROR
    com.ibm.xtools.rmps.core.RmpsRDFResourceFactory - The value of
    feature ownedBehavior is not valid:
    org.eclipse.uml2.uml.internal.impl.StateMachineImpl@71657165
    (eProxyURI:
    https://<fully_qualified_host_name>:9443/dm/models/4474#main_447
    4)
    2011-11-25 12:51:19,007 [ WebContainer : 18] [] ERROR
    com.ibm.xtools.rmps.frontservice.jfsclient.RmpsRuntimeException
    - <rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#';
    xmlns:err='http://jazz.net/xmlns/prod/jazz/foundation/1.0/'>;
    <rdf:Description>
    <err:detailedMessage
    rdf:datatype='http://www.w3.org/2001/XMLSchema#string';
    >
    Rmps Request Line:
    GET
    https://<fully_qualified_host_name>:9443/dm/diagrams/image?diagr
    amUri=https%3A%2F%2F<fully_qualified_host_name>%3A9443%2Fdm%2Fmo
    dels%2F4415&amp;tiled=true&amp;dojo.preventCache=1322221870188
    HTTP/1.1
    Rmps Request Headers:
    Host: <fully_qualified_host_name>:9443
    User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:7.0.1)
    Gecko/20100101 Firefox/7.0.1
    Accept: application/json
    Accept-Language: en-gb,en;q=0.5
    Accept-Encoding: gzip, deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Connection: keep-alive
    X-ibm-rmps-internal: true
    Content-Type: application/x-www-form-urlencoded
    X-Requested-With: XMLHttpRequest
    Referer:
    https://<fully_qualified_host_name>:9443/dm/web/projects/CPP_Dev
    Cookie:
    jfs-oauth-realm-mapping=https%3A%2F%2F<fully_qualified_host_name
    >%3A9443%2Fjts%3D0;
    jfs-oauth-access-token0=0151be347631494fb2ca5f259ddec8a0;
    jfs-oauth-access_token-secret0=xx2KGuZljiJn85XOE3kCTHxUzWpnVui5r
    XUv3N02J98=; JSESSIONID=0000_3E-um8vwq8oeoBLw2G9HQw:-1;
    LtpaToken2=jPVzlA/x3u4i359cgcvP3SAmyHMLo38VFCZFgdS0kG1KTwmm+2dHs
    1fjoBFqnt9yVC4L2xP8CDWbLofrHoB8lD6kLaspWZHVufTQQJLJ/9dRZZ//E6avz
    VJOdLglck4w4SA927mFUvkZhew/9g4FN83DSsQ01knYx2/BYM6yZds3tENJAB4fo
    bt8ncnpRdwHRY/J5oeZTdgD2EqkQxamVwf0ol0bmfQiU/9q9kIuHRkPjlB0BeBe5
    PLP2kFu/KnnJNJUCQIUDrPUGWUewmxlNCjc3CIKlX4Y77H071ldV2oJp3tIxgIQy
    rmwFjlN7E+e3bWLoOkViV2Lgw+lgvWFq34mPafn/EXiiEiZMgDFFEk040eV9Gm46
    HerM/QyhbgDppT2cLP67jDd1+/+vfN9OatTChIU9OqPktrZBTnEKvqu1lQrVgn61
    Jt/Sh2HsPRLVpOqBKkzsTtNKasdn0uCBhSkOkEL7azkdh4pyZjgfsy1q7tErYA56
    JJos2PzNva+HOlfok1WSONUtmtnowq6mzW7BO87n8rCcAWa43dWUr11k5BS7FAd3
    tsn+cV2ZuCedhkenVDjaLdGfcBfgdasG5/HIbEIy1ZZXS6bC58hwT7SKvDoR17G7
    1bV0sZbIUcCX7pJ9tVB2MxeSfitmdC28TfxjTDJhLYy+G7fXGNxi2R5h70pfoma3
    eH/UOo9PnXa8bZ1O/d9Publ4hal2ulrphoamoDvStMcCrx5j1mpxl+f/VA6oqvrQ
    OnfApA0q5VR
    org.eclipse.swt.SWTException: Failed to execute runnable
    (java.lang.NullPointerException)&#xD;
    
    This issue was reported against the following eclipse bugzilla:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=359582
    DiagramEventBroker doesn't check if the WeakReference's get()
    method returns null
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When opening a diagram on the web client a message of
    "Unable to load Diagram" may be displayed and the diagram
    would not be displayed. This may happen on slow servers and
    only if the diagram image is not cached already, which is a
    rare case with externally managed project areas.
    

Problem conclusion

  • Fixed a race condition where obtaining an event broker was
    not checking for possible return of null. This is fixed in
    Rational Software Architect Design Manager 4.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM53788

  • Reported component name

    RSA DESIGN MANA

  • Reported component ID

    5725D7900

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-07

  • Closed date

    2012-09-07

  • Last modified date

    2012-09-07

  • 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

    RSA DESIGN MANA

  • Fixed component ID

    5725D7900

Applicable component levels

  • R300 PSN

       UP

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSRMY8","label":"Rational Software Architect Design Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.0"}]

Document Information

Modified date:
06 January 2022