Fabricators-of-Create / Create

[Fabric Mod] Building Tools and Aesthetic Technology
MIT License
827 stars 185 forks source link

[Crash] Exception in Server Tick Loop in item.ItemStack.isEmpty() because this.stack is null #1419

Closed HB-Stratos closed 1 month ago

HB-Stratos commented 1 month ago

Describe the Bug

The server crashes after I upgraded from create d to create f. No player even has to join the server. After a couple tens of minutes the server just crashes with either this error or watchdog.

Reproduction Steps

  1. I do not know what causes this
  2. but @IThundxr said they are familiar with the issue
  3. this issue is being created to remind them of this problems existence.

Expected Result

no crash

Screenshots and Videos

A couple of crash reports, all of which occurred with the server idle and unused as described above.

crash-2024-04-02_20.52.08-server.txt crash-2024-04-02_20.51.04-server.txt crash-2024-04-02_19.21.16-server.txt crash-2024-04-02_19.20.13-server.txt

Crash Report or Log

No response

Operating System

Ubuntu Server 22.04 LTS

Mod Version

0.5.1f

Minecraft Version

1.20.1

Other Mods

 advancementinfo-1.20-fabric0.83.0-1.4.jar               ImmediatelyFast-1.2.6+1.20.2.jar
 animatica-0.6+1.20.jar                                  indium-1.0.27+mc1.20.1.jar
 appleskin-fabric-mc1.20.1-2.5.1.jar                     inventoryessentials-fabric-1.20.1-8.2.1.jar
 architectury-9.2.14-fabric.jar                          inventorymanagement-1.3.1+1.20.jar
 balm-fabric-1.20.1-7.2.1.jar                            iris-flywheel-compat-1.20.1-0.2.1.jar
 betterfpsdist-fabric-1.20.1-4.0.jar                     iris-mc1.20.1-1.6.10.jar
 bettermounthud-1.2.2.jar                                Jade-1.20-fabric-11.7.0.jar
 BlueMap-3.20-13-dirty-fabric-1.20-1000ms.jar            JadeAddons-1.20.1-fabric-5.2.3.jar
 borderless-mining-1.1.8+1.20.1.jar                      jamlib-0.6.1+1.20.x.jar.disabled
 cardinal-components-api-5.2.2.jar.disabled              joinleavemessages-fabric-1.19.3-2.0.0.jar
 carpet-fixes-1.20-1.16.1.jar                            journeymap-1.20.1-5.9.18-fabric.jar
 chat_heads-0.10.30-fabric-1.20.jar                      lambdynamiclights-2.3.2+1.20.1.jar
 chunk-debug-1.20.1-1.0.8.jar                            language-reload-1.5.9+1.20.1.jar
 chunkloaders-1.2.8a-fabric-mc1.20.1.jar                 lazydfu-0.1.3.jar
 chunksending-fabric-1.20.1-2.8.jar                      ledger-1.2.8.jar
 CITResewn-1.1.3+1.20.jar                                lithium-fabric-mc1.20.1-0.11.2.jar
 cloth-config-11.1.106-fabric.jar                        luckperms
 connectivity-fabric-1.20.1-4.9.jar                      LuckPerms-Fabric-5.4.102.jar
 continuity-3.0.0-beta.4+1.20.1.jar                      main-menu-credits-1.1.2.jar
 Controlify-1.6.0+1.20.jar                               MapFrontiers-1.20.1-2.6.0p1-fabric.jar
 Controlling-fabric-1.20.1-12.0.2.jar                    mariadb-jdbc-3.1.4+20230506-all.jar
 Copycats-fabric.1.20.1-1.2.6.jar                        memoryleakfix-fabric-1.17+-1.1.2.jar
 cosmetica-1.20-1.2.7.jar                                mixintrace-1.1.1+1.17.jar
 crawl-0.12.0.jar.disabled                               modelfix-1.14-fabric.jar
 createaddition-fabric+1.20.1-1.2.3.jar                  modernfix-fabric-5.8.1+mc1.20.1.jar
 createdeco-2.0.1-1.20.1-fabric.jar                      modmenu-7.2.2.jar
 create_enchantment_industry-1.2.16.jar                  morechathistory-1.19.1-1.1.1.jar
 create-fabric-0.5.1-f-local+mc1.20.1.jar                moreculling-1.20.1-0.19.0.jar
'creategoggles-1.20.1-0.5.5.g-[FABRIC].jar'              NoChatReports-FABRIC-1.20.1-v2.2.2.jar.disabled
 create_jetpack-fabric-4.2.0.jar                         NoMore-JoinLeave-Message-1.0.0.jar.disabled
 create_power_loader-1.4.3-mc1.20.1-fabric.jar           nvidium-0.2.5-beta.jar
 create-track-map-1.4+mc1.20.1-fabric.jar                observable-4.4.0.jar
 crossstitch-0.1.6.jar                                   optigui-2.1.5.jar
 cupboard-fabric-1.20.1-2.2.jar                          PAPIProxyBridge-1.4.2.jar
 Debugify-1.20.1+2.0.jar                                 placeholder-api-2.1.3+1.20.1.jar
 double_hotbar-1.3.1-mc1.20.1-fabric.jar                 puzzle-1.5.2+1.20.jar
 dynamic-fps-3.2.1+minecraft-1.20.0.jar                  reeses_sodium_options-1.6.5+mc1.20.1-build.95.jar
 DynmapBlockScan-3.6-SNAPSHOT-fabric-1.20.jar.disabled   Rrls-3.2.0-1.20.1-fabric.jar
 dynview-fabric-1.20.1-3.2.jar.disabled                  Searchables-fabric-1.20.1-1.0.2.jar
 e4mc-4.0.1+1.19.4-fabric.jar.disabled                   shulkerboxtooltip-fabric-4.0.4+1.20.1.jar
 emi-1.1.0+1.20.1+fabric.jar                             SignedVelocity-Fabric-1.2.2-Fabric-1.20.1.jar
 emi_enchanting-0.1.0+1.20.1.jar                         sliceanddice-fabric-3.1.0.jar
 emiffect-fabric-1.1.2+mc1.20.1.jar                      smoothchunk-fabric-1.20.1-3.5.jar
 emi_loot-0.6.5+1.20.1.jar                               sodium-extra-0.5.1+mc1.20.1-build.112.jar
 emitrades-fabric-1.2.1+mc1.20.1.jar                     sodium-fabric-mc1.20.1-0.5.3.jar
 enhancedblockentities-0.9+1.20.jar                      sound-physics-remastered-fabric-1.20.1-1.3.1.jar
 entityculling-fabric-1.6.2-mc1.20.1.jar                 spark-1.10.53-fabric.jar
 entity_model_features_fabric_1.20.1-1.2.3.jar           StackDeobfuscatorFabric-1.4.2+bf1fc22.jar
 entity_texture_features_fabric_1.20.1-5.2.1.jar         Steam_Rails-1.5.3+fabric-mc1.20.1.jar
 extra-mod-integrations-0.4.2+1.20.1.jar                 supermartijn642configlib-1.1.8a-fabric-mc1.20.jar
 fabric-api-0.90.0+1.20.1.jar.disabled                   supermartijn642corelib-1.1.16-fabric-mc1.20.1.jar
 fabric-api-0.91.0+1.20.1.jar                            textile_backup-3.1.2-1.20.jar
 fabric-carpet-1.20-1.4.112+v230608.jar                  trinkets-3.7.1.jar.disabled
 fabric-chunkpregen-0.3.7.jar                            utilitybelt-1.3.6+1.20.1.jar.disabled
 fabric-language-kotlin-1.10.10+kotlin.1.9.10.jar        vanilla-permissions-0.2.2+1.20.1.jar
 FabricProxy-Lite-2.6.0.jar                              voicechat-fabric-1.20.1-2.4.32.jar
 fabricskyboxes-0.7.3+mc1.20.1.jar                       WorldEditCUI-1.20+01.jar
 fabrishot-1.10.0.jar                                    worldedit-mod-7.2.15.jar
 fadeless-1.0.1.jar                                      yet-another-config-lib-fabric-3.2.1+1.20.jar
 farmers-delight-fabric-1.4.3.jar                        yosbr-0.1.2.jar
 farsight-fabric-1.20.1-4.2.jar                          your-reputation-0.2.5+wthit.1.20.jar.disabled
 fastquit-3.0.0+1.20+.jar                                YungsApi-1.20-Fabric-4.0.2.jar
 ferritecore-6.0.0-fabric.jar                            YungsBetterMineshafts-1.20-Fabric-4.0.4.jar
 freecam-fabric-modrinth-1.2.1+1.20.jar                  YungsBetterNetherFortresses-1.20-Fabric-2.0.5.jar
 fsb-interop-1.3.6+mc1.20.1-build.50.jar                 YungsBetterStrongholds-1.20-Fabric-4.0.3.jar
 gatekeep-1.2.1.jar                                      YungsBetterWitchHuts-1.20-Fabric-3.0.3.jar
 global-datapack-1.2.jar                                 YungsExtras-1.20-Fabric-4.0.3.jar
 graves-3.0.0+1.20.1.jar                                 Zoomify-2.11.2.jar

Additional Context

No response

TropheusJ commented 1 month ago

Two of these crash reports are from a watchdog crash, with no clear cause. The other two are caused by a bug I recently fixed.