FlexScript Exception

FlexScript Exception

nobesoPC7LJ
Observer Observer
489 Views
2 Replies
Message 1 of 3

FlexScript Exception

nobesoPC7LJ
Observer
Observer

[ FlexSim 24.0.2 ]

Hi, everyone. I made some changes to my model today and began getting this error:

Invalid down cast. Object is not an instance of the target type. at MODEL:/Tools/ProcessFlow/ProcessFlow/Sink~6>stats/instances/ProcessFlow/onEntry

I tried undoing what I had changed but that did not fix anything. What could be causing this? Thank you.


Edit: I just closed out of FlexSim and reopened the model and am not getting that error anymore. I had been resetting the model after making changes so I am curious as to what the underlying cause is.


ConveyorModel.fsm

0 Likes
Accepted solutions (1)
490 Views
2 Replies
Replies (2)
Message 2 of 3

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

Hello @Nicolas Obeso,

Opening default workspace will reset things in the view. I am assuming that something like this occurs when you close out and reopen the model.
It's difficult to say what corrupts a view. If you find repeatable steps, then we can submit it to the development team.

0 Likes
Message 3 of 3

logan_gold
Community Manager
Community Manager

Hi @Nicolas Obeso, was Jeanette F's answer helpful? If so, please click the "Accept" button at the bottom of the answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes