Resolving Exception errors in Process flow integrated model

Resolving Exception errors in Process flow integrated model

dharshini_gurunathan
Explorer Explorer
195 Views
9 Replies
Message 1 of 10

Resolving Exception errors in Process flow integrated model

dharshini_gurunathan
Explorer
Explorer

[ FlexSim 23.2.2 ]

time: 162.858194 exception: Exception caught in TreeNode::receivemessage()

time: 162.858194 exception: Exception caught in Executive::processeventinlist().

time: 168.832378 exception: Exception Caught in Processor::onTimerEvent(treenode involved, int code, char *datastr) object: /Painting

time: 168.832378 exception: Exception Caught in ObjectFunction250__project_library_FlexSimObject_behaviour_eventfunctions_OnTimerEvent object: /Painting class: /Painting


0 Likes
Accepted solutions (1)
196 Views
9 Replies
Replies (9)
Message 2 of 10

jason_lightfoot_adsk
Autodesk
Autodesk
It could be that the model has become corrupted.

If it's an object process flow you can try removing and re-adding the member/instance objects.

You can also try reopening the model workspace.

You can check that the process flow is still located in the right place in the tree (usually thats in Tools/ProcessFlow)

For us to try and help further we may need to look at the model. You can toggle this post as private if needed via the gear icon menu at the top right of the post.

0 Likes
Message 3 of 10

dharshini_gurunathan
Explorer
Explorer

Thanks for getting in touch, Please refer to the ProcessFlow4 in the file

Process flow_autosave.fsm

0 Likes
Message 4 of 10

jason_lightfoot_adsk
Autodesk
Autodesk

Ah you just have exceptions - the first being at time: 23.8317 - this is just a question of running to that time and investigating the event - I'll post more shortly.

0 Likes
Message 5 of 10

jason_lightfoot_adsk
Autodesk
Autodesk

Are you intending to have all process flow running together or just Process Flow and Process Flow4 ?

In "Process Flow" you're setting the visual based on a 'type' label that doesn't exist and also cannot be called 'type' since it's a reserved word - use 'Type' instead in this case.

0 Likes
Message 6 of 10

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

You have processes in ProcessFlow2 that can remove items from a processor before it has finished processing. This results in an exception trying to finish an item that has already moved out of the processor.

0 Likes
Message 7 of 10

dharshini_gurunathan
Explorer
Explorer

I am just trying to run ProcessFlow 4


0 Likes
Message 8 of 10

dharshini_gurunathan
Explorer
Explorer
So how do I run just the ProcessFlow4, is closing the other ProcessFlows sufficient?
0 Likes
Message 9 of 10

jason_lightfoot_adsk
Autodesk
Autodesk
Okay, then disable the source in the other process flows (or delete/disconnect them). As I say in the answer, the other process flows are running and doing unsupported things.
0 Likes
Message 10 of 10

dharshini_gurunathan
Explorer
Explorer

That worked! Thanks

0 Likes