IBM Support

PM93463: Opening class diagram (.dnx) results in NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    Attempts to open a class diagram that contains an association
    between two visualized Java classes result in error: 'Failed to
    create the part's controls'(java.lang.NullPointerException),
    when using IBM Rational Software Architect v9.
    
    Error Description:
    The following steps reproduce the issue in Rational Software
    Architect for WebSphere v9 on Windows 7:
    
    0. Create a Java Project
    1. Make it target the JVM 1.7 shipped with the Rational Software
    Architect installation
    2. Create the Java class Class1
    3. Create the Java class Class2
    4. Create a Class Diagram (.dnx file)
    5. Drop the two classes on the diagram
    6. Draw an association between the two classes
    7. Save the diagram.
    8. Close the diagram
    9. Reopen the diagram
    
    The following error appears in a pop-up dialog:
    'Failed to create the part's controls'
    
    The following exception appears in the Error Log view:
    java.lang.NullPointerException                              at
    
    com.ibm.xtools.viz.j2se.ui.internal.util.J2SEUtil.getFieldDispla
    yString(
    
    J2SEUtil.java:398)
    
    If you create such a diagram in IBM Rational Software Architect
    v8.5, you can open it successfully in that version, but in v9 it
    will give the above errors.
    
    WORKAROUND:
    Not available.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Attempts to open a class diagram that contains an
    association between two visualized Java classes result in
    error: "Failed to create the part's
    controls"(java.lang.NullPointerException).
    

Problem conclusion

  • Attempts to open a class diagram that contains an
    association between two visualized Java classes no longer
    result in error: "Failed to create the part's
    controls"(java.lang.NullPointerException).
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM93463

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-19

  • Closed date

    2013-12-13

  • Last modified date

    2013-12-13

  • 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

    SW ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

  • R851 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"851","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021