- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I just tried to use queryManager to do a task search and it can return the List of task, I checked the result.size() is right, but when I get the details of the task:
List result = queryManager.taskSearch(filter);
int count = result.size(); // this line is right and return the correct number of tasks
TaskRow tr = (TaskRow) result.get(0); // this line throws exception
it throws similar exception:
"com.adobe.idp.taskmanager.dsc.client.query.TaskRowImpl cannot be cast to com.adobe.idp.taskmanager.dsc.client.query.TaskRow"
seems all implementations cannot cast to interface, is there anything i missed, anything i need to do before the class can be casted to interface?
Views
Replies
0 Likes
Total Likes