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

SD 5 Exception when dismissing dialog

$
0
0

  1. Modify a file in the solution, do not save
  2. Open solution in another application (VS 2013 in my case)
  3. Modify the solution externally
  4. Return to SD
  5. Choose to reload solution
  6. There is still pop up asking to save the modified file
  7. Dismiss it
  8. Get exception

 

SharpDevelop Version : 5.0.0.4516-Beta 5-3e5b969d

.NET Version         : 4.0.30319.18444

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : English (United States) (en-US)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 202604kb

GC Heap Memory       : 32432kb

 

Unhandled WPF exception

Exception thrown:

System.NullReferenceException: Object reference not set to an instance of an object.

   at ICSharpCode.SharpDevelop.Workbench.FileChangeWatcher.MainForm_Activated(Object sender, EventArgs e)

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at System.Windows.Window.OnActivated(EventArgs e)

   at System.Windows.Window.HandleActivate(Boolean windowActivated)

   at System.Windows.Window.WmActivate(IntPtr wParam)

   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Recent log messages:

13:23:06.915 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent D:\src\1Team\Ecomm\Website\Development\CodedUITests\Source\Cdw.CodedUI.Tests\Cdw.CodeUI.Tests.WebTests\PageObjects\Shared\GlobalSearchBar.cs]

13:23:06.966 [LoadSolutionProjects] DEBUG - Deserializing C:\Users\leondra\AppData\Local\Temp\SharpDevelop5.0\WebTests.d4cb98a9.prj

13:23:07.010 [LoadSolutionProjects] DEBUG - WebTests: ParseFiles() finished. 10 files were re-used from CC cache; 11 files were parsed (11 of those are serializable)

13:23:07.020 [LoadSolutionProjects] DEBUG - WebTestCases: ParseFiles() finished. 0 files were re-used from CC cache; 2 files were parsed (2 of those are serializable)

13:23:07.026 [1] DEBUG - Update Foldings

13:23:07.036 [1] DEBUG - Update Foldings

13:23:07.042 [1] DEBUG - Update Foldings

13:23:07.045 [LoadSolutionProjects] DEBUG - Deserializing C:\Users\leondra\AppData\Local\Temp\SharpDevelop5.0\Cdw.CodeUI.Tests.DAL.2f4dd129.prj

13:23:07.067 [LoadSolutionProjects] DEBUG - Cdw.CodeUI.Tests.DAL: ParseFiles() finished. 6 files were re-used from CC cache; 0 files were parsed (0 of those are serializable)

13:23:07.067 [LoadSolutionProjects] DEBUG - Deserializing C:\Users\leondra\AppData\Local\Temp\SharpDevelop5.0\Cdw.CodeUI.Tests.WebTests.0bfb6a23.prj

13:23:07.087 [LoadSolutionProjects] DEBUG - Cdw.CodedUI.Tests.WebTests: ParseFiles() finished. 4 files were re-used from CC cache; 9 files were parsed (9 of those are serializable)

13:23:07.116 [LoadSolutionProjects] DEBUG - LoadSolutionProjectsThread finished after 00:00:01.1661095

13:23:07.116 [1] DEBUG - Update Foldings

13:23:07.117 [1] DEBUG - ParseInformationUpdated D:\src\1Team\Ecomm\Website\Development\CodedUITests\Source\Cdw.CodedUI.Tests\Cdw.CodeUI.Tests.WebTests\PageObjects\BasePage.cs (updated)

13:23:07.117 [1] DEBUG - ParseInformationUpdated D:\src\1Team\Ecomm\Website\Development\CodedUITests\Source\Cdw.CodedUI.Tests\WebTests\TestManagers\TestManager.cs (new)

13:23:07.117 [1] DEBUG - ParseInformationUpdated D:\src\1Team\Ecomm\Website\Development\CodedUITests\Source\Cdw.CodedUI.Tests\WebTests\TestManagers\TestManager.cs (updated)

13:23:07.127 [1] DEBUG - ParseInformationUpdated D:\src\1Team\Ecomm\Website\Development\CodedUITests\Source\Cdw.CodedUI.Tests\Cdw.CodeUI.Tests.WebTests\PageObjects\Shared\GlobalSearchBar.cs (updated)

13:23:07.136 [1] DEBUG - Update Foldings

13:23:07.142 [8] DEBUG - Git: OverlayIconManager Thread finished

13:23:07.143 [1] DEBUG - Update Foldings

13:23:07.154 [1] DEBUG - Update Foldings

13:23:07.681 [35] DEBUG - Resolved (Line 34, Col 6) to 

13:23:07.681 [5] DEBUG - Resolved (Line 1, Col 1) to 

13:23:07.681 [9] DEBUG - Resolved (Line 34, Col 5) to [ResolveResult System.Void]

13:23:08.416 [1] ERROR - Unhandled WPF exception

--> Exception:

System.NullReferenceException: Object reference not set to an instance of an object.

   at ICSharpCode.SharpDevelop.Workbench.FileChangeWatcher.MainForm_Activated(Object sender, EventArgs e)

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at System.Windows.Window.OnActivated(EventArgs e)

   at System.Windows.Window.HandleActivate(Boolean windowActivated)

   at System.Windows.Window.WmActivate(IntPtr wParam)

   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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, 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:\src\1Team\Ecomm\Website\Development\CodedUITests\Source\Cdw.CodedUI.Tests\Cdw.CodeUI.Tests.sln with 4 projects]

ProjectService.CurrentProject: [CSharpProject: Cdw.CodeUI.Tests.WebTests]

Workbench.ActiveContent: [AvalonEditViewContent D:\src\1Team\Ecomm\Website\Development\CodedUITests\Source\Cdw.CodedUI.Tests\Cdw.CodeUI.Tests.WebTests\PageObjects\Shared\GlobalSearchBar.cs]


Viewing all articles
Browse latest Browse all 1764

Trending Articles