IBM Support

Clicking "Next" on the XMI Export for IBM Rational Rhapsody results in "java.lang.reflect.InvocationTargetException" error

Troubleshooting


Problem

Attempts to select "Next" on the XMI Export for IBM Rational Rhapsody results in the error "java.lang.reflect.InvocationTargetException".

Symptom

Full Java Error message:

" An error has occurred. See Error log for more details. Reason: java.lang.reflect.InvocationTargetException."<\code>

Cause

XML Metadata Interchange XMI cannot access the Share folder and the JavaAPI folder within.

Cause 1: This is usually caused by moving the Share folder and its contents to a network drive to be shared by multiple Rhapsody users and the XMI4Rhapsody.bat file does not have the correct path or permission to point to or access.


Cause 2: If the Share folder is included in the source control for the Rhapsody code, there may be an access permissions failure when using the Share/JavaAPI folder.

Resolving The Problem

In order to resolve the reported problem; apply one of the following solutions:

Solution 1:

The XMIToolkit points to Share/JavaAPI.

You can modify the path in \Sodius\XMI_Toolkit\bin\XMI4Rhapsody.bat

At line ~15:

"%XMIJDK%\bin\javaw.exe" -Xss4M -Xmx512m
-Djava.library.path="%XMIRHP%\Share\JavaApi"  .........



Solution 2:

Ensure you checkout the Share/JavaAPI folder in your source control as well as your other Rhapsody files to resolve the problem.

If the issue still persists then please contact Rational Client Support for further analysis and assistance.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.3;7.5.2;7.5.2.1;7.5.3.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21501503