So you are saying this does not occur when the factions involved are at war as there would be no pop-up attack-confirmation box? So the error is attached to diplomacy or to the generationof the "at war/broken alliance" event? Events would be my first port of call I think.