How to fix Ticking entity crash in Mindcrack v7 and Direwolf20 v4 Modpacks

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

CWW256

New Member
Jul 29, 2019
61
0
0
If you are getting a crash after updating to Mindcrack version 7 or Direwolf20 version 4 that looks similar to the following:

Code:
Description: Ticking entity
 
java.lang.NullPointerException
    at forestry.core.genetics.Chromosome.writeToNBT(Chromosome.java:50)
    at forestry.core.genetics.Genome.writeToNBT(Genome.java:58)
    at forestry.arboriculture.genetics.Tree.writeToNBT(Tree.java:75)
    at forestry.arboriculture.gadgets.TileTreeContainer.b(TileTreeContainer.java:38)
    at forestry.arboriculture.gadgets.TileLeaves.b(TileLeaves.java:32)
    at forestry.core.network.PacketTileNBT.<init>(PacketTileNBT.java:28)
    at forestry.arboriculture.gadgets.TileTreeContainer.l(TileTreeContainer.java:70)
    at iq.b(EntityPlayerMP.java:446)
    at iq.j_(EntityPlayerMP.java:269)
    at yc.a(World.java:2295)
    at in.a(WorldServer.java:647)
    at yc.g(World.java:2257)
    at yc.h(World.java:2103)
    at in.h(WorldServer.java:516)
    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:679)
    at ho.r(DedicatedServer.java:270)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:598)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
    at fy.run(SourceFile:849)

You should open the \minecraft\config\forestry\common.conf and look for the following section:

Code:
# NEW: set to true to clear chromosomes which contain invalid alleles. might rescue your save if it is crashing after removal of a bee addon.
genetics.clear.invalid.chromosomes=false

And change it to...

Code:
# NEW: set to true to clear chromosomes which contain invalid alleles. might rescue your save if it is crashing after removal of a bee addon.
genetics.clear.invalid.chromosomes=true

This will fix any items causing the crash. Once you are certain that all bee and trees have been loaded, you can reset the genetics.clear.invalid.chromosomes setting to false.

Additional information related to this can be found here.
 
  • Like
Reactions: unv_annihilator

carlfm

New Member
Jul 29, 2019
16
0
0
Thanks for posting this fix! It happened to me earlier today and this saved my Mindcrack single-player world.
 

didlyi

New Member
Jul 29, 2019
26
0
0
one of our members has just pointed me here about this fix..and i have to say..thank you for posting this fix..and a very big thank you to our member fanta for showing this to me

you both have saved our map...

love you
 

Brenden Oneyear

New Member
Jul 29, 2019
1
0
0
Please help,

OK...so my encounter with this error is a bit different. Right before i got the error i had just "Save and Quit" from my single player FTB Mindcrack v7 world. I then proceed to install Optifine 1.4.6 A3 Ultra HD, then i went to log back into the same world. But that was when i got my error, i would click on that world then press the button "play selected world", it would almost load, but then, before i actually got in the game it gave me the error. I tried fixing it a couple different ways and one of those many ways worked fine for the first 30 seconds of in-game play, then it crashed again. The change i made was to switch the region folder out with one of an older date, but the same world.(i don't know if that means anything but i thought adding that might help).

So my question is......... ? is it optifine (in my case) that caused this crash?

also...
1. What does changing the code to true actually do in game?
2. Does it stop forestry mods from loading when loading new areas of my world?
3. Will the change affect the way that the forestry mod loads and saves?
4. Will the change affect the way that the forestry mod it behaves when i use it?

Please reply,
Brenden Oneyear
 

Shanethedark

New Member
Jul 29, 2019
1
0
0
So got my server to finally work with v7 of Mindcrack,but I can't set it back to false.Leaving at true for the meantime,just throwing this at there.
 

deathstalker157

New Member
Jul 29, 2019
38
0
0
so if i were to build a tunnel bore with redpower and i hit a chest that say had those bees/trees in them would i crash my world or are those trees and bees removed from the dungeon chests (in chunks that have been loaded in V6 of mindcrack)
 

MrPigglez

New Member
Jul 29, 2019
2
0
0
I have a crash everytime i login to my server, anyone could help me?

was over 10000 Characters so i had to attach the log.
 

Attachments

  • crash-2013-03-08_17.37.26-client.txt
    10.6 KB · Views: 257

masterninjaa

New Member
Jul 29, 2019
14
0
0
here is my problem

Description: Ticking entity

java.lang.NullPointerException
at miscperipherals.peripheral.PeripheralChatBox.notInRange(PeripheralChatBox.java:139)
at miscperipherals.peripheral.PeripheralChatBox.onDeath(PeripheralChatBox.java:125)
at miscperipherals.peripheral.PeripheralChatBox.access$200(PeripheralChatBox.java:27)
at miscperipherals.peripheral.PeripheralChatBox$ChatListener.onLivingDeath(PeripheralChatBox.java:161)
at net.minecraftforge.event.ASMEventHandler_177_ChatListener_onLivingDeath_LivingDeathEvent.invoke(.dynamic)
at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35)
at net.minecraftforge.event.EventBus.post(EventBus.java:103)
at net.minecraftforge.common.ForgeHooks.onLivingDeath(ForgeHooks.java:349)
at iq.a(EntityPlayerMP.java:323)
at md.a(EntityLiving.java:1111)
at qx.a(EntityPlayer.java:1024)
at iq.a(EntityPlayerMP.java:388)
at qj.m(SourceFile:80)
at qj.a(SourceFile:106)
at mi.bn(SourceFile:41)
at md.c(EntityLiving.java:1788)
at qj.c(SourceFile:26)
at qd.c(SourceFile:193)
at md.j_(EntityLiving.java:843)
at qj.j_(SourceFile:31)
at yc.a(World.java:2293)
at in.a(WorldServer.java:647)
at yc.g(World.java:2255)
at yc.h(World.java:2109)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at ho.r(DedicatedServer.java:269)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)