Amassing that may units right there with no immediate threat is weird when you had lots of space to the south and west of your empire. It shows you either was planning to attack or you just parked your units there and forgot about it. In fact, the more I look at it, the more it looks like preparations for war. You even had a GG in your battle line. LOL. That's really not the game's fault. The game saw you had a lot of units near it while it didn't have any units near you and asked wth you're up to and they had the right to do so.
Sweden was no threat (crippled from the cities I took from them). Had plenty of protection south near Siam. Any other threat would need to walk through two city-states to get to me, not to mention would end up sandwiched between the units I had in the north and south.
Yes, I had generals with me. What do you suggest I do with them? Keep them apart from my military units?
The problem here is you have the idea in your head that I was planning to DoW the Maya within a few turns anyway, the AI caught me planning my attack, and now I am ranting that the system must be changed. All wrong. Like I said, I specifically wasn't going to DoW Pacal because he didn't have any unique luxuries and I needed to focus on infrastructure. The AI, playing by its own rules, decides it is going to force me to choose between 50 turns of peace, or a pointless game of DoWing, signing peace, and then DoWing later on if I so choose to.
Again, don't know if it is my own luck, but I have tons of screenies just like the above one. I take a screenshot every time this window pops up and I can't figure out what the hell I did wrong other than make good strategic decisions and be punished for it in a strategy game.
Edit: And yes, I did read your replies, and I'm not getting worked up (most of my posts tend to be wordy, can check posting history

). Just seems to be like Me: WTH, I'm not going to even attack and I got this message! You: Naw man, you totally lying, you were going to attack anyway
At this point any further comments will end up being circular, so I'm out. Again, not worked up, just lengthy replies. As I said way back in my first reply, I'm biased on this issue (hate it, completely terrible system), so of course my stance is going to seem a bit aggressive. Nothing personal against you at all. Cheers.