It's all about the answers!

Ask a question

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

Sagar U (814) | asked Apr 13 '17, 7:40 a.m.

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 ?

One answer

permanent link
Geoffrey Clemm (30.1k33035) | answered May 30 '17, 5:09 p.m.

Your answer

Register or 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.