question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Patrick Cloutier commented

How to detect what causes throwing?

How can I detect what is causing throwing errors (see below)?

I have a bunch of these in my model but then don't appear everytime. It seems if I run slowly it doesn't do them all but if I run full speed there are more of the errors.

Any ideas what could be causing this ? And how to trace/identify them ?

Thanks,

This is just one error:

time: 2795.713367 exception: Exception caught in Executive::processeventinlist(). Throwing.

time: 2795.713367 exception: Exception caught in Executive::steptotime(). Throwing.

time: 2795.713367 exception: Exception caught in Executive::tick(). Throwing.

time: 2795.713367 exception: int runthemessageloop() #4

exception: Executive::instance.tick();

time: 2795.713367 exception: int runthemessageloop() #6

FlexSim 18.2.2
throwing
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Patrick Cloutier,

Without the model to look at and test, it is impossible to know where these errors are coming from.

Thanks.

0 Likes 0 ·

1 Answer

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Patrick Cloutier commented

Follow the steps in How can I debug a crashing FlexSim model?

replacing the word "crash" with "exception" (and skip step 1 because that is what you are doing).

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Patrick Cloutier avatar image Patrick Cloutier commented ·

Solved it by following those steps. I didn't know about the Event List. Thanks.

By the way, it was caused by a Location object that was not part of the Locations group.

Thanks a lot,

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.