question

ejust avatar image
0 Likes"
ejust asked ejust commented

Stotage.Slot.Item error


Hi,
I can't handle this FlexScript exception in the attached model:
1702241504600.pngThanks in advance.

Current Layout_3.fsm

FlexSim 22.2.0
process flowstorage systemslotflexscript exception
1702241504600.png (11.0 KiB)
· 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered ejust commented

You have trailing whitespace in your entry for product type 10 in the "SKU" table. So any token that is querying for "Product type 10 " is not finding any slot items and the resulting label contains a NULL value which leads to errors in the subsequent activities.

In general you should make sure that a slot item was actually found before letting the token continue to activities that access this value.

· 6
5 |100000

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