mojira.dev
MC-117789

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

Minecraft 1.12 pre5 crashes at start on my MacBook Pro.

[^crash-2018-08-26_10.11.52-client.txt] (1.13.1)

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)

[^crash-2017-05-21_12.44.21-client.txt] (1.12-pre5)

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

Linked issues

Attachments

Comments 4

The crash making the game unplayable has been resolved, but not the underlying cause of it. This will be solved in a future patch.

Should this be reopened then?

Is this still an issue in the most recent versions (currently that is 1.16.3, or the latest pre-release 1.16.4-pre1) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

Peter Dyhr

(Unassigned)

Confirmed

(Unassigned)

crash

Minecraft 1.12 Pre-Release 5, Minecraft 1.12, Minecraft 1.12.2, Minecraft 18w11a, Minecraft 1.13.1

Minecraft 1.12 Pre-Release 6

Retrieved