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

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

linda_n
Not applicable
78 Views
3 Replies
Message 1 of 4

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

linda_n
Not applicable

[ FlexSim 19.0.0 ]

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!


0 Likes
Accepted solutions (1)
79 Views
3 Replies
Replies (3)
Message 2 of 4

linda_n
Not applicable
0 Likes
Message 3 of 4

SCHamoen
Advisor
Advisor
Accepted solution

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

Message 4 of 4

linda_n
Not applicable

It works, thanks!

0 Likes