Better Animals Plus

Better Animals Plus

22M Downloads

Crash on logging into server

trav90 opened this issue ยท 18 comments

commented

Describe what you were doing before the crash
Logging into server

To Reproduce
Steps to reproduce the behavior (if possible):
try logging into server

Crash Log [(REQUIRED)]
https://paste.dimdev.org/azoxexofor.mccrash

Versions:

  • OS: Manjaro Linux (server running on CentOS 7)
  • MC Version: 1.12.2
  • Mod Version: 4.1.0

Additional context
The server is a private server that runs a modified version of the Direwolf20 pack. In addition to Better Animals +, the Familiar Fauna, BetterFps and VanillaFix mods have been manually added to the pack.

commented

Sorry for this necro-bump but ive had the same issue with a new version of the pack (11.0.5 - fabric). New ticket?

commented

Yes please holy wow this is three years old, I'm certain your crash has nothing to do with this

commented

Hmm looks like your NBT data could be corrupted. Did the server force shutdown? Also, can I get your world file / region data?
I did notice this in the crash.

-- Entity being ticked --
Entity Type: betteranimalsplus:lammergeier (its_meow.betteranimalsplus.common.entity.EntityLammergeier)
Entity ID: 20924
Entity Name: Lammergeier
Entity's Exact location: 1739.35, 75.00, 2153.42
Entity's Block location: World: (1739,75,2153), Chunk: (at 11,4,9 in 108,134; contains blocks 1728,0,2144 to 1743,255,2159), Region: (3,4; contains chunks 96,128 to 127,159, blocks 1536,0,2048 to 2047,255,2559)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ERROR NullPointerException: null
Entity NBT: ERROR ReportedException: Saving entity NBT

EDIT: Specifically (to save upload space) send me region/3.4.mca

commented

--REMOVED--
Try this build (may have some in development features, namely boars, but is fully stable)
If it still fails you have a few options:

  1. Remove mod, load world, exit, add mod, load world
  2. Repair your nbt data (delete the specific entity using NBTExplorer or send it to me to do it
  3. Remove mod
commented

Hmm looks like your NBT data could be corrupted. Did the server force shutdown?

I should have mentioned previously that is is a client crash, not a server crash. I know the server was never forced shutdown, but it's possible the client was (it is crashing on my wife's machine).

EDIT: Specifically (to save upload space) send me region/3.4.mca

Here it is:
r.3.4.mca.zip

Try this build

I will try this build later today and will report back.

Thank you for looking into this it is appreciated!

commented

Unfortunately the devbuild causes the server to crash on startup. Here's the log:

crash-2019-01-19_09.48.54-server.txt

commented

--REMOVED--

My bad on the crash. It's fixed. I removed the Lammergeier from the region data, but make a backup (rename the old one) just in case. This should fix it.

commented

I can confirm the the server now starts up without crashing; thank you again!

After my wife and I play again (likely later today) I will report back on if the client-side crash still occurs.

commented

OK, I was able to log into the server using the devbuild-2 without crashing and everything seems to work! My animal loving wife says Thank you!

I am seeing an oddity with the animal models, but will open a new issue for that.

commented

Well, after playing for a little while (45 minutes or thereabouts) it crashed again. Looks like a similar crash, but with a different entity:

https://paste.dimdev.org/ikikaquwaw.mccrash

commented

Was this while loading or just playing and crashed out of nowhere?

commented

She was playing and stepped away for a moment. When she came back it had crashed.

commented

Hmm, can I get the debug.log from one of the errored logs?

commented

I would say the issue is resolved but older worlds can still be affected (e.g. the original issue is saved in world data, so previous worlds will not work). In order to fix,

  1. Remove mod
  2. Start world
    Server:
  3. /fml confirm to allow removal of mobs on servers
    Client:
  4. Press "yes" when told about missing ids
  5. Exit and save world
  6. Restart game with mod
  7. Fixed!

If the issue is still encountered after, please re-open.

commented

Sorry for my late response. After following the above instructions we were able to play for several hours with no crashes. Thanks!

commented

Good! Any updates on #37?

commented

Yes the above instructions seems to have fixes #37 as well. Thank you!