- ago
I got this in an Evolver run:
CODE:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at WealthLab8.cwStrategyEvolver.GetAttr(Object v, ProgressChangedEventArgs map) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
0
468
Solved
23 Replies

Reply

Bookmark

Sort
- ago
#1
I keep on getting this message. Any news?
0
Glitch8
 ( 14.35% )
- ago
#2
No news, I've never gotten it. Can you continue from it?
0
Glitch8
 ( 14.35% )
- ago
#3
Anyway, I was able to locate the source and it's fixed for B34.
0
- ago
#4
Glad to hear that you have a solution to this problem, Glitch. I hope you meant ver 33 and not 34, though.

I've had the same troublesome exceptions occur for a while now. Even when I restrict the number of selected Evolver Preferences down to a minimum (ie No Short, No Limit, etc) the evolver continues to throw the exception, dozens, maybe hundreds of them. I suppose one could sit there and "continue" through them all, which will allow the evolver to continue, but that's not practical if the evolver runs for hours. Invariably, in my absence, the WL8 program runs (right through the exceptions) until it eventually crashes with no evidence it was ever running at all. Whatsmore, as the Evolver processes each generation, it never populates any of the columns at all (ie APR, WinRate, etc). Nothing. And I always evolve for highest APR and never check the "Use Filter Set" box, FYI.

0
- ago
#5
My Strategy Evolver simply will not populate columns with every generation. The program does progress through new generations, but no columns (except for the Generation number) are populated, even temporarily, as is the case with WL7 using the same settings.
0
Glitch8
 ( 14.35% )
- ago
#6
Can you share a screen shot?
0
- ago
#7
I think so. Forthcoming, but, know that this occurs only on my fastest laptop 64GB Ram, while it does NOT occur on my slower labtop (32 GB Ram) using the same settings (that I am aware of) in WL8.

This problem does not occur on either laptop using WL7, FYI
0
Glitch8
 ( 14.35% )
- ago
#8
I don’t think it would be related to laptop speed, but we’ll try and figure this out once we see a screen shot. My first guesses would be filter or selected metrics in preferences.
0
- ago
#9
0
Glitch8
 ( 14.35% )
- ago
#10
Can you paste what’s in the Log tab too, just the text
0
- ago
#11
at WealthLab8.cwStrategyEvolver.ViewStub(Object last, ProgressChangedEventArgs vis)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

That what you needed?
0
Glitch8
 ( 14.35% )
- ago
#12
Is that the contents of the Evolver window's Log tab? Typically, it has a line output for each generation, and since your screen shot seemingly shows many generations processed I'm surprised that that's all the Evolver Log contains.
0
- ago
#13
In the Strategy Evolver page that I show above, I typically receive a pink "exception window" if you will, which offers error coding much like what I have shown in my last message. This window presents the option to "continue" or stop altogether. It presents itself unpredictably, and I cant seem to get it to present just now but... when I receive one, I'll send it over. Aaha ... here is one...
0
- ago
#14
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at WealthLab8.cwStrategyEvolver.ViewStub(Object last, ProgressChangedEventArgs vis)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

This is the same as was sent earlier
0
Glitch8
 ( 14.35% )
- ago
#15
Yes, we've already fixed this issue for B33.

I'm talking about this log:

0
- ago
#16
0
- ago
#17
Generation 2: 5.89sec
Strategy 23 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 35 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 36 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 25 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 30 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 31 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 33 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 24 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 29 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 40 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 38 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 27 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 37 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 32 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 26 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 34 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 21 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 22 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 28 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 39 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 3: 4.65sec
Strategy 49 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 44 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 47 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 50 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 48 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 41 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 42 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 45 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 46 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 4: 2.92sec
Strategy 52 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 60 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 58 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 55 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 54 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 56 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 59 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 51 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 57 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 5: 1.98sec
Strategy 70 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 66 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 64 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 65 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 69 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 71 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 68 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 63 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 67 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 6: 3.60sec
Strategy 79 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 77 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 80 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 78 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 75 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 72 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 74 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 76 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 73 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 7: 2.35sec
Strategy 87 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 81 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 91 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 88 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 93 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 86 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 90 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 92 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 89 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 8: 2.22sec
Strategy 101 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 99 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 102 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 100 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 103 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 98 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 106 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 104 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 105 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 9: 1.34sec
Strategy 115 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 113 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 110 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 114 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 112 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 117 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 116 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 111 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 107 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 10: 1.42sec
Strategy 122 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 123 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 124 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 126 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 125 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 128 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 129 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 118 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Strategy 127 Exception: Cannot convert null to 'double' because it is a non-nullable value type
Generation 11: 1.49sec
0
- ago
#18
Looks like one of the performance metrics causes these problems.
Remove some of these metrics, or restart with just one ...
0
Glitch8
 ( 14.35% )
- ago
#19
What performance metrics have you selected?
0
- ago
#20
0
Glitch8
 ( 14.35% )
- ago
#21
Try removing EntriesPerDay
0
Best Answer
- ago
#22
Wow! Nailed it! Thank you very much. I attempted to create that entry months ago, pretending to be a Coder, causing me to develop strategies by the seat of my pants.

Thank you for solving this problem for me today!
0
Glitch8
 ( 14.35% )
- ago
#23
Can you share the code? Maybe we can fix the issue? Basically a metric should never return null, but Double.NaN is ok.
0

Reply

Bookmark

Sort