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

Minecraft crashes when trying to render supplementary character (UTF-16) in right to left language

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.11.2, Minecraft 1.12.2
    • OS: Windows 10 (ver 10.0, arch amd64)
      Java: 1.8.0_25 (by Oracle Corporation)
      Launcher: Minecraft Launcher 1.6.70 (bootstrap 100)
      Minecraft: 1.11.2 (updated Wed Dec 21 11:42:21 IST 2016)
    • Confirmed

      The bug

      All my players use Minecraft in Hebrew interface.
      If we copy emoji (for example form this site: http://getemoji.com/) and paste it in the Minecraft chat the game will crash for several players in the server.
      If you named something (a minecraft:book for example) with the emoji you copied, anyone that look at that something it will crash his game.

      Description: Rendering screen
      
      java.lang.ExceptionInInitializerError
      	at com.ibm.icu.text.UTF16.charAt(UTF16.java:401)
      	at com.ibm.icu.text.Bidi.getDirProps(Bidi.java:1675)
      	at com.ibm.icu.text.Bidi.setPara(Bidi.java:3294)
      	at com.ibm.icu.text.Bidi.<init>(Bidi.java:4631)
      	at com.ibm.icu.text.Bidi.<init>(Bidi.java:4518)
      	at bfg.c(SourceFile:280)
      	at bfg.b(SourceFile:439)
      	at bfg.a(SourceFile:269)
      	at bfg.a(SourceFile:255)
      	at bfq.g(SourceFile:402)
      	at bgr.a(SourceFile:166)
      	at bqe.a(SourceFile:1078)
      	at bes.av(SourceFile:993)
      	at bes.a(SourceFile:398)
      	at net.minecraft.client.main.Main.main(SourceFile:124)
      Caused by: java.util.MissingResourceException: could not locate data data/icudt51b/uprops.icu
      	at com.ibm.icu.impl.ICUData.getStream(ICUData.java:56)
      	at com.ibm.icu.impl.ICUData.getRequiredStream(ICUData.java:97)
      	at com.ibm.icu.impl.UCharacterProperty.<init>(UCharacterProperty.java:1187)
      	at com.ibm.icu.impl.UCharacterProperty.<clinit>(UCharacterProperty.java:1411)
      	... 15 more
      

      How to reproduce

      1. Set the language to one which is read and written right to left, for example Hebrew
      2. Paste any supplementary character (UTF-16) like 𐀀 (U+10000) in any text field for example the chat

            Unassigned Unassigned
            RadixSight Eyal Solomon
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: