Mojira Archive
MC-121418

Crash when trying to paste non-string clipboard content

The bug

Minecraft crashes when you try to paste non-string clipboard content, like for example a copied folder.

22:11:06	bjr	########## GL ERROR ##########
22:11:06	bjr	@ Render
22:11:06	bjr	65545: Win32: Failed to convert clipboard to string: Der Vorgang wurde erfolgreich beendet. 
22:11:06	bjh	Reported exception thrown!
f: keyPressed event handler
	at bna.a(SourceFile:444)
	at bje.a(SourceFile:274)
	at bje$$Lambda$42/600270822.invoke(Unknown Source)
	at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:23)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:2599)
	at bjr.a(SourceFile:276)
	at bjh.b(SourceFile:882)
	at bjh.a(SourceFile:371)
	at net.minecraft.client.main.Main.main(SourceFile:134)
Caused by: java.lang.NullPointerException
	at g.a(SourceFile:77)
	at bkn.b(SourceFile:103)
	at bkn.a(SourceFile:267)
	at blj.a(SourceFile:30)
	at blg.a(SourceFile:69)
	at bna.a(SourceFile:80)
	at bmp.a(SourceFile:155)
	at bje.a(SourceFile:274)
	at bje$$Lambda$89/350761035.run(Unknown Source)
	at bna.a(SourceFile:439)
	... 9 more

How to reproduce

  1. Copy for a example a folder
  2. Go into Minecraft and press Ctrl + V in a text field to paste it

Fixed

Marcono1234

[Mojang] Georgii Gavrichev

2017-10-28, 12:42 AM

2017-10-30, 05:02 PM

2017-10-30, 05:02 PM

2

2

Confirmed

clipboard, copy, paste, string

Minecraft 17w43a, Minecraft 17w43b

Minecraft 17w45a