question

Claire Krupp avatar image
0 Likes"
Claire Krupp asked Claire Krupp commented

Error in Table.query after upgrade to 22.1.1

I have a model that has been working fine for weeks using version 22.0.1.

When I upgraded to version 22.1.1 I get the following error:

1652388398523.png

The logic bombs out of the routine and does not execute any of the rest of the code.

This happens in the following section of code:

1652388475444.png

which you will find in "Check Inventory all components"

1652388539267.png


This Line Loading Algorithm sub-flow is called by four different areas and happens multiple times at startup before time 0.5.

I have not changed this section of code, or the names or contents of any of the tables.

I am attaching the original version Table_query_works_original_model_fs22.0.1.fsm

and the upgraded model Table_query_error_upgraded_model.fsm (fs 22.1.1)


There may be other errors, since I am in the middle of some changes, but they are unrelated to this code.

FlexSim 22.1.1
license upgradetable.query
5 |100000

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

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Claire Krupp commented

This is a bug with the FlexScript debugger. If you take the breakpoints out of the code, then it will execute correctly.

We're working on a fix for this. Once we have this fixed, we will make another 22.1 bugfix release.

· 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.

Claire Krupp avatar image Claire Krupp commented ·
Thanks @Phil BoBo
0 Likes 0 ·
Claire Krupp avatar image Claire Krupp commented ·
Version 22.1.2 works perfectly, thank you!
0 Likes 0 ·