locked
Exception with Expression Blend 3 RRS feed

  • Question

  • Hello all,

    I have a problem with Expression Blend 3, it always throw an exception.

    Exception (sorry for the French)
    {"Impossible d'effectuer un cast d'un objet de type 'Microsoft.Expression.DesignSurface.ViewModel.SceneNode' en type 'Microsoft.Expression.DesignSurface.ViewModel.SceneElement'."}

    Call Stack
    "   à Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.AnnotateDocumentNodeChange(DocumentNodeMarker marker, DocumentNodeChange e)\r
       à Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.AnnotateDamage(DocumentNodeChangeList damage)\r
       à Microsoft.Expression.DesignSurface.ViewModel.SceneUpdatePhaseEventArgs..ctor(SceneViewModel viewModel, Boolean sceneSwitched, Boolean rootNodeChanged)\r
       à Microsoft.Expression.DesignSurface.Pipeline.SceneViewUpdateScheduleTask.ScheduleUpdate(SceneViewModel viewModel, Boolean viewSwitched, Boolean rootNodeChanged)\r
       à Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.SchedulePipelineTasks(Boolean viewSwitched, Boolean rootNodeChanged)\r
       à Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.ActivatePipeline(SceneUpdateTypeFlags flags)\r
       à Microsoft.Expression.DesignSurface.ViewModel.SceneViewModel.SceneDocument_EditTransactionCompleted(Object sender, EventArgs e)\r
       à System.EventHandler.Invoke(Object sender, EventArgs e)\r
       à Microsoft.Expression.DesignSurface.Documents.SceneDocument.OnCompletedEditTransaction(Boolean notifyListeners)\r
       à Microsoft.Expression.DesignSurface.Pipeline.SceneEditTransaction.Commit(Boolean notifyDocument)\r
       à Microsoft.Expression.DesignSurface.View.SceneView.CommitCurrentTextEditTransaction(Boolean shouldBroadcast)\r
       à Microsoft.Expression.DesignSurface.View.SceneView.CommitTextEdits()\r
       à Microsoft.Expression.DesignSurface.View.SceneView.OnTextCommitTimeoutTimerTick(Object sender, EventArgs e)\r
       à System.Windows.Threading.DispatcherTimer.FireTick(Object unused)\r
       à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)\r
       à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)\r
       à System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)\r
       à System.Windows.Threading.DispatcherOperation.InvokeImpl()\r
       à System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)\r
       à System.Threading.ExecutionContext.runTryCode(Object userData)\r
       à System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)\r
       à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r
       à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r
       à System.Windows.Threading.DispatcherOperation.Invoke()\r
       à System.Windows.Threading.Dispatcher.ProcessQueue()\r
       à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r
       à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r
       à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r
       à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)\r
       à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)\r
       à System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)\r
       à System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)\r
       à System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)\r
       à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r
       à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r
       à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r
       à System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)\r
       à System.Windows.Threading.Dispatcher.Run()\r
       à System.Windows.Application.RunDispatcher(Object ignore)\r
       à System.Windows.Application.RunInternal(Window window)\r
       à System.Windows.Application.Run(Window window)\r
       à System.Windows.Application.Run()\r
       à Microsoft.Expression.Framework.ExpressionApplication.RunApplication()\r
       à Microsoft.Expression.Blend.BlendApplication..ctor(SplashScreen splashScreen)\r
       à Microsoft.Expression.Application.Main(String[] args)"

    Thanks in advance.
    • Moved by Jay_WangMicrosoft employee Friday, February 5, 2010 2:26 AM Expression Blend question (From:Windows Presentation Foundation (WPF))
    Thursday, February 4, 2010 8:31 AM

All replies

  • When did you get an exception? On starting up Blend, on loading the project, on editing a file .... ?
    Thursday, February 4, 2010 3:06 PM