Document ID: TEC1288691Last Modified Date: 05/26/2017
Since the upgrade to UMP 8.5.1 I cannot open the dashboard portlet, instead I receive an error message saying:
"Not able to get the current user or the roles associated with the user"
This issue happens for every user and even after redeploying the portlet completely.
In the wasp.log the below exception is seen:
May 17 14:02:05:246 ERROR [http-bio-80-exec-7, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/dashboard]] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.firehunter.dashboard.config.ActorSetup': Invocation of init method failed; nested exception is java.lang.RuntimeException: For input string: ""
The <dashboard> webepp section in the wasp.cfg contains the details of the <jdbc> connection to an external database data source (If a Database for SQL Data Sources has been created).
i.e.
<dashboard>
...
<jdbc>
<1>
jdbc_driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
name = jdbc/uimserver
jdbc_username =
jdbc_url = jdbc:sqlserver://UIMserver831;DatabaseName=CA_UIM
jdbc_password =
</1>
</jdbc>
Empty credentials strings as shown above might cause this issue.
To solve the problem:
1. Deactivate the UMP wasp
2. Remove the section from the wasp.cfg:
3. activate the wasp
4. Open a new browser session, log in to UMP and check the dashboard portlet
UIM Documentation:
Add a Database for SQL Data Sources
https://docops.ca.com/ca-unified-infrastructure-management/8-4/en/using-ump/the-dashboard-portlet/create-and-assign-the-data-source-for-a-widget#CreateandAssigntheDataSourceforaWidget-AddaDatabaseforSQLDataSources