question

Rupesh B avatar image
0 Likes"
Rupesh B asked Kavika F answered

Exception caught in TreeNode

Hello,

When I run this model, I am getting exception error. How do I solve this error?

Thanks for the help

1659039909321.png

FS_5 WeldLines.fsm

FlexSim 21.1.5
fixed resourcetree nodeexception message
1659039909321.png (22.1 KiB)
fs-5-weldlines.fsm (286.7 KiB)
5 |100000

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

1 Answer

Kavika F avatar image
0 Likes"
Kavika F answered

Hey @Rupesh B, after running your model, I found this to be your problem. The error messages were pointing to your Tab Welder_C, so I watched it until right before it threw the error. What happens is that the operator would take a flowitem from the processor before it was finished (the blue one in this gif). If you look at the state of the processor, it is still "processing".

processor-processing-without-a-flowitem.gif

I checked your Process Flow and there's a Wait for Event activity that triggers when a member of the Group("C_LineTab&FlapperGroup") is finished processing and ready to send their flowitem to port. Coincidently, another processor in the group (Tab Welder_D) finished an item as the blue flowitem was starting, but since it is part of the group, it triggered both processors to take off their flowitems.

group-trigger-activites.gif

You may want to change your Wait for Event activity to have the Release Item from the event match the item on the token.

1659047270669.png


5 |100000

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