question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[1.12.2] Just released `CraftTweaker2-1.12-4.1.20.664.jar` immedeately crashing on startup

See original GitHub issue

Issue description

While prepping a release for my modpack Rotten Economy I updated to the just released 1.12.2 version CraftTweaker2-1.12-4.1.20.664.jar and could no longer start minecraft as it crashes almost immediately with a stack trace pointing towards CraftTweaker.

Stack Trace Snippet

The full trace is in the attached gist link but here is a quick peek:

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from CraftTweaker2 (crafttweaker)
 Caused by: java.lang.ExceptionInInitializerError
     at crafttweaker.CrafttweakerImplementationAPI.init(CrafttweakerImplementationAPI.java:72)
     at crafttweaker.mc1120.CraftTweaker.onConstruction(CraftTweaker.java:110)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
 Caused by: java.lang.RuntimeException: already has a getter
     at stanhebben.zenscript.type.natives.ZenNativeMember.setGetter(ZenNativeMember.java:34)
     at stanhebben.zenscript.type.ZenTypeNative.complete(ZenTypeNative.java:142)
     at stanhebben.zenscript.compiler.TypeRegistry.getClassType(TypeRegistry.java:52)
     at stanhebben.zenscript.compiler.TypeRegistry.getType(TypeRegistry.java:77)
     at stanhebben.zenscript.type.natives.JavaMethod.<init>(JavaMethod.java:37)

Versions

md5sum filename name
71c750eb05c4cdcd78d9ed30ac0f8a51 CraftTweaker2-1.12-4.1.20.664.jar “new”, “just released”, “crashing”
917948d6b8210b226744372f6f61922c CraftTweaker2-1.12-4.1.20.663.jar “old”, “previous”, “works good”

Thanks much for including the new IBlockDefinition getters! Excuted to use them soon! Cheers!

Steps to reproduce

n/a

Script used

n/a

The crafttweaker.log file

n/a

Minecraft version

1.12

Forge version

forge-1.12.2-14.23.5.2855.jar

CraftTweaker version

CraftTweaker2-1.12-4.1.20.664.jar

Other relevant information

n/a

The latest.log file

https://gist.github.com/ubergarm/4f31230c94fe0242dfca62820008b25d

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ubergarmcommented, Oct 27, 2021

thanks for the quick release, tested and working good! 🏁

1reaction
ubergarmcommented, Oct 27, 2021

sweet! thanks for doing the heavy lifting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found