Hi,
I've tried to add a small LevelB extension (a new value for the MeasuredDataPublication) to the model. The D2Convertion tool reads the resulting xmi-file without complaints but if I try to change to the selection tab it throws an unhandled exception.
------
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.SortedList`2.get_Item(TKey key)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodesClassContent(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodes(D2Component theclass, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMLData_AddNodes(ImageTriStateTreeView treeview, D2Package package, TreeNode node, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.ShowXMIData(ImageTriStateTreeView treeview, UmlModel model)
at D2_Conversion.DATEX2_MainDialog.tabControl_Selected(Object sender, TabControlEventArgs e)
at System.Windows.Forms.TabControl.OnSelected(TabControlEventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.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.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
D2Conversion
Assembly Version: 2.0.2.0
Win32 Version: 2.0.2.0
CodeBase: file:///F:/tobebackedup/Projekte/Hessen/SimTD/DatexII/V2RC2/D2Conversion...
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5...
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/Sy...
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d...
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e08...
----------------------------------------
Logging
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/tobebackedup/Projekte/Hessen/SimTD/DatexII/V2RC2/Logging.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5...
----------------------------------------
RuleSet
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/tobebackedup/Projekte/Hessen/SimTD/DatexII/V2RC2/RuleSet.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
-----
I'm using the tool from 05-26-2010.
Even if the exception is caused by a modeling issue it is very frustrating to find the problem without any hint.
Best regards
Jürgen Bockhorn
Heusch/Boesefeldt GmbH
#1
I cannot reprduce the problem.
Have asked for the XMI that causes the problem.
#2
I think this issue has been resolved in earlier versions.