IOException Unable to save new object's base entity information!

hello,

im having this error whenever i create an entity object...what could be wrong with this? when I traced down the code I found out that the canedit() function of the entity turns false thats why i cant create. what does this canedit() function do? and when does it turns to true? can anyone help me please? :(