Dynamic Trees

Dynamic Trees

25M Downloads

UnsupportedOperationException crash from QuadManipulator

GhostTortilla opened this issue Β· 14 comments

commented

Describe the bug
As I am not even remotely close to a developer or programmer I can only follow leads of other people who have encountered a similar problem. The crash-log from this thread seems to be similar to the one I have. And according to the guy responding to the thread the issue is that the mod tries to divide by zero while calculating a color. Afraid I don't have alot more information to give since it crashes while loading the game.
Link to Forum

Crashes

  • Are you running the latest version of Dynamic Trees?(Currently 0.9.6)
    Yes, the version used in this pack is DynamicTrees-1.12.2-0.9.6.jar
  • If you are using the DT Thaumcraft Add-on do you have the latest version?(Currently 1.4.1e)
    The version used in this pack is DynamicTreesTC-1.12.2-1.4.1e.jar
    Am also using DT Travers Add-on dttraverse-1.5.jar

ModpackCrash.txt
Pastebin Version

Is my first issue written on GitHub, so sorry if anything is not stated properly, will provide extra information if any is needed.

commented

This is the same crash discussed extensively in #290. It has been since fixed (#345) and is no longer present in the newest version. Update Dynamic Trees.

commented

Aint' the same error... one is:
java.lang.UnsupportedOperationException

While the divided by zero is this one:
java.lang.ArithmeticException: / by zero

I don't know about this problem, but I have it out of nowhere since I didnt updated any mods, just CTM and Pickupnotifier (Last one had an error and it's now fixed)

It was working fine Tuesday 26, but next day I launched the game and started throwing that error.

Im using last version of Dynamic trees.

commented

Also there is no update for "DynamicTrees-1.12.2-0.9.7.jar" just 0.9.6. ΒΏWhat should I update? I don't understand

commented

Well in the log on the forum:

Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Dynamic Trees (dynamictrees)
Caused by: java.lang.ArithmeticException: / by zero

commented

Which is the right log? Run the game again, right now, and pastebin that.

commented

I think is this one

https://pastebin.com/kC5psHJP

commented

The logs were inconsistent, that's the thing.

commented

The logs were inconsistent, that's the thing.

I know, maybe GhostTortilla confused one error with another.

It seems this error is pretty recent since It happenened out of nowhere and I didnt modified any files just open the game the next day and it was there.

commented

Can this error be replicated with only Dynamic Trees? Another mod might be causing this error indirectly.

commented

Can this error be replicated with only Dynamic Trees? Another mod might be causing this error indirectly.

Will check.

EDIT: It worked! probably another mod then, going to see if I can find what mod is causing problems

commented

"CTM-MC1.12.2-1.0.1.30.jar" is causing the issue.

commented

Probably manipulating MC model code then. So, unless someone identifies exactly what the issue is, you'll have to choose one or the other. Sorry. (P.S. Thanks for being helpful and testing the issue further. A lot of people don't even do that.)

commented

Thanks for finding a solution for this! @Gar0npeX
I went into the CTM Config file and enabled the first line. Which resolved the issue. And can now run with earlier mentioned mods again.

Choose whether the inside corner is disconnected on a CTM block.
B:connectInsideCTM=true

EDIT: Removing BetterWithMods might have resolved this issue aswell. Will test if that's the case.
Removing Better With Mods & Add-on resolved the issue and many others.
Didn't know about the issue which was resolved earlier, will look more properly into this next time since this might happen more often from now on.

commented

@GhostTortilla @SkyHawkB No problem, glad we could resolve the issues.