Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Error using QueueManager, GroupQueue class not found

Avatar

Level 1

Hi,

I have a DSC where I try to get the queues for a user:

QueueManager queryService = QueueManagerClient.getInstance(factory);

GroupQueue[] groupQueues = queryService.getGroupQueuesForUser();

When I deploy it, I receive this:

Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.adobe.idp.taskmanager.dsc.client.queuemanager.GroupQueue

If I add the adobe-taskmanager-client.jar to my component the deployment works fine but the invokation of the service fails with a class cast exception:

Caused by: java.lang.ClassCastException: [Lcom.adobe.idp.taskmanager.dsc.client.queuemanager.GroupQueue; cannot be cast to [Lcom.adobe.idp.taskmanager.dsc.client.queuemanager.GroupQueue;

Any ideas?

Christian

0 Replies