Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-121418

Crash when trying to paste non-string clipboard content

XMLWordPrintable

    • Confirmed

      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

            fry [Mojang] Georgii Gavrichev
            marcono1234 [Mod] Marcono1234
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: