Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Cauldrons extracting fluids #351

Closed
zjael opened this issue Jun 6, 2019 · 8 comments
Closed

More Cauldrons extracting fluids #351

zjael opened this issue Jun 6, 2019 · 8 comments
Assignees

Comments

@zjael
Copy link

zjael commented Jun 6, 2019

Issue description:
Extracting fluids inside compact machine, causes server to crash, and will continue to crash on startup, until either fluid tank or controller is removed.

Steps to reproduce:

  • Launch SkyFactory 4 with no plugins
  • Extract lava and insert into any fluid tank inside a compact machine, using xnet controller.

Versions:

  • Minecraft: 1.12.2
  • Forge: 14.23.5.2831
  • SkyFactory Modpack: 4.0.5
  • McJtyLib: 3.1.1
  • XNet: 1.7.6
@josephcsible
Copy link
Collaborator

Why did you edit out the "Relevant logs, if any:" section instead of posting your crash log? Please post it. Also, see if the bug happens with no mods installed except for XNet, Compact Machines, whatever mod provided the fluid tank you used, and their dependencies.

@zjael
Copy link
Author

zjael commented Jun 7, 2019

Hmm can't reproduce crash from a tank to a tank, it only crashes with this setup:
Cobblestone generator connected to an automated user/auto clicker -> cauldron
Extracting lava from cauldron to anything seems to cause a crash, like fluid tank or compact machine tunnel.

Edit: Did some tests, it seems to do with inserting lava, and extracting power to and from an, Geothermal generator at the same time, with the above setup

Log: https://pastebin.com/fK4APyh9
Crash log: https://pastebin.com/CLqQ5pHT

Seems to be related to: #340

@josephcsible
Copy link
Collaborator

There are still over 200 mods in that crash report. Can you try to reproduce the problem with a more minimal set?

@zjael
Copy link
Author

zjael commented Jun 7, 2019

Okay, forget everything about compact machines

Steps to reproduce:
Setup as such:
2019-06-07_14 47 29
2019-06-07_14 47 41

Then just spam the cauldron with lava buckets

Crash log: https://pastebin.com/Xck4nDG3

@zjael zjael changed the title Compact machine fluids More Cauldrons extracting fluids Jun 7, 2019
josephcsible added a commit to josephcsible/XNet that referenced this issue Jun 8, 2019
@josephcsible
Copy link
Collaborator

I just pushed c18b176 to help troubleshoot this. Install this build of XNet, then get it to crash and post the new crash report: xnet-1.12-1.7.6+gc18b176.zip

@josephcsible
Copy link
Collaborator

Never mind, I managed to reproduce it myself. The key is that it only happens when the generator is nearly full, such that it has room for some lava, but not for a full bucket's worth. (Here's what I got: Error: java.lang.NullPointerException: knightminer.inspirations.recipes.tank.CauldronTank misbehaved! handler.drain(600, true) returned null, even though handler.drain(1000, false) did not)

@josephcsible
Copy link
Collaborator

Also, it has nothing to do with More Cauldrons; it would happen even with a vanilla cauldron. The real trigger is the custom fluid handler that Inspirations installs on cauldrons.

@josephcsible
Copy link
Collaborator

I reported this at KnightMiner/Inspirations#124 but it was closed without action. I'll put in a workaround on our side for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants