question

Alessio Merlo avatar image
0 Likes"
Alessio Merlo asked Eric M commented

Exception on pull from list

Hi,

in a model, which I can't share, an exception in system console occurs.

time: 2729.845116 Exception caught in evaluation of /Tools/GlobalLists/FRS_OUT_WaitForElevator/1/onPull

Does anyone help me to understand the error? @ or @

I never caught the exception in the past and I believe that it is related to wrong pointer or memory issue because it isn't reproducible systematically.

I can share a picture which shows an ugly data inside a global list. I never saw this data structure inside a list and I didn't create it, trust me.

Any suggestion or idea is really appreciated.

Thanks in advance!

FlexSim 21.1.1
pull from listflexsim 21.1.1
1619081107452.png (33.2 KiB)
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Alessio Merlo,

Were you able to solve your problem? If so, please add and accept an answer to let others know the solution.

If you still need help, posting your model would be helpful.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Alessio Merlo avatar image Alessio Merlo Jeanette F ♦♦ commented ·

Hi @Jeanette,

I didn't solve the problem because it randomly happens.

If you aren't able to provide any information to solve the issue you can close this case.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Alessio Merlo commented ·

Hi @Alessio Merlo,

Since it seems to happen randomly it would be helpful to see your model.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

Would you be able to share your model?

0 Likes 0 ·
Eric M avatar image Eric M commented ·

Hi @Alessio Merlo, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered

If your model is repeatable then delete that structure of contained nodes (also check that the object attribute structure looks as it should compared to a new list) - and then run the model with the tree view open to determine the event at which this node gets added. It looks like it's a copy of the defaultdatasource variable so it woud be interesting to know if that has been copied or moved there. If you have code that is evaluating the location of a node using 'up' it's worth noting that a simple mistake of using = instead of == will change the objects location. Perhaps something like that is happening.


5 |100000

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