Symptoms
Users get an error when logging into the Horizon Client "failed retrieving launch items: java.lang.NullPointerException".In the logs you will see the following:
YYYY-MM-DDTHH:MM:SS 00 DEBUG (0E28-1554) [b] (SESSION:9d12_***_9e36) Entry not found: CN=Example App,OU=Applications,DC=vdi,DC=vmware,DC=int [javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: Na
meErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:
'OU=Applications,DC=vdi,DC=vmware,DC=int'
YYYY-MM-DDTHH:MM:SS 00 DEBUG (0E28-1554) [DesktopsHandler] (SESSION:9d12_***_9e6) Failed to get pool from launchApp.
YYYY-MM-DDTHH:MM:SS 00 ERROR (0E28-1540) <ajp-nio-8009-exec-1> [AbstractConnectionProcessor] (SESSION:9e8f_***_87d9) Unexpected exception on launching cn=1721f8c0-9698-abcd-a325-e77d96c3c9c7,ou=entitlements,dc=vdiglobal,dc=vmware,dc=int: null com.vmware.vdi.logger.Logger.error(Logger.java:92)
java. lang.NullPointerException
at com.vmware.vdi.broker.Utils.b(SourceFile:213)
at com.vmware.vdi.broker.xml.AbstractConnectionProcessor.c(SourceFile:292)
at com.vmware.vdi.broker.xml.AbstractProcessor.a(SourceFile:147)
at com.vmware.vdi.broker.servlets.XmlServlet.doPost(SourceFile:76)
Resolution
To workaround the issue, remove and recreate a new entitlement for the application "Example App" that is shown in the logs. You can perform these steps within the admin console UI.If you cannot correlate the assignment in the user interface with the entry in the app's entitlements, you can verify in the ADAM DB,Note: Ensure to take a complete backup of the ADAM database before proceeding. For more information, see Performing an end-to-end backup and restore for View Manager (1008046).Connect to the View ADAM database.For more information on connecting to the ADAM database with ADSI Edit, see Connecting to the View ADAM Database (2012377).Note, with this example, you would connect into dc=vdiglobal,dc=vmware,dc=int Expand dc=vdiglobal,dc=vmware,dc=int, select select OU=entitlements .cn=172XXXXXXX7,ou=entitlements,dc=vdiglobal,dc=vmware,dc=int:You can then view the properties of the entitlement and match them back to the one to remove and re-add in the dashboard.