Tinkers' Complement

Tinkers' Complement

27M Downloads

[1.12.2] Crash with Chisel and disabled Tinker's tool module.

codetaylor opened this issue ยท 3 comments

commented

Crash

java.lang.NullPointerException: Initializing game
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770)
	at com.google.common.collect.SingletonImmutableSet.<init>(SingletonImmutableSet.java:47)
	at com.google.common.collect.ImmutableSet.of(ImmutableSet.java:82)
	at com.google.common.collect.ImmutableSet.construct(ImmutableSet.java:164)
	at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:267)
	at slimeknights.tconstruct.library.tinkering.PartMaterialType.getPossibleParts(PartMaterialType.java:89)
	at slimeknights.tconstruct.library.TinkerRegistry.registerTool(TinkerRegistry.java:349)
	at slimeknights.tconstruct.library.tools.ToolCore.<init>(ToolCore.java:79)
	at slimeknights.tconstruct.library.tools.TinkerToolCore.<init>(TinkerToolCore.java:22)
	at slimeknights.tconstruct.library.tools.AoeToolCore.<init>(AoeToolCore.java:16)
	at knightminer.tcomplement.plugin.chisel.items.ItemChisel.<init>(ItemChisel.java:38)
	at knightminer.tcomplement.plugin.chisel.ChiselPlugin.registerItems(ChiselPlugin.java:45)
	...

Full crash log: https://gist.github.com/codetaylor/410ad086a34674d62b238a534704915e

Versions

| State | ID              | Version         | Source                             | Signature                                |
|:----- |:--------------- |:--------------- |:---------------------------------- |:---------------------------------------- |
| UCH   | minecraft       | 1.12.2          | minecraft.jar                      | None                                     |
| UCH   | mcp             | 9.42            | minecraft.jar                      | None                                     |
| UCH   | FML             | 8.0.99.99       | forge-1.12.2-14.23.1.2562.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCH   | forge           | 14.23.1.2562    | forge-1.12.2-14.23.1.2562.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCH   | ctm             | MC1.12-0.2.3.9  | CTM-MC1.12-0.2.3.9.jar             | None                                     |
| UCH   | chisel          | MC1.12-0.1.0.23 | Chisel-MC1.12-0.1.0.23.jar         | None                                     |
| UCH   | exnihilocreatio | 1.12-0.1.5      | exnihilocreatio-1.12-0.1.5.jar     | None                                     |
| UCH   | mantle          | 1.12-1.3.1.21   | Mantle-1.12-1.3.1.21.jar           | None                                     |
| UCH   | tconstruct      | 1.12-2.8.0.45   | TConstruct-1.12-2.8.0.45.jar       | None                                     |
| UCH   | tcomplement     | ${version}      | TinkersComplement-1.12.1-0.2.2.jar | None                                     |

Reproduction

Start from a zero-mod Curse instance and do the following:

  1. Install the mods and versions listed above. ExNihilo must be installed because of #7.
  2. In the file TinkersModules.cfg set the following entry to false:
    # All the tools and everything related to it.
    B:TinkerTools=false
  1. Launch the game.

Notes

The crash can be remedied by removing Chisel or enabling the Tinker's tool module.

commented

So let me get this straight, you disabled the Tinker Tools module, and now its crashing when you try and load my tool? I guess I can add a check for the module being loaded, but for now your best bet is disabling my Chisel module. You will probably have to disable the Ex Nihilo one as well as it needs the stuff from Tinker Tools as well.

commented

Fixed in 0.2.2b

commented

Thanks, I didn't realize that I could disable those modules and that those modules had dependencies on the other modules. It makes sense though.