Open wifi-left opened 1 month ago
Caused by: java.lang.NullPointerException: Cannot invoke "carpet.fakes.MinecraftServerInterface.getScriptServer()" because "server" is null
... Maybe it's when you have a Carpet Bot loaded during Open To Lan situation, perhaps ?
No, I did not Open to Lan and I'm not using a Bot. But this is the only time this has happened recently. I suspect there are other triggers, such as returning to the main menu when the game is not saved. (My map is larger and has more dimensions, as you can see in the log)
All good, still confused by what caused this same crash for me, also.
I have this as well my way of producing the crash is make a fabric server i use crafty on casaos add fabric-carpet-1.20.6-1.4.141+v240429.jar to the servers mod folder install fabric on your client i use the 0.15.11 loader and install fabric-carpet-1.20.6-1.4.141+v240429.jar in the client mods
then join the server load in disconnect then join a singleplayer world load in disconnect/save crash
Prism Launcher version: 8.3 (official)
Launched instance in online mode
authserver.mojang.com resolves to:
[N/A]
session.minecraft.net resolves to:
[13.107.246.53, 13.107.213.53]
textures.minecraft.net resolves to:
[13.107.246.53, 13.107.213.53]
api.mojang.com resolves to:
[13.107.246.53, 13.107.213.53]
Minecraft folder is:
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/instances/Latest/.minecraft
Java path is:
C:/Program Files/Java/jdk-21/bin/javaw.exe
Java is version 21.0.2, using 64 (amd64) architecture, from Oracle Corporation.
Main Class:
net.fabricmc.loader.impl.launch.knot.KnotClient
Native path:
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/instances/Latest/natives
Traits:
traits feature:is_quick_play_multiplayer
traits FirstThreadOnMacOS
traits XR:Initial
Libraries:
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-freetype-natives-windows-arm64/3.3.3/lwjgl-freetype-natives-windows-arm64-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-freetype-natives-windows-x86/3.3.3/lwjgl-freetype-natives-windows-x86-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-freetype-natives-windows/3.3.3/lwjgl-freetype-natives-windows-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-glfw-natives-windows-arm64/3.3.3/lwjgl-glfw-natives-windows-arm64-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-glfw-natives-windows-x86/3.3.3/lwjgl-glfw-natives-windows-x86-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-glfw-natives-windows/3.3.3/lwjgl-glfw-natives-windows-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-glfw/3.3.3/lwjgl-glfw-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows-arm64/3.3.3/lwjgl-jemalloc-natives-windows-arm64-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows-x86/3.3.3/lwjgl-jemalloc-natives-windows-x86-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows/3.3.3/lwjgl-jemalloc-natives-windows-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-jemalloc/3.3.3/lwjgl-jemalloc-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-natives-windows-arm64/3.3.3/lwjgl-natives-windows-arm64-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-natives-windows-x86/3.3.3/lwjgl-natives-windows-x86-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-natives-windows/3.3.3/lwjgl-natives-windows-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-openal-natives-windows-arm64/3.3.3/lwjgl-openal-natives-windows-arm64-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-openal-natives-windows-x86/3.3.3/lwjgl-openal-natives-windows-x86-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-openal-natives-windows/3.3.3/lwjgl-openal-natives-windows-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-openal/3.3.3/lwjgl-openal-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-opengl-natives-windows-arm64/3.3.3/lwjgl-opengl-natives-windows-arm64-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-opengl-natives-windows-x86/3.3.3/lwjgl-opengl-natives-windows-x86-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-opengl-natives-windows/3.3.3/lwjgl-opengl-natives-windows-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-opengl/3.3.3/lwjgl-opengl-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-stb-natives-windows-arm64/3.3.3/lwjgl-stb-natives-windows-arm64-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-stb-natives-windows-x86/3.3.3/lwjgl-stb-natives-windows-x86-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-stb-natives-windows/3.3.3/lwjgl-stb-natives-windows-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-stb/3.3.3/lwjgl-stb-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows-arm64/3.3.3/lwjgl-tinyfd-natives-windows-arm64-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows-x86/3.3.3/lwjgl-tinyfd-natives-windows-x86-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows/3.3.3/lwjgl-tinyfd-natives-windows-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl-tinyfd/3.3.3/lwjgl-tinyfd-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lwjgl/lwjgl/3.3.3/lwjgl-3.3.3.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/google/guava/guava/32.1.2-jre/guava-32.1.2-jre.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/ibm/icu/icu4j/73.2/icu4j-73.2.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/mojang/authlib/6.0.54/authlib-6.0.54.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/mojang/brigadier/1.2.9/brigadier-1.2.9.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/mojang/datafixerupper/7.0.14/datafixerupper-7.0.14.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/mojang/logging/1.2.7/logging-1.2.7.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/mojang/text2speech/1.17.9/text2speech-1.17.9.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/commons-codec/commons-codec/1.16.0/commons-codec-1.16.0.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/commons-io/commons-io/2.15.1/commons-io-2.15.1.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/io/netty/netty-buffer/4.1.97.Final/netty-buffer-4.1.97.Final.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/io/netty/netty-codec/4.1.97.Final/netty-codec-4.1.97.Final.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/io/netty/netty-common/4.1.97.Final/netty-common-4.1.97.Final.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/io/netty/netty-handler/4.1.97.Final/netty-handler-4.1.97.Final.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/io/netty/netty-resolver/4.1.97.Final/netty-resolver-4.1.97.Final.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/io/netty/netty-transport-classes-epoll/4.1.97.Final/netty-transport-classes-epoll-4.1.97.Final.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/io/netty/netty-transport-native-unix-common/4.1.97.Final/netty-transport-native-unix-common-4.1.97.Final.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/io/netty/netty-transport/4.1.97.Final/netty-transport-4.1.97.Final.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/it/unimi/dsi/fastutil/8.5.12/fastutil-8.5.12.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/net/java/dev/jna/jna-platform/5.14.0/jna-platform-5.14.0.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/net/java/dev/jna/jna/5.14.0/jna-5.14.0.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/apache/commons/commons-compress/1.26.0/commons-compress-1.26.0.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/apache/commons/commons-lang3/3.14.0/commons-lang3-3.14.0.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/apache/logging/log4j/log4j-api/2.22.1/log4j-api-2.22.1.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/apache/logging/log4j/log4j-core/2.22.1/log4j-core-2.22.1.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/apache/logging/log4j/log4j-slf4j2-impl/2.22.1/log4j-slf4j2-impl-2.22.1.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/jcraft/jorbis/0.0.17/jorbis-0.0.17.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/joml/joml/1.10.5/joml-1.10.5.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/lz4/lz4-java/1.8.0/lz4-java-1.8.0.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/slf4j/slf4j-api/2.0.9/slf4j-api-2.0.9.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/net/fabricmc/intermediary/1.20.6/intermediary-1.20.6.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/ow2/asm/asm/9.6/asm-9.6.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/ow2/asm/asm-analysis/9.6/asm-analysis-9.6.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/ow2/asm/asm-commons/9.6/asm-commons-9.6.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/ow2/asm/asm-tree/9.6/asm-tree-9.6.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/org/ow2/asm/asm-util/9.6/asm-util-9.6.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/net/fabricmc/sponge-mixin/0.13.3+mixin.0.8.5/sponge-mixin-0.13.3+mixin.0.8.5.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/net/fabricmc/fabric-loader/0.15.10/fabric-loader-0.15.10.jar
D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/com/mojang/minecraft/1.20.6/minecraft-1.20.6-client.jar
Native libraries:
Mods:
[✔] fabric-carpet-1.20.6-1.4.141+v240429
[🖿] New folder (folder)
Params:
--username --version 1.20.6 --gameDir D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/instances/Latest/.minecraft --assetsDir D:/Program Files (x86)/PrismLauncher-Windows-MSVC-Portable-8.2/assets --assetIndex 16 --uuid --accessToken --userType --versionType release
Window size: max (if available)
Launcher: standard
Java Arguments:
[-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms512m, -Xmx4096m, -Duser.language=en]
Minecraft process ID: 17988
[16:59:58] [main/INFO]: Loading Minecraft 1.20.6 with Fabric Loader 0.15.10
[16:59:58] [main/INFO]: Loading 5 mods:
- carpet 1.4.141+v240429
- fabricloader 0.15.10
\-- mixinextras 0.3.5
- java 21
- minecraft 1.20.6
[16:59:59] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/D:/Program%20Files%20(x86)/PrismLauncher-Windows-MSVC-Portable-8.2/libraries/net/fabricmc/sponge-mixin/0.13.3+mixin.0.8.5/sponge-mixin-0.13.3+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[16:59:59] [main/INFO]: Compatibility level set to JAVA_17
[17:00:00] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5).
[17:00:04] [Datafixer Bootstrap/INFO]: 222 Datafixer optimizations took 217 milliseconds
[17:00:06] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[17:00:06] [Render thread/INFO]: Setting user: Polypheides
[17:00:07] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot
[17:00:07] [Render thread/WARN]: Removed resource pack fabric from options because it doesn't seem to exist anymore
[17:00:08] [Render thread/INFO]: Reloading ResourceManager: vanilla
[17:00:08] [Worker-Main-8/INFO]: Found unifont_all_no_pua-15.1.04.hex, loading
[17:00:08] [Worker-Main-5/INFO]: Found unifont_jp_patch-15.1.04.hex, loading
[17:00:09] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[17:00:09] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[17:00:09] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Thomson (NVIDIA High Definition Audio)
[17:00:09] [Render thread/INFO]: Sound engine started
[17:00:09] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[17:00:09] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[17:00:09] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[17:00:09] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[17:00:09] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[17:00:09] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[17:00:09] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[17:00:09] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[17:00:09] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[17:00:09] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[17:00:09] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[17:00:09] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[17:00:09] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[17:00:09] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[17:00:09] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[17:00:18] [Render thread/INFO]: Connecting to 192.168.0.17, 25572
[17:00:21] [Render thread/INFO]: Joined carpet server with matching carpet version
[17:00:21] [Render thread/INFO]: Loaded 348 advancements
[17:00:21] [Render thread/WARN]: Received passengers for unknown entity
[17:00:27] [Render thread/INFO]: Loaded 1175 recipes
[17:00:27] [Render thread/INFO]: Loaded 1276 advancements
[17:00:27] [Render thread/WARN]: Not all defined tags for registry ResourceKey[minecraft:root / minecraft:item] are present in data pack: minecraft:enchantable/mace
[17:00:27] [Render thread/WARN]: Not all defined tags for registry ResourceKey[minecraft:root / minecraft:entity_type] are present in data pack: minecraft:can_turn_in_boats, minecraft:deflects_projectiles, minecraft:immune_to_infested, minecraft:immune_to_oozing, minecraft:no_anger_from_wind_charge
[17:00:27] [Render thread/WARN]: Not all defined tags for registry ResourceKey[minecraft:root / minecraft:block] are present in data pack: minecraft:blocks_wind_charge_explosions
[17:00:27] [Server thread/INFO]: Starting integrated minecraft server version 1.20.6
[17:00:27] [Server thread/INFO]: Generating keypair
[17:00:28] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[17:00:29] [Render thread/INFO]: Preparing spawn area: 0%
[17:00:29] [Render thread/INFO]: Preparing spawn area: 0%
[17:00:29] [Render thread/INFO]: Time elapsed: 873 ms
[17:00:29] [Server thread/INFO]: Changing view distance to 20, from 10
[17:00:29] [Server thread/INFO]: Changing simulation distance to 20, from 0
[17:00:30] [Server thread/INFO]: Polypheides[local:E:41f8d3ac] logged in with entity id 313 at (-48.77464309058936, 70.656173379964, -131.76306769082612)
[17:00:30] [Server thread/INFO]: Polypheides joined the game
[17:00:30] [Render thread/INFO]: Loaded 267 advancements
[17:00:32] [Server thread/INFO]: Saving and pausing game...
[17:00:32] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[17:00:32] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[17:00:32] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[17:00:32] [Render thread/ERROR]: Reported exception thrown!
net.minecraft.class_148: mouseClicked event handler
at net.minecraft.class_437.method_25412(class_437.java:472) ~[client-intermediary.jar:?]
at net.minecraft.class_312.method_1601(class_312.java:101) ~[client-intermediary.jar:?]
at net.minecraft.class_312.method_22686(class_312.java:186) ~[client-intermediary.jar:?]
at net.minecraft.class_1255.execute(class_1255.java:108) ~[client-intermediary.jar:?]
at net.minecraft.class_312.method_22684(class_312.java:186) ~[client-intermediary.jar:?]
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.3.jar:?]
at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.3.jar:?]
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438) ~[lwjgl-glfw-3.3.3.jar:?]
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:200) ~[client-intermediary.jar:?]
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:211) ~[client-intermediary.jar:?]
at net.minecraft.class_1041.method_15998(class_1041.java:287) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1342) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:888) [client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:265) [client-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) [fabric-loader-0.15.10.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.15.10.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.15.10.jar:?]
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) [NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]
Caused by: java.lang.NullPointerException: Cannot invoke "carpet.fakes.MinecraftServerInterface.getScriptServer()" because "server" is null
at carpet.script.external.Vanilla.MinecraftServer_getScriptServer(Vanilla.java:163) ~[fabric-carpet-1.20.6-1.4.141+v240429.jar:?]
at carpet.CarpetServer.onServerClosed(CarpetServer.java:183) ~[fabric-carpet-1.20.6-1.4.141+v240429.jar:?]
at carpet.network.CarpetClient.disconnect(CarpetClient.java:61) ~[fabric-carpet-1.20.6-1.4.141+v240429.jar:?]
at net.minecraft.class_310.handler$zhp000$carpet$onCloseGame(class_310.java:3730) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_56134(class_310.java) ~[client-intermediary.jar:?]
at net.minecraft.class_433.method_47632(class_433.java:117) ~[client-intermediary.jar:?]
at net.minecraft.class_7574.method_46552(class_7574.java:52) ~[client-intermediary.jar:?]
at net.minecraft.class_433.method_19836(class_433.java:100) ~[client-intermediary.jar:?]
at net.minecraft.class_4185.method_25306(class_4185.java:96) ~[client-intermediary.jar:?]
at net.minecraft.class_4264.method_25348(class_4264.java:48) ~[client-intermediary.jar:?]
at net.minecraft.class_339.method_25402(class_339.java:141) ~[client-intermediary.jar:?]
at net.minecraft.class_4069.method_25402(class_4069.java:38) ~[client-intermediary.jar:?]
at net.minecraft.class_312.method_1611(class_312.java:101) ~[client-intermediary.jar:?]
at net.minecraft.class_437.method_25412(class_437.java:467) ~[client-intermediary.jar:?]
... 19 more
[17:00:32] [Server thread/INFO]: Stopping server
[17:00:32] [Server thread/INFO]: Saving players
[17:00:32] [Server thread/INFO]: Polypheides lost connection: Disconnected
[17:00:32] [Server thread/INFO]: Polypheides left the game
[17:00:32] [Server thread/INFO]: Stopping singleplayer server as player logged out
[17:00:32] [Server thread/INFO]: Saving worlds
[17:00:33] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[17:00:33] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[17:00:33] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[17:00:33] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[17:00:33] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[17:00:33] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[17:00:33] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
---- Minecraft Crash Report ----
// You're mean.
Time: 2024-05-04 17:00:33
Description: mouseClicked event handler
java.lang.NullPointerException: Cannot invoke "carpet.fakes.MinecraftServerInterface.getScriptServer()" because "server" is null
at carpet.script.external.Vanilla.MinecraftServer_getScriptServer(Vanilla.java:163)
at carpet.CarpetServer.onServerClosed(CarpetServer.java:183)
at carpet.network.CarpetClient.disconnect(CarpetClient.java:61)
at net.minecraft.class_310.handler$zhp000$carpet$onCloseGame(class_310.java:3730)
at net.minecraft.class_310.method_56134(class_310.java)
at net.minecraft.class_433.method_47632(class_433.java:117)
at net.minecraft.class_7574.method_46552(class_7574.java:52)
at net.minecraft.class_433.method_19836(class_433.java:100)
at net.minecraft.class_4185.method_25306(class_4185.java:96)
at net.minecraft.class_4264.method_25348(class_4264.java:48)
at net.minecraft.class_339.method_25402(class_339.java:141)
at net.minecraft.class_4069.method_25402(class_4069.java:38)
at net.minecraft.class_312.method_1611(class_312.java:101)
at net.minecraft.class_437.method_25412(class_437.java:467)
at net.minecraft.class_312.method_1601(class_312.java:101)
at net.minecraft.class_312.method_22686(class_312.java:186)
at net.minecraft.class_1255.execute(class_1255.java:108)
at net.minecraft.class_312.method_22684(class_312.java:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:200)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:211)
at net.minecraft.class_1041.method_15998(class_1041.java:287)
at net.minecraft.class_310.method_1523(class_310.java:1342)
at net.minecraft.class_310.method_1514(class_310.java:888)
at net.minecraft.client.main.Main.main(Main.java:265)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at carpet.script.external.Vanilla.MinecraftServer_getScriptServer(Vanilla.java:163)
at carpet.CarpetServer.onServerClosed(CarpetServer.java:183)
at carpet.network.CarpetClient.disconnect(CarpetClient.java:61)
at net.minecraft.class_310.handler$zhp000$carpet$onCloseGame(class_310.java:3730)
at net.minecraft.class_310.method_56134(class_310.java)
at net.minecraft.class_433.method_47632(class_433.java:117)
at net.minecraft.class_7574.method_46552(class_7574.java:52)
at net.minecraft.class_433.method_19836(class_433.java:100)
at net.minecraft.class_4185.method_25306(class_4185.java:96)
at net.minecraft.class_4264.method_25348(class_4264.java:48)
at net.minecraft.class_339.method_25402(class_339.java:141)
at net.minecraft.class_4069.method_25402(class_4069.java:38)
at net.minecraft.class_312.method_1611(class_312.java:101)
at net.minecraft.class_437.method_25412(class_437.java:467)
at net.minecraft.class_312.method_1601(class_312.java:101)
at net.minecraft.class_312.method_22686(class_312.java:186)
at net.minecraft.class_1255.execute(class_1255.java:108)
at net.minecraft.class_312.method_22684(class_312.java:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:200)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:211)
-- Affected screen --
Details:
Screen name: net.minecraft.class_433
Stacktrace:
at net.minecraft.class_437.method_25412(class_437.java:467)
at net.minecraft.class_312.method_1601(class_312.java:101)
at net.minecraft.class_312.method_22686(class_312.java:186)
at net.minecraft.class_1255.execute(class_1255.java:108)
at net.minecraft.class_312.method_22684(class_312.java:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:200)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:211)
at net.minecraft.class_1041.method_15998(class_1041.java:287)
at net.minecraft.class_310.method_1523(class_310.java:1342)
at net.minecraft.class_310.method_1514(class_310.java:888)
at net.minecraft.client.main.Main.main(Main.java:265)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
-- Uptime --
Details:
JVM uptime: 34.867s
Wall uptime: 26.130s
High-res time: 25.542s
Client ticks: 418 ticks / 20.900s
Stacktrace:
at net.minecraft.class_310.method_1587(class_310.java:2548)
at net.minecraft.class_310.method_54580(class_310.java:983)
at net.minecraft.class_310.method_1514(class_310.java:908)
at net.minecraft.client.main.Main.main(Main.java:265)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
-- Affected level --
Details:
All players: 1 total; [class_746['Polypheides'/313, l='ClientLevel', x=-48.26, y=70.66, z=-132.96]]
Chunk stats: 2209, 328
Level dimension: minecraft:overworld
Level spawn location: World: (0,64,0), Section: (at 0,0,0 in 0,4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 9596218 game time, 9903464 day time
Server brand: fabric
Server type: Integrated singleplayer server
Tracked entity count: 249
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: vanilla
-- System Details --
Details:
Minecraft Version: 1.20.6
Minecraft Version ID: 1.20.6
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.2, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 635437056 bytes (606 MiB) / 1314914304 bytes (1254 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 16
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 7 5700G with Radeon Graphics
Identifier: AuthenticAMD Family 25 Model 80 Stepping 0
Microarchitecture: Zen 3
Frequency (GHz): 3.79
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: NVIDIA GeForce GTX 1080 Ti
Graphics card #0 vendor: NVIDIA
Graphics card #0 VRAM (MB): 11264.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 31.0.15.4617
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Memory slot #2 capacity (MB): 8192.00
Memory slot #2 clockSpeed (GHz): 3.20
Memory slot #2 type: DDR4
Memory slot #3 capacity (MB): 8192.00
Memory slot #3 clockSpeed (GHz): 3.20
Memory slot #3 type: DDR4
Virtual memory max (MB): 34664.29
Virtual memory used (MB): 10400.05
Swap memory total (MB): 2048.00
Swap memory used (MB): 0.00
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx4096m
Launched Version: 1.20.6
Launcher name: PrismLauncher
Backend library: LWJGL version 3.3.3-snapshot
Backend API: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 546.17, NVIDIA Corporation
Window size: 1920x1080
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Universe: 400921fb54442d18
Type: Integrated Server (map_client.txt)
Graphics mode: fancy
Render Distance: 20/20 chunks
Resource Packs: vanilla
Current Language: en_us
Locale: en_US
CPU: 16x AMD Ryzen 7 5700G with Radeon Graphics
Server Running: true
Player Count: 1 / 8; [class_3222['Polypheides'/313, l='ServerLevel[world]', x=-48.26, y=70.66, z=-132.96]]
Active Data Packs: vanilla
Available Data Packs: bundle, trade_rebalance, update_1_21, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: -7056333453461702169
#@!@# Game crashed! Crash report saved to: #@!@# D:\Program Files (x86)\PrismLauncher-Windows-MSVC-Portable-8.2\instances\Latest\.minecraft\crash-reports\crash-2024-05-04_17.00.33-client.txt
Process exited with code -1.`
CarpetServer.java#181:
if (scriptServer != null) scriptServer.onClose(); // this is a mess, will cleanip onlly when global reference is gone if (!Vanilla.MinecraftServer_getScriptServer(server).stopAll) { Vanilla.MinecraftServer_getScriptServer(server).onClose(); }
The crash is somehow coming from this code. Not sure how (server == null) when it's being called from MinecraftServer stopServer.
I think I've found the issue:
When logging into a server Carpet is getting into "client-side" mode, but it's not getting cleared when leaving (what handled this probably changed between versions). However when leaving a world it's being called, and given it's still in this client mode it thinks it has no server, and the mess of global vs non-global server is making it crash (client part gives null server, server part says it has server so it has to run, code uses given null server and crashes).
I'll try to look into a fix when I have a bit of time.
The build from the PR should fix it, you can get builds of it here (1.20.5-1.20.6), let me know if it works.
(Artifacts > Compiled artifacts, then from the zip get the jar with the shortest name)
i tested joining and leaving MP/SP 5 times with the 240505 artifact installed on both client/server without crashes.
I also tested with the 240505 artifact on client and the old 240429 release still on server no crash so it should be fixed.
I've also been experiencing this bug, and can confirm that the build @altrisi posted fixes the issue for me.
Version:
fabric-carpet-1.20.6-1.4.141+v240429
Logs are here: