
Litematca crashing on saving Schematics
IkanOpit opened this issue ยท 2 comments
Good Evening i am Having an issue trying to save any Schematics in Litematica the game crashes as soon as you click save from the litematica menu.
I am using minecraft version 1.21.4
Litematica version: litematica-fabric-1.21.4-0.21.2-sakura.3
Maliv version: malilib-fabric-1.21.4-0.23.2-sakura.5
I have included a crash report below, i have tried re installing the mods and saving multiple times
Thanks
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 2025-02-09 01:16:38
Description: mouseClicked event handler
java.lang.NoSuchMethodError: 'java.lang.String fi.dy.masa.malilib.util.FileUtils.generateSafeFileName(java.lang.String)'
at knot//fi.dy.masa.litematica.gui.GuiSchematicSave.(GuiSchematicSave.java:51)
at knot//fi.dy.masa.litematica.gui.GuiSchematicSave.(GuiSchematicSave.java:29)
at knot//fi.dy.masa.litematica.util.SchematicUtils.saveSchematic(SchematicUtils.java:85)
at knot//fi.dy.masa.litematica.gui.GuiAreaSelectionEditorNormal$ButtonListener.actionPerformedWithButton(GuiAreaSelectionEditorNormal.java:478)
at knot//fi.dy.masa.malilib.gui.button.ButtonBase.onMouseClickedImpl(ButtonBase.java:85)
at knot//fi.dy.masa.malilib.gui.widgets.WidgetBase.onMouseClicked(WidgetBase.java:94)
at knot//fi.dy.masa.malilib.gui.GuiBase.onMouseClicked(GuiBase.java:311)
at knot//fi.dy.masa.malilib.gui.GuiListBase.onMouseClicked(GuiListBase.java:92)
at knot//fi.dy.masa.malilib.gui.GuiBase.method_25402(GuiBase.java:253)
at knot//net.minecraft.class_312.method_1601(class_312.java:114)
at knot//net.minecraft.class_312.method_22686(class_312.java:215)
at knot//net.minecraft.class_1255.execute(class_1255.java:110)
at knot//net.minecraft.class_312.method_22684(class_312.java:215)
at knot//org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at knot//org.lwjgl.system.JNI.invokeV(Native Method)
at knot//org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at knot//com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:149)
at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:160)
at knot//net.minecraft.class_1041.method_15998(class_1041.java:318)
at knot//net.minecraft.class_310.method_1523(class_310.java:1361)
at knot//net.minecraft.class_310.method_1514(class_310.java:922)
at knot//net.minecraft.client.main.Main.main(Main.java:267)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at knot//fi.dy.masa.litematica.gui.GuiSchematicSave.(GuiSchematicSave.java:51)
at knot//fi.dy.masa.litematica.gui.GuiSchematicSave.(GuiSchematicSave.java:29)
at knot//fi.dy.masa.litematica.util.SchematicUtils.saveSchematic(SchematicUtils.java:85)
at knot//fi.dy.masa.litematica.gui.GuiAreaSelectionEditorNormal$ButtonListener.actionPerformedWithButton(GuiAreaSelectionEditorNormal.java:478)
at knot//fi.dy.masa.malilib.gui.button.ButtonBase.onMouseClickedImpl(ButtonBase.java:85)
at knot//fi.dy.masa.malilib.gui.widgets.WidgetBase.onMouseClicked(WidgetBase.java:94)
at knot//fi.dy.masa.malilib.gui.GuiBase.onMouseClicked(GuiBase.java:311)
at knot//fi.dy.masa.malilib.gui.GuiListBase.onMouseClicked(GuiListBase.java:92)
at knot//fi.dy.masa.malilib.gui.GuiBase.method_25402(GuiBase.java:253)
at knot//net.minecraft.class_312.method_1601(class_312.java:114)
at knot//net.minecraft.class_312.method_22686(class_312.java:215)
at knot//net.minecraft.class_1255.execute(class_1255.java:110)
at knot//net.minecraft.class_312.method_22684(class_312.java:215)
at knot//org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at knot//org.lwjgl.system.JNI.invokeV(Native Method)
at knot//org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at knot//com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:149)
at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:160)
-- Affected screen --
Details:
Screen name: fi.dy.masa.litematica.gui.GuiAreaSelectionEditorSimple
Stacktrace:
at knot//net.minecraft.class_312.method_1601(class_312.java:114)
at knot//net.minecraft.class_312.method_22686(class_312.java:215)
at knot//net.minecraft.class_1255.execute(class_1255.java:110)
at knot//net.minecraft.class_312.method_22684(class_312.java:215)
at knot//org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at knot//org.lwjgl.system.JNI.invokeV(Native Method)
at knot//org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at knot//com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:149)
at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:160)
at knot//net.minecraft.class_1041.method_15998(class_1041.java:318)
at knot//net.minecraft.class_310.method_1523(class_310.java:1361)
at knot//net.minecraft.class_310.method_1514(class_310.java:922)
at knot//net.minecraft.client.main.Main.main(Main.java:267)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
-- Mouse --
Details:
Scaled X: 48.5
Scaled Y: 221.0
Button: 0
Stacktrace:
at knot//net.minecraft.class_312.method_1601(class_312.java:114)
at knot//net.minecraft.class_312.method_22686(class_312.java:215)
at knot//net.minecraft.class_1255.execute(class_1255.java:110)
at knot//net.minecraft.class_312.method_22684(class_312.java:215)
at knot//org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at knot//org.lwjgl.system.JNI.invokeV(Native Method)
at knot//org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
at knot//com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:149)
at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:160)
at knot//net.minecraft.class_1041.method_15998(class_1041.java:318)
at knot//net.minecraft.class_310.method_1523(class_310.java:1361)
at knot//net.minecraft.class_310.method_1514(class_310.java:922)
at knot//net.minecraft.client.main.Main.main(Main.java:267)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
-- Uptime --
Details:
JVM uptime: 97.330s
Wall uptime: 85.889s
High-res time: 84.701s
Client ticks: 1533 ticks / 76.650s
Stacktrace:
at knot//net.minecraft.class_310.method_1587(class_310.java:2371)
at knot//net.minecraft.class_310.method_54580(class_310.java:991)
at knot//net.minecraft.class_310.method_1514(class_310.java:943)
at knot//net.minecraft.client.main.Main.main(Main.java:267)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
-- Affected level --
Details:
All players: 1 total; [class_746['IkanOpit'/34, l='ClientLevel', x=11.39, y=-60.00, z=1.48]]
Chunk stats: 961, 637
Level dimension: minecraft:overworld
Level spawn location: World: (0,-60,0), Section: (at 0,4,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: 68264 game time, 66594 day time
Server brand: fabric
Server type: Integrated singleplayer server
Tracked entity count: 32
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: fabric, fabric-api-base, fabric-networking-api-v1, fabric-resource-loader-v0, fabricloader, litematica, malilib, vanilla
-- System Details --
Details:
Minecraft Version: 1.21.4
Minecraft Version ID: 1.21.4
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 212582120 bytes (202 MiB) / 838860800 bytes (800 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Identifier: Intel64 Family 6 Model 94 Stepping 3
Microarchitecture: Skylake (Client)
Frequency (GHz): 2.59
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: Intel(R) HD Graphics 530
Graphics card #0 vendor: Intel Corporation
Graphics card #0 VRAM (MiB): 1024.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 31.0.101.2115
Graphics card #1 name: NVIDIA GeForce GTX 950M
Graphics card #1 vendor: NVIDIA
Graphics card #1 VRAM (MiB): 2048.00
Graphics card #1 deviceId: VideoController2
Graphics card #1 versionInfo: 32.0.15.6603
Memory slot #0 capacity (MiB): 8192.00
Memory slot #0 clockSpeed (GHz): 2.40
Memory slot #0 type: DDR4
Memory slot #1 capacity (MiB): 8192.00
Memory slot #1 clockSpeed (GHz): 2.40
Memory slot #1 type: DDR4
Virtual memory max (MiB): 26019.13
Virtual memory used (MiB): 10397.89
Swap memory total (MiB): 9728.00
Swap memory used (MiB): 132.28
Space in storage for jna.tmpdir (MiB): available: 40520.59, total: 243570.00
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 40520.59, total: 243570.00
Space in storage for io.netty.native.workdir (MiB): available: 40520.59, total: 243570.00
Space in storage for java.io.tmpdir (MiB): available: 40520.59, total: 243570.00
Space in storage for workdir (MiB): available: 40520.59, total: 243570.00
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Launched Version: fabric-loader-0.16.10-1.21.4
Launcher name: minecraft-launcher
Backend library: LWJGL version 3.3.3-snapshot
Backend API: NVIDIA GeForce GTX 950M/PCIe/SSE2 GL version 3.2.0 NVIDIA 566.03, NVIDIA Corporation
Window size: 1920x1080
GFLW Platform: win32
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Universe: 400921fb54442d18
Type: Integrated Server (map_client.txt)
Graphics mode: fast
Render Distance: 12/12 chunks
Resource Packs: fabric, fabric-api-base, fabric-networking-api-v1, fabric-resource-loader-v0, fabricloader, litematica, malilib, vanilla
Current Language: en_us
Locale: en_GB
System encoding: Cp1252
File encoding: UTF-8
CPU: 8x Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Server Running: true
Player Count: 1 / 8; [class_3222['IkanOpit'/34, l='ServerLevel[twcpu 1 chunk iron farm v2]', x=11.39, y=-60.00, z=1.48]]
Active Data Packs: vanilla, fabric
Available Data Packs: fabric, minecart_improvements, redstone_experiments, trade_rebalance, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: -8410797789261248468
Suppressed Exceptions: NONE
Use the correct litematica / malilib combinations.
I have just uploaded the latest litematica build to match -sakura.5