mojira.dev
MC-247245

StackOverflowError in keyPressed event handler when pasting large amount of text into command block

When pasting the contents of the attached file, text.txt, into a command block, a "saving world" screen pops up quickly before the game crashes with the message

The game crashed whilst keypressed event handler
Error: java.lang.StackOverflowError: keyPressed event handler
Exit Code: -1

I have tried this twice and it has occurred both times; both crash reports are attached.

Attachments

Comments 3

From the deobfuscated crash report it looks like the issue was with parsing the huge amount of nested lists and objects, not the amount of text pasted.

Thank you for your report!
We're tracking this issue in MC-133529, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Timothy Cahill

(Unassigned)

Unconfirmed

(Unassigned)

1.18.1

Retrieved