RoleDefinitionGenerator throws java.lang.AssertionError

book

Article ID: 143531

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

Using the RoleDefinitionGenerator with a FlatFileConnector throws the below java.lang.AssertionError

Obtaining metadata doc...

Preparing data model...

Jan 10, 2020 12:45:51 AM com.ca.iam.roledefgen.DataModelPreparation addPresentationMetadataIfNeeded

WARNING: Failed to detect presentation metadata for class eTDYNAccount, using simplistic presentation as a fallback

Jan 10, 2020 12:45:51 AM com.ca.iam.roledefgen.DataModelPreparation addPresentationMetadataIfNeeded

WARNING: Failed to detect presentation metadata for class eTDYNPolicy, using simplistic presentation as a fallback

Generating IM_FrameworkXml

Generating IM_ManagedObjectXml

Generating IM_ResourceBundle

Generating IM_JIAMToIMMappingXml

generateRoleDef called for IM_AccountManagementRoleDefXml

Generating search and list screens...

Generating account screens...

Generating account template screens...

Generating endpoint screens...

Exception in thread "main" java.lang.AssertionError

        at com.ca.iam.roledefgen.IMObjectGenerator.determineAttributeStyle(IMObjectGenerator.java:5369)

        at com.ca.iam.roledefgen.IMObjectGenerator.createScreenField(IMObjectGenerator.java:5731)

        at com.ca.iam.roledefgen.IMObjectGenerator.createObjectScreensByOpType(IMObjectGenerator.java:6458)

        at com.ca.iam.roledefgen.IMObjectGenerator.createObjectScreensByOpType(IMObjectGenerator.java:4434)

        at com.ca.iam.roledefgen.IMObjectGenerator.generateRoleDef(IMObjectGenerator.java:3906)

        at com.ca.iam.roledefgen.IMObjectGenerator.generateObjects(IMObjectGenerator.java:1361)

        at com.ca.iam.roledefgen.RoleDefGenerator.main(RoleDefGenerator.java:438)

Resolution

When you create a new FLAT FILE connector in ConnXP that there is a "KettleParameters" class. This should not be removed else the RoleDefinitionGenerator throws an AssertionError.