heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
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)<---
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
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
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
Also, FYI... 26.4 worked for me, but I can't run that one anymore. Says its' too old.
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
I will check this Monday. Traveling today
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
Okay... I tried the Beta versions and they have the same issue...
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
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...
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
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
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
Okay... that didn't work. Guess I'll wait for the next release then...
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
Did 29.4 work for you?
Did the beta build work?
Im not clear from your reply.
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
No... nothing appears to be working at this point. A bit lost with what to try next...
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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?
|
|
|
heyligerb
Junior Member

Posts: 40
Registered: 22-5-2017
Member Is Offline
Mood: No Mood
|
|
Beta 37.17!!!! Great stuff!!!
|
|
|