zenwalk / mapaction-toolbox

Automatically exported from code.google.com/p/mapaction-toolbox
0 stars 0 forks source link

Exception thrown when config file is copied from another laptop with crash move that doesn't exist on new laptop #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copied operation xml from another laptop into crash move folder
2. Export path was set in operation xml before it was copied but didn't load 
into config tool when launched. Exception below was returned as soon as COnfig 
tool launched.
Exception probably due to crash move folder not existing on new laptop?
Empty Export tool path probably as it didn't exist relative to Crash move 
folder? 

What is the expected output?
No exception given.

What do you see instead?

Please use labels and text to provide additional information.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present 
in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Alpha_ConfigTool.frmMain.populateDialogExistingConfigXml(String path) in Z:\code\nunit-trail\arcgis10_mapping_tools\Alpha_ConfigTool\Alpha_ConfigTool\frmMain.cs:line 324
   at Alpha_ConfigTool.frmMain.btnPathToExistingXml_Click(Object sender, EventArgs e) in Z:\code\nunit-trail\arcgis10_mapping_tools\Alpha_ConfigTool\Alpha_ConfigTool\frmMain.cs:line 82
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ESRI.DADF.Core
    Assembly Version: 10.1.0.0

Original issue reported on code.google.com by ClaireBy...@gmail.com on 14 Sep 2013 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by andrewphilipsmith on 28 Oct 2013 at 3:42

GoogleCodeExporter commented 9 years ago
Tested and passed.

Original comment by gv1...@gmail.com on 15 Mar 2014 at 2:16

GoogleCodeExporter commented 9 years ago
non-existent export path accepted - no handling exception

Original comment by gd...@mapaction.org on 16 Aug 2014 at 4:38