question

robert.nevin avatar image
0 Likes"
robert.nevin asked Ben Wilson commented

Periodically, error in flexsim when drag object into model

time: 0.000000 exception: Exception caught in start() of activity "Run LC process" in "Schedule". Continuing throw… time: 0.000000 exception: Exception caught in Executive::processeventinlist(). Throwing. time: 0.000000 exception: Exception caught in Executive::steptotime(). Throwing. time: 0.000000 exception: Exception caught in Executive::tick(). Throwing. time: 0.000000 exception: Exception caught in Executive::tick(). Throwing. time: 0.000000 exception: int runthemessageloop() #4 exception: core->theexecutive.tick(); time: 0.000000 exception: int runthemessageloop() #6

re-opening the application, the error disappears!

FlexSim 16.2.1
graphicsobject creationgeneric error
· 3
5 |100000

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

Arun Kr avatar image Arun Kr commented ·

Can you share the model?

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ commented ·

IF leaving the program and reopening it causes the issue to disappear it could just be an error somewhere when loading the back end logic of the software. What happens if you reopen the file (after the error is gone) save the file and reopen it again? Does that remove the error permanently?

If not, as @Arun said, we'd need to see the file in order to debug it.

0 Likes 0 ·
robert.nevin avatar image robert.nevin commented ·

rob.fsm finally i have an example of the error (flexsim 2017.0.1). To get the error, run the model briefly...stop and reset. This model doe not serve a practical purpose but is the only one where i can generate the error systematically!

0 Likes 0 ·
rob.fsm (16.4 KiB)
Phil BoBo avatar image
0 Likes"
Phil BoBo answered

Your activities are structured such that they cause an infinite code loop.

It throws an exception to keep the program from crashing on your infinite loop.

If you put a Delay activity anywhere in that code with a value > 0, then it won't be an infinite loop anymore.

5 |100000

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

Ben Wilson avatar image
2 Likes"
Ben Wilson answered Ben Wilson converted comment to answer

Errors when dragging objects into the 3D view are a common symptom of graphics issues.

Please see this article regarding graphics issues and how to solve them.

The short answer is to update your graphics drivers, but please check the article for more details and other ideas.

5 |100000

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

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.