Panels TargetInvocationException


#1

I am throwing an exception when trying to open a panel, I don’t see any difference in this project than the others I have, I am really at a loss. Any thoughts?


(Menno Deij - van Rijswijk) #2

Look in the inner exception (or click “view detail”): it shows that “when casting from a number, the value must be a number less then infinity”. This is the error that happens when your panel gets loaded.

The InnerException should have a stacktrace pinpointing the line number where the exception was originated.


#3

Found it, Thanks!