Adding NFA as a data source in Performance Center fails with a bind failure

Document ID : KB000032550
Last Modified Date : 14/02/2018
Show Technical Document Details


When attempting to add NFA as a data source in Performance Center it fails with a "bind failure" The following exception is seen in the /opt/CA/PerformanceCenter/DM/logs/DMService.log:


CAPC encountered an error while trying to sync with data source The problem is in CAPC, not the data source. 

The following stack trace shows the invalid SQL statement in CAPC:

org.springframework.dao.DataIntegrityViolationException: StatementCallback;

SQL [INSERT INTO bind_roles (SourceID, UpdateStage, RoleLocalID, RoleName,

RoleDesc) VALUES (8,1,1,'CaOperator',NULL),


(8,1,7,'WanAnalysis_NetFlow',NULL) ON DUPLICATE KEY UPDATE UpdateStage=1,

RoleLocalID=VALUES(RoleLocalID), RoleName=VALUES(RoleName),

RoleDesc=VALUES(RoleDesc)]; Column 'RoleDesc' cannot be null; nested

exception is


Column 'RoleDesc' cannot be null



2.4.x and up



Null description column for roles


If you connect to the NFA "reporter" database and do a Select * from role_definitions; you will note that the "description" column will be null for one or many roles. Update the description column so that the value is not null and the NFA data source will bind successfully in Performance Center


Generic SQL syntax of UPDATE command to modify data in a MySQL table:


UPDATE table_name SET field1=new-value1, field2=new-value2 


(ex) UPDATE role_definitions SET description = 'Test Users' WHERE description=NULL;