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

Crash: java.lang.IllegalAccessError: tried to access field com.sun.jna.Pointer.peer from class com.sun.jna.PointerTool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • Minecraft 1.12 Pre-Release 5, Minecraft 1.12, Minecraft 1.12.2, Minecraft 18w11a, Minecraft 1.13.1
    • MacBook Pro 8.1, 16GB RAM, Intel HD Graphics 3000, 2.4GHz i5
      macOS 10.12.4
      Java: 1.8.0_74 (the one that is bundled)
    • Confirmed
    • (Unassigned)

      Minecraft 1.12 pre5 crashes at start on my MacBook Pro.

      Description: Initializing game
      
      java.lang.IllegalAccessError: tried to access field com.sun.jna.Pointer.peer from class com.sun.jna.PointerTool
      	at com.sun.jna.PointerTool.getPeer(PointerTool.java:13)
      	at ca.weblite.objc.mappers.NSObjectMapping.cToJ(NSObjectMapping.java:38)
      	at ca.weblite.objc.TypeMapper.cToJ(TypeMapper.java:122)
      	at ca.weblite.objc.RuntimeUtils.msg(RuntimeUtils.java:626)
      	at ca.weblite.objc.Client.send(Client.java:164)
      	at ca.weblite.objc.Client.sendProxy(Client.java:344)
      	at ca.weblite.objc.Client.sendProxy(Client.java:369)
      	at com.mojang.text2speech.NarratorOSX.<init>(NarratorOSX.java:12)
      	at com.mojang.text2speech.Narrator.getNarrator(Narrator.java:22)
      	at cgo.<init>(SourceFile:16)
      	at cgo.<clinit>(SourceFile:14)
      	at cgk.<init>(SourceFile:132)
      	at cfs.am(SourceFile:533)
      	at cfs.a(SourceFile:380)
      
      Description: Initializing game
      
      java.lang.IllegalAccessError: tried to access field com.sun.jna.Pointer.peer from class com.sun.jna.PointerTool
      	at com.sun.jna.PointerTool.getPeer(PointerTool.java:13)
      	at ca.weblite.objc.mappers.NSObjectMapping.cToJ(NSObjectMapping.java:38)
      	at ca.weblite.objc.TypeMapper.cToJ(TypeMapper.java:122)
      	at ca.weblite.objc.RuntimeUtils.msg(RuntimeUtils.java:626)
      	at ca.weblite.objc.Client.send(Client.java:164)
      	at ca.weblite.objc.Client.sendProxy(Client.java:344)
      	at ca.weblite.objc.Client.sendProxy(Client.java:369)
      	at com.mojang.text2speech.NarratorOSX.<init>(NarratorOSX.java:12)
      	at com.mojang.text2speech.Narrator.getNarrator(Narrator.java:22)
      	at bis.<init>(SourceFile:15)
      	at bis.<clinit>(SourceFile:14)
      	at bin.<init>(SourceFile:127)
      	at bhy.ap(SourceFile:541)
      	at bhy.a(SourceFile:391)
      	at net.minecraft.client.main.Main.main(SourceFile:123)
      

      The launcher gives this output when "Open output log when game starts" is enabled:

      ########## GL ERROR ##########
      @ Post startup
      1281: Invalid value
      

            Unassigned Unassigned
            500pd Peter Dyhr
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: