question

Linda N avatar image
0 Likes"
Linda N asked Linda N commented

"Exception caught" errors, unable to review labels on tokens

Hi all,

I was trying to extend my model with some visuals. I want to let the pickers pick boxes randomly located in a rack. The process seems to work, except that after one iteration and a picker-token tries to enter the subflow for a second time, the model crashes and gives the errors:

time: 127.286146 exception: Exception caught in start() of activity "Run Sub Flow: Fill Racks with Boxes to be Picked" in "General ProcessFlow". Continuing throw...
time: 127.286146 exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... MODEL:/Tools/ProcessFlow/General ProcessFlow/Load: Start Picking (getTote) >variables/callbackNode c: /Tools/ProcessFlow/General ProcessFlow/Load: Start Picking (getTote) >variables/callbackNode i: /Tools/ProcessFlow/General ProcessFlow/Load: Start Picking (getTote) >variables/callbackNode thisClass: /Tools/ProcessFlow/General ProcessFlow/Load: Start Picking (getTote) >variables/callbackNode
time: 127.286146 exception: Exception caught in evaluation of /Tools/ProcessFlow/General ProcessFlow/Load: Start Picking (getTote) >variables/callbackNode

I don't quite understand what they say and when I click tokens to examine their labels the model gives even more errors, amongst others:

ex: OnMouseMove
exception: size_t treewin__OnMouseMoveXX(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, TreeWin * t, int mx, int my)
ex: t->mousemove(hWnd,mx,my);exception: treewin__OnMouseMove

Could someone tell me what is going on? And hopefully what I can do to fix it?
Maybe @Logan Gold or @jordan.johnson since you are already a bit familiar with my model?

Thank you in advance!


FlexSim 19.0.0
error messagesubflowexception caughtonmousemove
· 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.

1 Answer

Steven Hamoen avatar image
1 Like"
Steven Hamoen answered Linda N commented

@Linda N Hi Linda, in the pull from list: "Pull from List: WIP, Pickjob finished" you assigned the pull value to token only and not to a label (so token.alabel) and that started all the problems. If you change that it runs without the error.

· 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.

Linda N avatar image Linda N commented ·

It works, thanks!

0 Likes 0 ·