IBM Support

PI14585: Opening a UML model in headless mode results in NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Attempts to open the UML model in headless mode Result in
    nullPointerException.
    
    Error Description:
    To reproduce this error :
    
    RSA v 8.5.5 on Windows 7.
    
    (A) Import the supplied PI into a workspace in RSA v8.5.5.
    (B) Open the ProdConfig.product product configuration file and
    click on the 'Launch an eclipse application in debug mode'
    
    Please verify if your eclipse.ini file looks like this:
    
    -vm
    jdk/jre/bin/javaw.exe
    -startup
    plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.j
    ar
    -install
    C:/Program Files/IBM/SDP85
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R3
    6x_v20101222
    --launcher.XXMaxPermSize
    256m
    -vmargs
    -Xms100m
    -Xmx1024m
    -Djava.util.Arrays.useLegacyMergeSort=true
    -Dosgi.requiredJavaVersion=1.5
    -Dosgi.bundlefile.limit=100
    -Xquickstart
    -Xmnx64m
    -Xgcpolicy:gencon
    -Xscmx96m
    -Xshareclasses:name=IBMSDP_%u
    -Xnolinenumbers
    -XX:MaxPermSize=512M
    -Xcompressedrefs
    -Dcom.ibm.ws.management.event.max_polling_interval=1000
    
    
    WORKAROUND:
    There is no known workaround at this time
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the product configuration in the customer's model is
    opened and eclipse is launched in debug mode, a
    NullPointerException is thrown
    

Problem conclusion

  • The NullPointerException was thrown because the filename was
    retrieved from a path even when the path was empty. This has
    been fixed and now the UML model can be opened in headless
    mode
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI14585

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-27

  • Closed date

    2014-06-13

  • Last modified date

    2014-06-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

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R851 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"851","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"851","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020