The calling thread cannot access this object because a different thread owns it.

0
Hi All,   I am using studio pro 10.5. I tried to commit my code changes to GIT. as a 1st step I did commit my local changes - done successfully.  then 2nd step I am trying to pull code...  that time getting below error. if anybody faced this issue, Please help me to get fix it.     Error :  System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.    at System.Windows.Threading.Dispatcher.VerifyAccess()    at System.Windows.Media.Imaging.BitmapDecoder.get_IsDownloading()    at System.Windows.Media.Imaging.BitmapFrameDecode.get_InternalMetadata()    at System.Windows.Media.Imaging.BitmapFrameDecode.CopyCommon(BitmapFrameDecode sourceBitmapFrameDecode)    at System.Windows.Media.Imaging.BitmapFrameDecode.CloneCore(Freezable sourceFreezable)    at System.Windows.Freezable.Clone()    at System.Windows.Media.Imaging.BitmapSource.Clone()    at Eto.Wpf.Drawing.BitmapHandler.Clone(Nullable`1 rectangle)    at Eto.Drawing.Bitmap.Clone(Nullable`1 rectangle)    at Mendix.Modeler.Theming.ImageEditor.MakeBitmapSemiTransparent(Bitmap bitmap) in Mendix.Modeler.Theming\ImageEditor.cs:line 32    at Mendix.Modeler.Theming.ImageEditor.MakeSemiTransparent(Image image) in Mendix.Modeler.Theming\ImageEditor.cs:line 25    at Mendix.Modeler.Projects.ProjectExplorers.ProjectExplorerNode.UpdatePreIcon(ProjectExplorerTreeInfo treeInfo, Boolean allowPreIcon) in Mendix.Modeler.Core\Projects\ProjectExplorers\ProjectExplorerNode.cs:line 107    at Mendix.Modeler.Projects.ProjectExplorers.NamedDocumentNode..ctor(IExplorerOperations explorerOperations, IDynamicContextMenuProvider dynamicContextMenuProvider, INamedDocument namedDocument, ProjectExplorerTreeInfo info) in Mendix.Modeler.Core\Projects\ProjectExplorers\NamedDocumentNode.cs:line 38    at Mendix.Modeler.Microflows.View.Microflows.MicroflowDocumentTypeView.CreateDocumentNode(IExplorerOperations explorerOperations, IDynamicContextMenuProvider dynamicContextMenuProvider, INamedDocument doc, ProjectExplorerTreeInfo info) in Mendix.Modeler.Microflows.View\Microflows\MicroflowDocumentTypeView.cs:line 60    at Mendix.Modeler.Core.View.ToolWindows.Nodes.ModuleNode.FolderNodeExtensions.<>c__DisplayClass1_0.<GetChildNodes>b__3(INamedDocument d) in Mendix.Modeler.Core.View\ToolWindows\ProjectExplorer\Nodes\ModuleNode\FolderNodeExtensions.cs:line 29    at System.Linq.Enumerable.SelectIPartitionIterator`2.MoveNext()       Thanks, Satya.   
asked
1 answers
0

Hi Satya, does it help when you restart Studio Pro (and maybe also Windows itself)? It seems this is a specific issue related to access rights on the Operation System level.

 

If a restart doesn't help you out, you can try to remove your local app and retrieve it from the Team Server. However, this will delete any local changes you have made so far.

answered