locked
I get this crash at least 5 times a day RRS feed

  • Question

  • I have run blend with the /exceptionlog flag, and at least 5 times (sometime way more) a day, I get this crash:


    can someone please take a look at this for me, its killing my productivity


    Microsoft® Expression® crash report:

    Date: 2010-02-18 14-22-00
    User: USERNAMEREPLACED@COMPUTERNAME

    Application Version: 3.0.1000.1000
    Operating System Version: Microsoft Windows NT 6.1.7600.0
    Common Language Runtime Version: 2.0.50727.4927

    System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.IsExternal(DocumentNode node)
       at Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.GetSceneNode(DocumentNode node)
       at Microsoft.Expression.DesignSurface.ViewModel.SceneNode.get_Parent()
       at Microsoft.Expression.DesignSurface.ViewModel.StoryboardTimelineSceneNode.get_Name()
       at Microsoft.Expression.DesignSurface.UserInterface.Timeline.UI.StoryboardTimelineHeader.get_Name()
       at Microsoft.Expression.DesignSurface.UserInterface.Timeline.UI.StoryboardTimelineHeader.ToString()
       at System.Windows.Controls.ContentControl.ContentObjectToString(Object content)
       at System.Windows.Controls.ContentControl.GetPlainText()
       at System.Windows.Automation.Peers.FrameworkElementAutomationPeer.GetNameCore()
       at System.Windows.Automation.Peers.AutomationPeer.GetName()
       at System.Windows.Automation.Peers.ItemAutomationPeer.GetNameCore()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.ContextLayoutManager.fireAutomationEvents()
       at System.Windows.ContextLayoutManager.UpdateLayout()
       at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
       at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
       at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
       at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
       at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at Microsoft.Expression.Framework.ExpressionApplication.RunApplication()
       at Microsoft.Expression.Blend.BlendApplication..ctor(SplashScreen splashScreen)
       at Microsoft.Expression.Application.Main(String[] args)

    mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Blend, Version=3.0.1927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Microsoft.Expression.Framework, Version=3.0.1000.1000, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Microsoft.Expression.Blend, Version=3.0.1927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.DesignModel, Version=3.0.1927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.DesignSurface, Version=3.0.1927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.Project, Version=3.0.1927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Build.Framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Build.Engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Expression.Code, Version=3.0.1927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.Framework.resources, Version=3.0.1000.1000, Culture=en, PublicKeyToken=31bf3856ad364e35
    System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    PresentationFramework.Aero, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.Blend.resources, Version=3.0.1927.0, Culture=en, PublicKeyToken=31bf3856ad364e35
    System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Expression.Licensing, Version=3.0.1000.1000, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    msvcm90, Version=9.0.30729.4926, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    skt8sjg6, Version=3.0.1927.0, Culture=neutral, PublicKeyToken=null
    Microsoft.Expression.Project.resources, Version=3.0.1927.0, Culture=en, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.Code.resources, Version=3.0.1927.0, Culture=en, PublicKeyToken=31bf3856ad364e35
    ActiproSoftware.SyntaxEditor.Addons.DotNet.Net20, Version=4.0.280.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    ActiproSoftware.Shared.Net20, Version=1.0.100.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    ActiproSoftware.SyntaxEditor.Net20, Version=4.0.280.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Windows.Design.Interaction, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Expression.DesignSurface.resources, Version=3.0.1927.0, Culture=en, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.Platform.WPF, Version=3.0.1927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    System.Windows.Interactivity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.DesignModel.resources, Version=3.0.1927.0, Culture=en, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.PrototypeHostEnvironment, Version=1.0.927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.Prototyping, Version=1.0.927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.PrototypingData, Version=1.0.927.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.Prototyping.resources, Version=1.0.927.0, Culture=en, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.PrototypeHostEnvironment.resources, Version=1.0.927.0, Culture=en, PublicKeyToken=31bf3856ad364e35
    PresentationUI, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    UIAutomationProvider, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    UIAutomationTypes, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.SourceControl.TFS, Version=3.0.1000.1000, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.TeamFoundation.VersionControl.ControlAdapter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.TeamFoundation.VersionControl.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.TeamFoundation.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Build.Utilities.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    PresentationBuildTasks, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Expression.Interactions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.Prototyping.Interactivity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Xna.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d
    System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Microsoft.Surface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Surface.Presentation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Surface.Presentation.Generic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    WPFMediaKit, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
    WPFToolkit, Version=3.5.40128.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    SurfaceZoom, Version=1.0.3691.17534, Culture=neutral, PublicKeyToken=null
    WPFToolkit.Design, Version=3.5.40128.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    System.Data.SqlXml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Blend_RuntimeGeneratedTypesAssembly83b7ddac-ada9-4ac0-a0bb-8325e38f97f0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
    ISymWrapper, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.Surface.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.VisualStudio.Platform, Version=9.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.VisualStudio.AssetSystem.Loader, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.VisualStudio.AssetSystem.CompositionModel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Nautilus.Composition, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.VisualStudio.AssetSystem, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    Microsoft.Expression.SourceControl.TFS.resources, Version=3.0.1000.1000, Culture=en, PublicKeyToken=31bf3856ad364e35
    Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.TeamFoundation.VersionControl.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.TeamFoundation, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    b1uxyktc, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null
    System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Microsoft.TeamFoundation.Common.Library, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    bk831ecp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
    9fcsv472, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null
    Microsoft.Expression.Platform.WPF.resources, Version=3.0.1927.0, Culture=en, PublicKeyToken=31bf3856ad364e35
    WPFMediaKit, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
    PROJECTNAMEREPLACED, Version=1.0.3701.25611, Culture=neutral, PublicKeyToken=null
    Microsoft.Data.Entity.Build.Tasks, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    PROJECTNAMEREPLACED, Version=1.0.3701.25692, Culture=neutral, PublicKeyToken=null

    Thursday, February 18, 2010 3:34 AM

All replies

  • My Expression Blend/SketchFlow evaluation crashes quite often too, so I have to agree that Expressions is still a very unstable tool.  I haven't seen a pattern yet of when it decides to crash on me .... but I admit that I do need to edit the .xaml and .cs files externally as well because Expressions doesn't rename things properly .... it probably doesn't like that much.

    ps. How do you turn this exception logging on and what benefit does it have?
    Thursday, February 18, 2010 7:24 AM
  • To turn on exception reporting like this, run blend with the /exceptionlog flag.  Blend.exe /exceptionlog.

    The benefit is that we can often help figure out what is happening and come up with a workaround, and improve the product.
    Thursday, February 18, 2010 1:30 PM
    Moderator
  • Was this the correct forum to put this type of issue?
    Thursday, February 18, 2010 9:57 PM
  • Yes, I'll be sure someone is looking at this.
    Thursday, February 18, 2010 10:59 PM
    Moderator
  • What causes this issue? any work around available for this?
    Tuesday, May 11, 2010 4:41 AM
  • I cant pinpoint why this happens, it seems a bit random, but who knows, it hasnt happened in a while now... fingers crossed it was just one of those things.
    Tuesday, May 11, 2010 5:41 AM
  • The cause of the problem is template error in control. 

     

    great day :)

    Tuesday, May 11, 2010 6:18 AM
  • Hi,

          Can you please add some more details? Which specific version of Blend 4 are you using? Also, will it be possible for you to share a small repro project? We are closing fast on RTM and would appreciate if we can have more specific details to make sure this is fixed. You can send details at navits at microsoft dot com

    Once again I appreciate your help in solving this issue.

    --Navit Saxena

    Tuesday, May 11, 2010 7:27 AM
  • Hi navit,

    This problem caused due to theming issues in the control I was using. I won't say this is fixed. Because, for an error in template it should not get crashed right?

     

    Converter, which we used in the controls template was set with "internal" access specifier, I changed it to "public" problem solved. It is easier to reproduce. If you want I'll prepare a sample.

     

    Great day

    • Edited by Reporting Avatar Wednesday, May 12, 2010 5:34 AM I have missed how I fixed the issue. Included that, with this edit.
    Wednesday, May 12, 2010 4:40 AM
  • Hi,

            It would be great if you can send us a sample project, you can send it directly to me at navits at microsoft dot com and we will take a look at this on priority.

    --Navit Saxena

    Wednesday, May 12, 2010 6:48 AM