Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to avoid error log entry when calling few specific methods from WorkspaceManager using responsive thread.

Requirement:  get all the "Repository Workspace" names  available in the repository of perticular user.
Note: -This invocation is necessary to be done from responsive thread.

Using   :  findAllWorkspaceNames(final IAuditableHandle scope, IProgressMonitor monitor) from WorkspaceManager class.

Problem : An error is logged with exception "java.lang.IllegalStateException: Long-running operations prohibited on this thread"
this is due to the ThreadCheck implementation in RTC  api which prohibits call from responsive thread.

Any suggestion how can we disable this error log entry ?

0 votes



One answer

Permanent link

 I am not an API expert, but I expect the answer is "you cannot allow this", with the reasons given in:


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Apr 13 '17, 7:40 a.m.

Question was seen: 1,811 times

Last updated: May 30 '17, 5:09 p.m.

Confirmation Cancel Confirm