That's a very strange exception. This is the first time I see it.
I checked the code and there's no apparent reason for it to happen.
I need to know what you were trying to do in order to try replicating the error and fixing it. Could you please tell me the steps you took before getting this exception?