question

Martin B6 avatar image
0 Likes"
Martin B6 asked Martin B6 answered

Exception Caught in ObjectFunction?

Hello!

What does this error mean? When I run my simulation I get this error from time to time (not always at the same time). See the attached screenshot. I have already found some posts in the forum, but could not solve my problem. Can anyone help me with it?

Thanks a lot!


Entwurf_9_4.fsm


FlexSim 20.2.3
flexsim 20.2.3exception errorsystem console
· 7
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 ·

I don't see that error - I consistently get this at time 227 though:

time: 227.000000 exception: FlexScript exception: Invalid row number: 2028 in Global Table "Inventory" at MODEL:/Tools/ProcessFlow/ProcessFlow/Assign SKU, Qty, OrderID, Delay>labels/4/2

Are you running 20.2.3 as the tag to this question suggests?

0 Likes 0 ·
Martin B6 avatar image Martin B6 Jason Lightfoot ♦♦ commented ·

Yes I use the version 20.2.3. The thing is that this exception does not always occur only, I guess when the run speed is very high. The exception at time 227 appears because the gloable table has no more values. Sometimes it also shows another exception which I do not know where it comes from. (see screenshot).

FlexSim 2020 for Education (COMMERCIAL USE PROHIBITED) - Entwurf_9_3.fsm 09.12.2020 10_23_08.png

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Martin B6 commented ·

@Martin B6 The problem I have is that the error in your picture never occurred for me. Are you still having this problem or are you past it (since I saw you posted a later model version in a seperate question).

0 Likes 0 ·
Show more comments
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Martin B6,

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 ·

1 Answer

Martin B6 avatar image
0 Likes"
Martin B6 answered

Sorry for my late reply. I tried to update the position of the items with updatelocation(). At the moment I have not received any exception. So I hope that I have solved this problem. Regarding your question: I have always set the run speed differently, sometimes slow, sometimes fast. With both, an error message was displayed from time to time. I also need to find out whether my model is repeatable. To do this, I first have to find out how to check this. If an exception message appears again, I would like to contact you again. Thank you very much!

5 |100000

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