when you reach for the last cookie (can be anything i.e. potato chip etc.) and come to find out you already ate (or used or taken) the last one.
damn, I just got hit with the last cookie syndrome. Someone are the last piece of pie.