title: XAML Node Stream: Missing CurrentObject before EndObject
body: <p>I'm getting below error in Workflow service. I've searched on google but does not find any helpful information. I found this link but unable to understand it.
  <a href="https://social.msdn.microsoft.com/Forums/vstudio/en-US/ba29b516-7ff4-4fea-b0a5-5ebda5283664/xaml-node-stream-missing-currentobject-before-endobject?forum=wfprerelease" rel="nofollow noreferrer">https://social.msdn.microsoft.com/Forums/vstudio/en-US/ba29b516-7ff4-4fea-b0a5-5ebda5283664/xaml-node-stream-missing-currentobject-before-endobject?forum=wfprerelease</a></p>
  
  <p>The issue occurred randomly and Inner Exception is</p>
  
  <p><code>at System.Xaml.XamlObjectWriter.WriteEndObject()
     at System.Xaml.XamlObjectWriter.Dispose(Boolean disposing)
     at System.Xaml.XamlWriter.System.IDisposable.Dispose()
     at System.Activities.XamlIntegration.ActivityXamlServices.InitializeComponentFromXamlResource(Type componentType, String resource, Object componentInstance, XamlSchemaContext schemaContext)
     at System.Activities.XamlIntegration.ActivityXamlServices.InitializeComponent(Type componentType, Object componentInstance)</code></p>