question

Enrique Elizaga avatar image
0 Likes"
Enrique Elizaga asked Phil BoBo answered

How can I find the network node that is causing error?

My model currently runs well but always prompts an error that says:

time: 2.000000 exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... MAIN:/project/exec/commandlist/distancetotravel/node c: MAIN:/project/exec/commandlist/distancetotravel/node i: MAIN:/project/exec/commandlist/distancetotravel/node thisClass: MAIN:/project/exec/commandlist/distancetotravel/node
time: 2.000000 exception: Exception caught in evaluation of MAIN:/project/exec/commandlist/distancetotravel/node
time: 0.000000 exception: Exception Caught in distancetotravel(treenode traveler, treenode destination)
time: 0.000000 exception: Exception Caught in ObjectFunction92__project_exec_commandlist_distancetotravel_node object: MAIN:/project/exec/commandlist/distancetotravel/node i: MAIN:/project/exec/commandlist/distancetotravel/node class: MAIN:/project/exec/commandlist/distancetotravel/node


time: 0.000000 exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... MAIN:/project/exec/commandlist/distancetotravel/node c: MAIN:/project/exec/commandlist/distancetotravel/node i: MAIN:/project/exec/commandlist/distancetotravel/node thisClass: MAIN:/project/exec/commandlist/distancetotravel/node
time: 0.000000 exception: Exception caught in evaluation of MAIN:/project/exec/commandlist/distancetotravel/node
time: 2.000000 exception: Exception Caught in distancetotravel(treenode traveler, treenode destination)
time: 2.000000 exception: Exception Caught in ObjectFunction92__project_exec_commandlist_distancetotravel_node object: MAIN:/project/exec/commandlist/distancetotravel/node i: MAIN:/project/exec/commandlist/distancetotravel/node class: MAIN:/project/exec/commandlist/distancetotravel/node


time: 2.000000 exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... MAIN:/project/exec/commandlist/distancetotravel/node c: MAIN:/project/exec/commandlist/distancetotravel/node i: MAIN:/project/exec/commandlist/distancetotravel/node thisClass: MAIN:/project/exec/commandlist/distancetotravel/node
time: 2.000000 exception: Exception caught in evaluation of MAIN:/project/exec/commandlist/distancetotravel/node

How can I fix the problem, my model has more than 800 nodes?

FlexSim 18.2.3
network nodepath network
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

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered

Find the place where you are calling the distancetotravel() command and see what you are passing it.

It is probably in an On Resource Available trigger, such as the "Travel to a Home Location" pick option.

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.