Game Takes a long time to stop playing

So the only warning in my output log is the flowing
LogArray:Warning: Attempted to get an item from array LastSensedStimuli out of bounds [0/0]!

It posted around 100 times a second, do you know how i would get rid of this?