question

Håkon L avatar image
0 Likes"
Håkon L asked Jason Lightfoot commented

Errorhandling!

Hi, I need some help with error-handling. For the second time now my whole processFlow suddenly freezes and then dissapears. I get the following system console -code repeatedly:

"

exception: Exception caught in TreeNode::callMemberFunction() main function. Throwing...

exception: FlexScript exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... at VIEW:/active/MainPanel/BackPanel/SplitterXPane/SplitterYPane/SplitterXPane/TabPane~2/TabControl/ProcessFlow>eventfunctions/OnDraw c: VIEW:/active/MainPanel/BackPanel/SplitterXPane/SplitterYPane/SplitterXPane/TabPane~2/TabControl/ProcessFlow
"

How can I solve this? It will be timeconsuming to build the model from scratch again. I have added the file in question to the post. JobShopRoute V1.0.fsm


In advance - thank you!

FlexSim 22.2.2
system console errorerrorhandling
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·
Do you have a previous version saved to which you can revert?
0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

It appeared to be a problem with the "Release Resource1" node in the process flow.

jobshoproute-v10_jl.fsm


· 4
5 |100000

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

Håkon L avatar image Håkon L commented ·
Could you describe to me how you found out and solved it? For me the entire processflow was hidden/gone and I could only orientate around in the model..


Would be nice to know when something like this happens in the future :)
Thank you in advance!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Håkon L commented ·

This may not help in every situation.

  1. Close the Process Flow view
  2. Explore the Process Flow object in the tree under Tools/ProcessFlow/<YourProcesFlow>
  3. Look for anomalies

1669129894626.png

At the bottom I found this:

1669130761286.png

..which doesn't have the structure that an activity should have - so I deleted it and found that fixed the drawing.

Generally I'd advise against editing in the tree like this but sometimes you can destroy parts of a model in order to discover the offending item - just be careful you don't save over your complete model.

Another question here is how this happened. If you have any information on steps that could repeat this let us know so we can protect against it.

1 Like 1 ·
1669129894626.png (12.1 KiB)
1669130761286.png (5.9 KiB)
Håkon L avatar image Håkon L Jason Lightfoot ♦ commented ·
The problem occured when i was clicking and dropping different objects from the library to the process flow model, like "travel", "Resource" etc.

I don't know exactly how it happend, but suddenly the program froze, and shortly afterwards the entire processflow model was invisible or gone...


1 Like 1 ·
Show more comments

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.