null origin in IWorkspaceHandle causing exceptions in IActiv
Hello,
Wanted to know if there is a better way to get the handle of a IWorkspaceConnection, as IWorkspaceConnection.getContextHandle() does not have the 'origin' field set. Due to this the following line fails FileSystemResourcesPlugin.getActiveWorkspaceManager().getComponentCollaboration(..) is throwing : java.lang.IllegalArgumentException at com.ibm.team.scm.client.SCMPlatform.getWorkspaceManager(SCMPlatform.java:40) at com.ibm.team.filesystem.rcp.core.internal.changes.ActiveWorkspaceManager.getConnection(ActiveWorkspaceManager.java:277) at com.ibm.team.filesystem.rcp.core.internal.changes.ActiveWorkspaceManager$CollaborationWorkspaceManager.getWorkspaceConnection(ActiveWorkspaceManager.java:359) at com.ibm.team.filesystem.rcp.core.internal.changes.ActiveWorkspaceManager$CollaborationWorkspaceManager.load(ActiveWorkspaceManager.java:342) at com.ibm.team.filesystem.rcp.core.internal.changes.ActiveWorkspaceManager$CollaborationWorkspaceManager.internalGetCollaboration(ActiveWorkspaceManager.java:334) at com.ibm.team.filesystem.rcp.core.internal.changes.ActiveWorkspaceManager$CollaborationWorkspaceManager.getComponentCollaboration(ActiveWorkspaceManager.java:364) at com.ibm.team.filesystem.rcp.core.internal.changes.ActiveWorkspaceManager.getComponentCollaboration(ActiveWorkspaceManager.java:252) Was wondering if there is a better way to get the handle of a IWorkspaceConnection with the origin set? This is RTC 1.0.1 GA. Regards, Sri. |
Be the first one to answer this question!
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.