question

ain12 avatar image
0 Likes"
ain12 asked Jason Lightfoot commented

Array index out of bounds at MODEL:/Queue2>variables/transportdispatcher

I have this error in my project:

exception: FlexScript exception: Array index out of bounds at MODEL:/Queue2>variables/transportdispatcher

Does anyone know how to solve it?

Bukatuta2.fsm


FlexSim 22.2.0
exception error
bukatuta2.fsm (13.5 MiB)
· 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.

Kavika F avatar image Kavika F ♦ commented ·
Hey @ain12, there's no error in the model you posted. Also, you marked that you're using version 22.2, but your model opens in version 22.0.
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @ain12,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

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 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @ain12, was Jason Lightfoot's answer helpful? If so, please click the "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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

The most common cause is that you're referencing a centerport connection which does not exist - check your ports.

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.