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 Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21501503