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

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12 Pre-Release 5, Minecraft 1.12
    • Labels:
    • Environment:

      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)

    • Confirmation Status:
      Unconfirmed

      Description

      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 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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ProfMobius [Mojang] ProfMobius (Thomas Guimbretiere)
                Reporter:
                500pd Peter Dyhr
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: