Unhandled Exception accessing Settings menu - RESOLVED

If you think you've found a mistake in the software, tell us here

Unhandled Exception accessing Settings menu - RESOLVED

Postby gregspin » Tue Nov 28, 2017 10:45 am

Hi

I've just installed Cymatic (on my Windows 7 pc) and activated my 14-day trial. When I access the Settings menu, I get the following:

2017-11-28_103544.jpg


The details are:

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

************** Exception Text **************
System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: culture
4096 (0x1000) is an invalid culture identifier.
   at System.Globalization.CultureData.GetCultureData(Int32 culture, Boolean bUseUserOverride)
   at System.Globalization.RegionInfo..ctor(Int32 culture)
   at CyTraderBF.BF_FormSettings.GetCountryInfo()
   at CyTraderBF.BF_FormSettings.(Object , EventArgs )
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
CyTraderBF
    Assembly Version: 6.0.11.0
    Win32 Version: 6.0.11.0
    CodeBase: file:///C:/Users/Greg/AppData/Local/Apps/2.0/R6V75PLB.AHX/DMTEG827.NBH/cytr..tion_e95a99aca2c10e1b_0001.0000_a46c59dc83a67a44/CyTraderBF.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CymaticTraderBetfair
    Assembly Version: 6.0.11.0
    Win32 Version: 6.0.11.0
    CodeBase: file:///C:/Users/Greg/AppData/Local/Apps/2.0/R6V75PLB.AHX/DMTEG827.NBH/cytr..tion_e95a99aca2c10e1b_0001.0000_a46c59dc83a67a44/CyTraderBF.exe
----------------------------------------
BetfairApiWrapperClassLibrary_NG
    Assembly Version: 1.0.1.0
    Win32 Version: 6.0.11.0
    CodeBase: file:///C:/Users/Greg/AppData/Local/Apps/2.0/R6V75PLB.AHX/DMTEG827.NBH/cytr..tion_e95a99aca2c10e1b_0001.0000_a46c59dc83a67a44/CyTraderBF.exe
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
CymaticClassLibrary
    Assembly Version: 1.2.0.0
    Win32 Version: 6.0.11.0
    CodeBase: file:///C:/Users/Greg/AppData/Local/Apps/2.0/R6V75PLB.AHX/DMTEG827.NBH/cytr..tion_e95a99aca2c10e1b_0001.0000_a46c59dc83a67a44/CyTraderBF.exe
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
System.Web.Services
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.3.19514
    CodeBase: file:///C:/Users/Greg/AppData/Local/Apps/2.0/R6V75PLB.AHX/DMTEG827.NBH/cytr..tion_e95a99aca2c10e1b_0001.0000_a46c59dc83a67a44/Newtonsoft.Json.DLL
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.IdentityModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
----------------------------------------
System.ServiceModel.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Web/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll
----------------------------------------
Microsoft.VisualStudio.Diagnostics.ServiceModelSink
    Assembly Version: 4.0.0.0
    Win32 Version: 10.0.30319.1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
Interop.SHDocVw
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Users/Greg/AppData/Local/Apps/2.0/R6V75PLB.AHX/DMTEG827.NBH/cytr..tion_e95a99aca2c10e1b_0001.0000_a46c59dc83a67a44/Interop.SHDocVw.DLL
----------------------------------------
Betfair.ESAClient
    Assembly Version: 1.0.2.0
    Win32 Version: 6.0.11.0
    CodeBase: file:///C:/Users/Greg/AppData/Local/Apps/2.0/R6V75PLB.AHX/DMTEG827.NBH/cytr..tion_e95a99aca2c10e1b_0001.0000_a46c59dc83a67a44/CyTraderBF.exe
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Betfair.ESASwagger
    Assembly Version: 1.3.0.0
    Win32 Version: 6.0.11.0
    CodeBase: file:///C:/Users/Greg/AppData/Local/Apps/2.0/R6V75PLB.AHX/DMTEG827.NBH/cytr..tion_e95a99aca2c10e1b_0001.0000_a46c59dc83a67a44/CyTraderBF.exe
----------------------------------------

************** 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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

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.


Pressing Continue allows me to proceed. I have tried exiting and restarting, but the problem occurs consistently.

Regards,
Greg
You do not have the required permissions to view the files attached to this post.
gregspin
 
Posts: 7
Joined: Tue Nov 28, 2017 10:14 am

Re: Unhandled Exception accessing Settings menu

Postby Gavin » Tue Nov 28, 2017 5:16 pm

Hi Greg,

I wonder if the Windows system locale settings (regional/international settings) in your computer are set to a culture that Cymatic doesn't recognise, hence triggering this error.

Please check your local/regional settings as explained here:

http://blogmines.com/blog/how-to-change-system-locale-in-windows-7/

What regional settings did you have? Is it English (United Kingdom)? If not please set it to that and try again.

Please do let me know if this solves it or not. Thanks.

Kind regards,

Gavin
User avatar
Gavin
Site Admin
 
Posts: 3835
Joined: Wed Jan 23, 2013 9:11 pm
Location: United Kingdom

Re: Unhandled Exception accessing Settings menu

Postby gregspin » Wed Nov 29, 2017 8:27 am

Hi Gavin

Thanks for your reply.

My locale setting is English (United Kingdom), as follows:

2017-11-29_081610.jpg


Kind regards,
Greg
You do not have the required permissions to view the files attached to this post.
gregspin
 
Posts: 7
Joined: Tue Nov 28, 2017 10:14 am

Re: Unhandled Exception accessing Settings menu

Postby gregspin » Wed Nov 29, 2017 8:33 am

I Googled around a bit and found this, which might (or might not!) help:

https://stackoverflow.com/questions/41851613/culture-is-suddenly-not-supported-anymore-on-azure-web-app

Why this should happen on my pc, and not everyone else's, is a probably another Microsoft mystery :? . My Windows is as up-to-date as I can make it but my old Dell Studio is starting to creak a bit!

Kind regards,
Greg
gregspin
 
Posts: 7
Joined: Tue Nov 28, 2017 10:14 am

Re: Unhandled Exception accessing Settings menu

Postby Gavin » Wed Nov 29, 2017 12:51 pm

Hi Greg,

Thanks for the extra information and that helpful link!

In your link to a forum discussion at Stackoverflow, there is a post by Shawn Steele, looks like the right solution. "Almost all of the new locales in Windows are not assigned explicit LCIDs".

I'll release a new version of Cymatic very soon that I think will solve the problem.

Thanks again and kind regards,

Gavin
User avatar
Gavin
Site Admin
 
Posts: 3835
Joined: Wed Jan 23, 2013 9:11 pm
Location: United Kingdom

Re: Unhandled Exception accessing Settings menu

Postby gregspin » Thu Nov 30, 2017 4:46 pm

Hi Gavin

Not sure if it's connected, but regarding the Settings dialog, most of the changes I make do not appear to be saved. I recorded a video of my attempts - here's a link to the file on Dropbox https://www.dropbox.com/s/hhluopepcvcgepm/Video_00020.wmv?dl=0.

As you will see, most things of the things I try to change do not persist, although, strangely, the change in the dropdown in the AutoPilot Trigger does. Also, even though the the addition of a sound file to the "in play" looks like it doesn't work, I'm pretty sure it did start to tell me that markets were in-play after I attempted to change that setting.

Btw, I also get the Culture error when I go to the market selection dialog of the AutoPilot.

Kind regards,
Greg
gregspin
 
Posts: 7
Joined: Tue Nov 28, 2017 10:14 am

Re: Unhandled Exception accessing Settings menu

Postby gregspin » Thu Nov 30, 2017 5:20 pm

Hi Gavin

I've just installed ACT on another (Windows 7) computer and have experienced none of the issues we've been discussing. I'm going to try re-installing on the original pc, just in case the installation was faulty.

Cheers,
Greg
gregspin
 
Posts: 7
Joined: Tue Nov 28, 2017 10:14 am

Re: Unhandled Exception accessing Settings menu

Postby gregspin » Thu Nov 30, 2017 5:27 pm

Hmmm - no improvement I'm afraid.

One important difference between my two computers is that the one on which I'm having problems is x64-based. I wonder if that has anything to do with it?

Cheers,
Greg
gregspin
 
Posts: 7
Joined: Tue Nov 28, 2017 10:14 am

Re: Unhandled Exception accessing Settings menu

Postby Gavin » Thu Nov 30, 2017 7:15 pm

Hi Greg,

I have now released a new version 6.0.12.0 which I think should fix the problems that you have reported.

As usual, the software will automatically update itself next time you open it.

Please confirm whether the problems are fixed now, thanks.

Thanks again for reporting the issue.

Kind regards,

Gavin

P.S. I'm not sure if the 64-bit aspect was involved. Perhaps your 64-bit version of Windows included some new 'cultures' that weren't in the 32 bit version and one of them was not recognised.
User avatar
Gavin
Site Admin
 
Posts: 3835
Joined: Wed Jan 23, 2013 9:11 pm
Location: United Kingdom

Re: Unhandled Exception accessing Settings menu

Postby gregspin » Fri Dec 01, 2017 3:02 pm

Hi Gavin

That's working fine now :)

Cheers,
Greg
gregspin
 
Posts: 7
Joined: Tue Nov 28, 2017 10:14 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests

cron