{"action":"created","issue":{"url":"https://api.github.com/repos/chummer5a/chummer5a/issues/619","labels_url":"https://api.github.com/repos/chummer5a/chummer5a/issues/619/labels{/name}","comments_url":"https://api.github.com/repos/chummer5a/chummer5a/issues/619/comments","events_url":"https://api.github.com/repos/chummer5a/chummer5a/issues/619/events","html_url":"https://github.com/chummer5a/chummer5a/issues/619","id":125120441,"number":619,"title":"Comlink bug","user":{"login":"Hyperth","id":16571311,"avatar_url":"https://avatars.githubusercontent.com/u/16571311?v=3","gravatar_id":"","url":"https://api.github.com/users/Hyperth","html_url":"https://github.com/Hyperth","followers_url":"https://api.github.com/users/Hyperth/followers","following_url":"https://api.github.com/users/Hyperth/following{/other_user}","gists_url":"https://api.github.com/users/Hyperth/gists{/gist_id}","starred_url":"https://api.github.com/users/Hyperth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hyperth/subscriptions","organizations_url":"https://api.github.com/users/Hyperth/orgs","repos_url":"https://api.github.com/users/Hyperth/repos","events_url":"https://api.github.com/users/Hyperth/events{/privacy}","received_events_url":"https://api.github.com/users/Hyperth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-06T06:23:56Z","updated_at":"2016-01-06T07:19:08Z","closed_at":null,"body":"Currently get a error message if there is a cyberdeck and comlink in the gear list and either one is clicked on. Seems to be an issue with trying to create the deck attributes. Error details below\r\n\r\nSee the end of this message for details on invoking \r\njust-in-time (JIT) debugging instead of this dialog box.\r\n\r\n************** Exception Text **************\r\nSystem.InvalidCastException: Unable to cast object of type 'Chummer.Gear' to type 'Chummer.Commlink'.\r\n   at Chummer.CommonFunctions.FindCommlink(String strGuid, List`1 lstCommlink)\r\n   at Chummer.CommonFunctions.FindCommlink(String strGuid, List`1 lstCommlink)\r\n   at Chummer.frmCareer.cboGearSleaze_SelectedIndexChanged(Object sender, EventArgs e)\r\n   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)\r\n   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)\r\n   at Chummer.frmCareer.RefreshSelectedGear()\r\n   at Chummer.frmCareer.treGear_AfterSelect(Object sender, TreeViewEventArgs e)\r\n   at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)\r\n   at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)\r\n   at System.Windows.Forms.TreeView.WmNotify(Message& m)\r\n   at System.Windows.Forms.TreeView.WndProc(Message& m)\r\n   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\r\n   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\r\n   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n\r\n\r\n************** Loaded Assemblies **************\r\nmscorlib\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE\r\n    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll\r\n----------------------------------------\r\nChummer5\r\n    Assembly Version: 0.5.177.0\r\n    Win32 Version: 0.5.177.0\r\n    CodeBase: file:///C:/Users/Y/Documents/Chummer5a/Chummer5a/Chummer5.exe\r\n----------------------------------------\r\nSystem.Core\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0 built by: NETFXREL2\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll\r\n----------------------------------------\r\nSystem\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0 built by: NETFXREL2\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll\r\n----------------------------------------\r\nSystem.Windows.Forms\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0 built by: NETFXREL2\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll\r\n----------------------------------------\r\nSystem.Drawing\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0 built by: NETFXREL2\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll\r\n----------------------------------------\r\nSystem.Xml\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0 built by: NETFXREL2\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll\r\n----------------------------------------\r\nSystem.Configuration\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0 built by: NETFXREL2\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll\r\n----------------------------------------\r\nAccessibility\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0 built by: NETFXREL2\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll\r\n----------------------------------------\r\nSystem.Windows.Forms.DataVisualization\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll\r\n----------------------------------------\r\nSystem.Data\r\n    Assembly Version: 4.0.0.0\r\n    Win32 Version: 4.6.1038.0 built by: NETFXREL2\r\n    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll\r\n----------------------------------------\r\n\r\n************** JIT Debugging **************\r\nTo enable just-in-time (JIT) debugging, the .config file for this\r\napplication or computer (machine.config) must have the\r\njitDebugging value set in the system.windows.forms section.\r\nThe application must also be compiled with debugging\r\nenabled.\r\n\r\nFor example:\r\n\r\n<configuration>\r\n    <system.windows.forms jitDebugging=\"true\" />\r\n</configuration>\r\n\r\nWhen JIT debugging is enabled, any unhandled exception\r\nwill be sent to the JIT debugger registered on the computer\r\nrather than be handled by this dialog box.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chummer5a/chummer5a/issues/comments/169255453","html_url":"https://github.com/chummer5a/chummer5a/issues/619#issuecomment-169255453","issue_url":"https://api.github.com/repos/chummer5a/chummer5a/issues/619","id":169255453,"user":{"login":"chummer5a","id":11448441,"avatar_url":"https://avatars.githubusercontent.com/u/11448441?v=3","gravatar_id":"","url":"https://api.github.com/users/chummer5a","html_url":"https://github.com/chummer5a","followers_url":"https://api.github.com/users/chummer5a/followers","following_url":"https://api.github.com/users/chummer5a/following{/other_user}","gists_url":"https://api.github.com/users/chummer5a/gists{/gist_id}","starred_url":"https://api.github.com/users/chummer5a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chummer5a/subscriptions","organizations_url":"https://api.github.com/users/chummer5a/orgs","repos_url":"https://api.github.com/users/chummer5a/repos","events_url":"https://api.github.com/users/chummer5a/events{/privacy}","received_events_url":"https://api.github.com/users/chummer5a/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T07:19:08Z","updated_at":"2016-01-06T07:19:08Z","body":"Hrm, that was fixed in 5.178 I thought. Could you please download the latest version from https://github.com/chummer5a/chummer5a/releases"}}