GSB Forums

Not logged in [Login - Register]

Futures and forex trading contains substantial risk and is not for every investor. An investor could
potentially lose all or more than the initial investment. Risk capital is money that can be lost without
jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only
those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of
future results
Go To Bottom

Printable Version  
Author: Subject: exception bug on 33.1
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 17-8-2017 at 02:07 PM
exception bug on 33.1


I've been away for a while... the last verison i used was 26.4 and all was well. Now that I'm back I see that I'm forced to use 33.1, but find it's not working on my computers...

Here is the exception I'm getting:

System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.ToArray()
at GSB.Optimizers.Optimizer.UpdatePerformancesTop(PerformanceSummary performance)
at GSB.Optimizers.Optimizer.UpdateState(PerformanceCombined pc, ParallelLoopState state)
at GSB.Optimizers.GeneticAlgorithm.<>c__DisplayClass83_0.b__0(Int32 i, ParallelLoopState state)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass11.b__10(Object param0)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action`2 body)
at GSB.Optimizers.GeneticAlgorithm.OptimizeChromosomes(Chromosome[] chromosomes, Int32 index)
at GSB.Optimizers.GeneticAlgorithm.Optimize()
at GSB.Optimizers.Optimizer.Optimize(Boolean isResume)
at GSB.UI.Forms.MainForm.<>c__DisplayClass109_0.b__0()
---> (Inner Exception #0) System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.ToArray()
at GSB.Optimizers.Optimizer.UpdatePerformancesTop(PerformanceSummary performance)
at GSB.Optimizers.Optimizer.UpdateState(PerformanceCombined pc, ParallelLoopState state)
at GSB.Optimizers.GeneticAlgorithm.<>c__DisplayClass83_0.b__0(Int32 i, ParallelLoopState state)
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass11.b__10(Object param0)<---


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 17-8-2017 at 02:37 PM


Quote: Originally posted by heyligerb  
I've been away for a while... the last verison i used was 26.4 and all was well. Now that I'm back I see that I'm forced to use 33.1, but find it's not working on my computers...
SelfReplicating>b__10(Object param0)<---


can you zip me your gsb folder and sent to me.
via dropbox or similar link. Sending me an exe will get blocked.
Did you also try putting the new 33.1 gsb files into a new folder.


View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 18-8-2017 at 10:12 AM


I've tried a fresh install which I would presume is what you mean by putting it into a new folder. And that didn't produce any favorable results.

Here is my GSB folder: https://1drv.ms/u/s!AiN6SY6w0euJkPRIGKGruSo3zzvJBg

Thanks,

Brian


View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 18-8-2017 at 12:19 PM


Also, FYI... 26.4 worked for me, but I can't run that one anymore. Says its' too old.

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 18-8-2017 at 04:30 PM


I will check this Monday. Traveling today

View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 19-8-2017 at 08:22 PM


Okay... I tried the Beta versions and they have the same issue...

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 20-8-2017 at 03:50 PM


Your version worked fine for me. It must be something unique in your OS. I will pass the exception report to the developer.
It will take a few days as we want to get the GSB client / server finished.
In the mean time you could try on another computer if you have one, or a fresh o/s install.
Worst case I get a non expired version of 26.4, but thats a very old version. It may be late in the week as Im out of the country till late thursday.


View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 20-8-2017 at 06:47 PM


Okay... thanks. I'm running win 2012 server where it's not working. It stopped working on all three servers I have (all running Win 2012), so it's likely OS related. In the mean time, I'm running a trial version on my laptop...

View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-8-2017 at 06:59 AM
Update?


Hi Peter! Any update on this? I'm really not sure what to do. I purchased 3 servers to use GSB on, but they've all been rendered useless at this point...

Brian


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-8-2017 at 02:56 PM


Quote: Originally posted by heyligerb  
Hi Peter! Any update on this? I'm really not sure what to do. I purchased 3 servers to use GSB on, but they've all been rendered useless at this point...

Brian

I am hoping this will be fixed in 24 hours. Bug fixes were stopped temporarily to not interrupt client server function. If its not fixed in 24 hours it will be 3 days as programmer has 2 days leave. Sorry for the delay as I am normally much faster in critical user bug fixes than this. I can you you 29.4 non expired if you want that.


View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 31-8-2017 at 08:13 AM


Okay... great. Looking forward to the long-term fix. But I'll take 29.4 in the mean time to see if that'll work.

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 31-8-2017 at 04:25 PM


Quote: Originally posted by heyligerb  
Okay... great. Looking forward to the long-term fix. But I'll take 29.4 in the mean time to see if that'll work.

Problem is fixed in new beta build, but I dont have that yet.
Here is the exe.

Attachment: Login to view the details



View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 8-9-2017 at 07:38 AM


Okay... that didn't work. Guess I'll wait for the next release then...

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 8-9-2017 at 04:46 PM


Did 29.4 work for you?
Did the beta build work?
Im not clear from your reply.


View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 12-9-2017 at 10:03 AM


No... nothing appears to be working at this point. A bit lost with what to try next...

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 14-9-2017 at 01:39 AM


Hi Brian,
I'm not sure why you still have issues. Shouldn't 29.4 have fixed you up?
Beta 37.17 is out today. It has had no uses testing it apart from me.
Most of the updates are in regard to client / server but there are some bug fixes too.
If your still stuck, maybe we can do a team viewer session?


View user's profile View All Posts By User
heyligerb
Junior Member
**




Posts: 40
Registered: 22-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 16-9-2017 at 12:15 PM


Beta 37.17!!!! Great stuff!!!

View user's profile View All Posts By User

  Go To Top

Trademaid forum. Software tools for TradeStation, MultiCharts & NinjaTrader
[Queries: 51] [PHP: 24.5% - SQL: 75.5%]