question

Sebastian Hemmann avatar image
3 Likes"
Sebastian Hemmann asked Javier O answered

exception with messages

Does anybody know what I´m doing wrong to get this exception:

time: 7293.078000 exception: Exception Caught in ObjectFunction238__project_library_FlexSimEventHandler_behaviour_eventfunctions_OnPreDraw object: /ConveyorSystem class: /ConveyorSystem time: 7293.078000 exception: Exception caught in TreeNode::receivemessage()time: 7293.078000 exception: EditorSpatial::prepareDraw()

The model is a bigger one and I don´t have a clue where to search.

FlexSim 16.1.0
conveyordecision pointsexceptionmessages
· 3
5 |100000

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

Brandon Peterson avatar image
4 Likes"
Brandon Peterson answered Brandon Peterson commented

Sebastian,

I'm 100% sure if I had the same problem or not but your message does seem similar to one that I was receiving in a previous model. It was being caused by some process model logic that was destroying the object while it was still on the conveyor. The same result would have happened if I had used code instead of the process model or if I had moved the object instead of destroying it. Basically the prepareDraw() function on the conveyor was throwing the exception when it could no longer find a flowitem that was supposed to still be on the conveyor. My fix for the problem was to simply allow the conveyor to move the object out of itself and into a queue before I destroyed it.

This maybe something that you can check for before you have to send us your model.

Good Luck,

Brandon

· 2
5 |100000

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

Javier O avatar image
0 Likes"
Javier O answered

hola buenos dias le hablo por la siguiente razon. instale el programa flexim 7.7.4 ahora no puedo trabajar porq me aparece exception que no me aparece en pantalla los porcesos que introdusco .. por favor si me podria ayudar se lo agradesco.... gracias

5 |100000

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