Doggy Talents

Doggy Talents

27M Downloads

[1.12.2] ItemPhysic crash

Tokeli opened this issue ยท 3 comments

commented

Environment And Mod Information:

  • Minecraft Version: 1.12.2
  • Forge Version: 14.23.4.2760
  • Doggy Talents Version: 1.14.2.231
  • Java Version: Java 8 x64 1.8.0-51
  • Operating System (OS): Win10 64

CreativeCore: 1.9.32
ItemPhysic Lite: 1.3.7

Logs

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Doggy Talents (doggytalents)
Caused by: java.lang.NoClassDefFoundError: com/creativemd/creativecore/common/utils/sorting/SortingList
    at com.creativemd.itemphysic.physics.ServerPhysic.<clinit>(ServerPhysic.java:35)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at doggytalents.helper.ReflectionUtil.getClass(ReflectionUtil.java:179)
    at doggytalents.addon.itemphysic.ItemPhysicAPI.<init>(ItemPhysicAPI.java:21)
    at doggytalents.addon.itemphysic.ItemPhysicAddon.onPost(ItemPhysicAddon.java:21)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2122_ItemPhysicAddon_onPost_Post.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at doggytalents.addon.AddonManager.runRegisteredAddons(AddonManager.java:34)
    at doggytalents.DoggyTalents.postInit(DoggyTalents.java:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:624)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:749)
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
    at net.minecraft.client.Minecraft.init(Minecraft.java:534)
    at net.minecraft.client.Minecraft.run(Minecraft.java:3929)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ClassNotFoundException: com.creativemd.creativecore.common.utils.sorting.SortingList
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 51 more
Caused by: java.lang.NullPointerException

Issue Description:

Crash upon load when included with the ItemPhysic mod.

Additional Information:

Full crash report: https://paste.dimdev.org/ayeqahedev.mccrash

commented

Have you tried this on the full version of ItemPhysic? I use DT along with ItemPhysic (Full) and don't get this issue

commented

Also, I would highly suggest using an older version of CreativeCore, since the Lite version of ItemPhysics hasn't been updated since Oct 2017. And the newer versions of CreativeCore (which we build on the mod on) had changes that would very easily break compatibility

commented

The issue is that in a newer version of CreativeCore one of the files namely com.creativemd.creativecore.common.utils.sorting.SortingList was moved package to com.creativemd.creativecore.common.utils.type.SortingList. DoggyTalents was updated to accommodate this change (376dafc).

Since ItemPhysicsLite has not been updated since this file was moved, the references the code have not been updated, this code is not run though as it the lite version but the code from the full version is still present just not active. The problem arises when DoggyTalents tries to access the full version code and then crashes cause it can't find the right file. So technically this is a bug with ItemPhysicsLite, nothing I can do on my end as there is not an easy way of distinguishing between the Lite and Full version however this can be fixed by downgrading CreativeCore.