question

sawanya khomsan avatar image
0 Likes"
sawanya khomsan asked Ben Wilson edited

An invalid task has been encountered - invalid pointer

Input model 1_2.fsmI'm having trouble processing How do I fix it?1689838155687.png

FlexSim 22.1.4
task sequence2d modelinvalid taskinvalid pointer
1689838155687.png (14.7 KiB)
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

The 'CB' forklift is getting a task to move an item that no longer exists. Below I describe the sequence of events that lead to this.

1. At 4800s, a batch of items is created in the queue and pushed to the 'Product' list.
2. In the Process Flow, a token is waiting to pull an item of type 4 which it can now do.
3. The 'OP' forklift is starting to move to the source to pick this item up.
4. The created items are moved to the 'Load' queue that looks like a truck. Task sequences to move them to 'Queue1' are generated.
5. The aforementioned type 4 item is transported to Queue7 and vanishes in the sink.
6. Some time later the task sequence that was generated by the 'Load' queue is dispatched and causes the error because the item no longer exists.

To fix: Make sure to only push the items to the list when all initial transports are already complete to prevent conflicts like this.

5 |100000

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