It's all about the answers!

Ask a question

Errors running shared query via client

Susan Hanson (1.6k2172193) | asked Jan 04 '12, 6:54 p.m.
I have a java program which runs a shared query against RTC and returns the results. Everything has been working fine and recently I added a different query and am getting errors. I can run the shared query successfully via the eclipse client, so the query itself is fine. I have put my exceptions below. What I believe is the problem may be that I have too many entries coming back in the result set (> 1000, 1078 to be exact) and perhaps there is a default limit in the client that I need to set a higher threshold value??

defectanalysis.JazzException: Unable to execute query the query named: Philadelphia - all defects opened during the release
at defectanalysis.JazzSession.executeWorkItemQuery(
at defectanalysis.JazzSession.findWorkItemsBySharedQuery(
at defectanalysis.LibertyRTCManager.findWorkItemsBySharedQuery(
at defectanalysis.Main.main(
Caused by: defectanalysis.JazzException: Work Item Query Failed: Unable to check ResultSize
at defectanalysis.JazzSession.validateWorkItemQueryResult(
at defectanalysis.JazzSession.executeWorkItemQuery(
... 3 more
Caused by: defectanalysis.JazzException: Work Item Query Failed: The available number of results does not match the total number of results
at defectanalysis.JazzSession.validateWorkItemQueryResult(
... 4 more

Has anybody seen anything like this??
Susan Hanson

Be the first one to answer this question!

Register or to post your answer.