Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Crash in WPF Design View

$
0
0

Code is compiled and run OK. Error occured in Design View.

Details:

SharpDevelop Version : 5.0.0.4696-RC-7a9207a6
.NET Version         : 4.0.30319.34209
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : Invariant Language (Invariant Country) ()
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 184512kb
GC Heap Memory       : 51078kb

Unhandled WPF exception
Exception thrown:
System.ArgumentException: Illegal item type
   at FolderPicker.DriveIconConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.Activate(Object item)
   at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
   at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Run(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
12:22:04.075 [1] INFO - Open file D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml
12:22:04.075 [1] DEBUG - NavigationService
    ActiveViewContent: FolderPickerControl.xaml
              Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
12:22:04.075 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml]
12:22:04.222 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml]
12:22:04.224 [1] DEBUG - NavigationService -- resume logging
12:22:04.226 [1] INFO - FileService
    Jumped to File Position:  [D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml : 22x12]
12:22:50.583 [1] DEBUG - File D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml was changed externally: Renamed
12:22:51.860 [1] DEBUG - File D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml was changed externally: Renamed
12:30:43.311 [1] DEBUG - File D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml was changed externally: Renamed
12:30:43.318 [1] DEBUG - Project file VideosLauncher.sln was changed externally: Changed
12:30:43.320 [1] DEBUG - Project file VideosLauncher.sln was changed externally: Changed
12:35:13.643 [1] DEBUG - File D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml was changed externally: Renamed
12:38:29.519 [1] DEBUG - Resolved (Line 10, Col 29) to [ErrorResolveResult ?]
12:38:29.519 [1] DEBUG - ParseInformationUpdated D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml (updated)
12:38:38.479 [1] DEBUG - Resolved (Line 12, Col 29) to [ErrorResolveResult ?]
12:40:50.221 [1] DEBUG - NavigationService
    ActiveViewContent: FolderPickerControl.xaml
              Subview: ${res:FormsDesigner.DesignTabPages.DesignTabPage}
12:40:50.221 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
12:40:50.237 [1] DEBUG - Loading assembly D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\bin\Debug\FolderPicker.dll (hash folderpicker.dll635478393152060546)
12:40:50.237 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: FolderPicker.resources, Version=1.0.5388.20857, Culture=en, PublicKeyToken=null
12:40:50.237 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: FolderPicker.resources, Version=1.0.5388.20857, Culture=en, PublicKeyToken=null
12:40:50.268 [1] DEBUG - [Task:File=D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml, Line=21, Column=12, Type=Error, Description=attached property TreeViewItem.Expanded not found
12:40:50.268 [1] DEBUG - [Task:File=D:\work\Programming\.NET\VideosLauncher\WPF\FolderPicker\FolderPickerControl.xaml, Line=22, Column=12, Type=Error, Description=attached property TreeViewItem.Selected not found
12:40:50.268 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ErrorListPad
12:40:50.440 [1] DEBUG - ActiveContentChanged to ICSharpCode.WpfDesign.AddIn.WpfViewContent
12:40:50.456 [1] ERROR - Unhandled WPF exception
--> Exception:
System.ArgumentException: Illegal item type
   at FolderPicker.DriveIconConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.Activate(Object item)
   at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
   at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Run(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution D:\work\Programming\.NET\VideosLauncher\VideosLauncher.sln with 5 projects]
ProjectService.CurrentProject: [CSharpProject: FolderPicker]
Workbench.ActiveContent: ICSharpCode.WpfDesign.AddIn.WpfViewContent


Viewing all articles
Browse latest Browse all 1764

Trending Articles