IBM Support

User-defined method in Table column fails to compile

Troubleshooting


Problem

A simple user-defined method implementation returns a string argument to the table column

Screen Shot 2018-12-07 at 09.50.56

This results in the following error from the output window:

========================== Compiling Table Layout: tablelayout_1 ==========================
Error: TableLayout tablelayout_1 in _default, Column 1 (Implementation...): Exception: NullPointerException
null
TableLayout tablelayout_1 in _default, Column 1 (Implementation...): Compilation failed with 1 errors and 0 warnings.
TableLayout UC_TableLayout: Dynamic Java Implementation columns compiled with 1 errors and 0 warnings

 

Resolving The Problem

Rhapsody comes installed with the IBM JRE installed. This compiler is used by the tables to build the user-defined methods.

This JRE path is specified in the rhapsody.ini file:

Screen Shot 2018-12-07 at 09.57.23

Users should ensure that this path is not altered as it will compromise the functionality of this feature.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

ibm10744707