Sweenus / SimplySkills

Other
11 stars 15 forks source link

Crash #2

Closed VanCock closed 11 months ago

VanCock commented 11 months ago

Hi there, I'm here to report a crash (from what I've seen probably caused by player tick on multiplayer, affects single player as well, may be wrong), here's a crash report, bit sad was hoping to check you're new mod, love you're work btw, anyway here's the log :

Time: 2023-07-18 12:41:57 Description: Ticking entity

java.util.NoSuchElementException: No value present at java.base/java.util.Optional.get(Optional.java:143) at net.minecraft.class_3222.handler$zll001$simplyskills$tick(class_3222.java:5820) at net.minecraft.class_3222.method_5773(class_3222.java) at net.minecraft.class_3218.method_18762(class_3218.java:712) at net.minecraft.class_1937.method_18472(class_1937.java:466) at net.minecraft.class_3218.method_31420(class_3218.java:371) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:339) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) at net.minecraft.class_1132.method_3748(class_1132.java:98) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) at java.base/java.lang.Thread.run(Thread.java:833)

hope that can help you fix the problem, in case you need more detailed crash report don't hesitate to ask, good luck and have a wonderful day, cheers. ❤️

Sweenus commented 11 months ago

Thank you for the report!

If you're able to send me the full crashlog that would be great! Also, did you have any passive abilities unlocked at the time? At a glance it looks like I'm trying to retrieve a value that doesn't exist.

VanCock commented 11 months ago

Ye no problem, and no it was freshly created world, purely to check out you're mod, here you go :

---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic.

Time: 2023-07-18 12:41:57 Description: Ticking entity

java.util.NoSuchElementException: No value present at java.base/java.util.Optional.get(Optional.java:143) at net.minecraft.class_3222.handler$zll001$simplyskills$tick(class_3222.java:5820) at net.minecraft.class_3222.method_5773(class_3222.java) at net.minecraft.class_3218.method_18762(class_3218.java:712) at net.minecraft.class_1937.method_18472(class_1937.java:466) at net.minecraft.class_3218.method_31420(class_3218.java:371) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:339) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) at net.minecraft.class_1132.method_3748(class_1132.java:98) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) at java.base/java.lang.Thread.run(Thread.java:833)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Server thread Stacktrace: at java.base/java.util.Optional.get(Optional.java:143) at net.minecraft.class_3222.handler$zll001$simplyskills$tick(class_3222.java:5820) at net.minecraft.class_3222.method_5773(class_3222.java) at net.minecraft.class_3218.method_18762(class_3218.java:712) at net.minecraft.class_1937.method_18472(class_1937.java:466) at net.minecraft.class_3218.method_31420(class_3218.java:371) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:339)

-- Entity being ticked -- Details: Entity Type: minecraft:player (net.minecraft.class_3222) Entity ID: 250 Entity Name: VanCock Entity's Exact location: 198.50, 70.00, -6.50 Entity's Block location: World: (198,70,-7), Section: (at 6,6,9 in 12,4,-1; chunk contains blocks 192,-64,-16 to 207,319,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1) Entity's Momentum: 0.00, 0.00, 0.00 Entity's Passengers: [] Entity's Vehicle: null Stacktrace: at net.minecraft.class_1937.method_18472(class_1937.java:466) at net.minecraft.class_3218.method_31420(class_3218.java:371) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:339) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) at net.minecraft.class_1132.method_3748(class_1132.java:98) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) at java.base/java.lang.Thread.run(Thread.java:833)

-- Affected level -- Details: All players: 1 total; [class_3222['VanCock'/250, l='ServerLevel[New World]', x=198.50, y=70.00, z=-6.50]] Chunk stats: 2209 Level dimension: minecraft:overworld Level spawn location: World: (208,72,0), Section: (at 0,8,0 in 13,4,0; chunk contains blocks 208,-64,0 to 223,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511) Level time: 14 game time, 14 day time Level name: New World Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Level weather: Rain time: 88354 (now: false), thunder time: 118236 (now: false) Known server brands: fabric Level was modded: true Level storage version: 0x04ABD - Anvil Stacktrace: at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) at net.minecraft.class_1132.method_3748(class_1132.java:98) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) at java.base/java.lang.Thread.run(Thread.java:833)

-- System Details -- Details: Minecraft Version: 1.19.2 Minecraft Version ID: 1.19.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.3, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 698813576 bytes (666 MiB) / 2080374784 bytes (1984 MiB) up to 2147483648 bytes (2048 MiB) CPUs: 12 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 5 5600G with Radeon Graphics
Identifier: AuthenticAMD Family 25 Model 80 Stepping 0 Microarchitecture: Zen 3 Frequency (GHz): 3.90 Number of physical packages: 1 Number of physical CPUs: 6 Number of logical CPUs: 12 Graphics card #0 name: NVIDIA GeForce GTX 1650 Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095.00 Graphics card #0 deviceId: 0x1f82 Graphics card #0 versionInfo: DriverVersion=31.0.15.3179 Graphics card #1 name: AMD Radeon(TM) Graphics Graphics card #1 vendor: Advanced Micro Devices, Inc. (0x1002) Graphics card #1 VRAM (MB): 0.00 Graphics card #1 deviceId: 0x1638 Graphics card #1 versionInfo: DriverVersion=31.0.12027.9001 Memory slot #0 capacity (MB): 16384.00 Memory slot #0 clockSpeed (GHz): 2.40 Memory slot #0 type: DDR4 Virtual memory max (MB): 18212.00 Virtual memory used (MB): 13376.29 Swap memory total (MB): 2432.00 Swap memory used (MB): 4.62 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 Fabric Mods: bendy-lib: Bendy api 2.1.1 cloth-config: Cloth Config v8 8.3.103 cloth-basic-math: cloth-basic-math 0.6.1 fabric-api: Fabric API 0.76.0+1.19.2 fabric-api-base: Fabric API Base 0.4.15+8f4e8eb390 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.14+93d8cb8290 fabric-biome-api-v1: Fabric Biome API (v1) 9.1.1+16f1e31390 fabric-block-api-v1: Fabric Block API (v1) 1.0.2+e415d50e90 fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.25+cafc6e8e90 fabric-client-tags-api-v1: Fabric Client Tags 1.0.5+b35fea8390 fabric-command-api-v1: Fabric Command API (v1) 1.2.16+f71b366f90 fabric-command-api-v2: Fabric Command API (v2) 2.2.1+413cbbc790 fabric-commands-v0: Fabric Commands (v0) 0.2.33+df3654b390 fabric-containers-v0: Fabric Containers (v0) 0.1.41+df3654b390 fabric-content-registries-v0: Fabric Content Registries (v0) 3.5.2+7c6cd14d90 fabric-convention-tags-v1: Fabric Convention Tags 1.3.0+4bc6e26290 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.8+aeb40ebe90 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.3.8+413cbbc790 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.35+0d0f210290 fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.4+9244241690 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.34+562bff6e90 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.36+df3654b390 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.24+b6b6abb490 fabric-item-api-v1: Fabric Item API (v1) 1.6.6+b7d1888890 fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.39+9244241690 fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.25+5c4fce2890 fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.23+df3654b390 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.4+1b46dc7890 fabric-loot-api-v2: Fabric Loot API (v2) 1.1.13+83a8659290 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.16+9e7660c690 fabric-message-api-v1: Fabric Message API (v1) 5.0.7+93d8cb8290 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.24+33fbc73890 fabric-models-v0: Fabric Models (v0) 0.3.21+c6af733c90 fabric-networking-api-v1: Fabric Networking API (v1) 1.2.11+10eb22f490 fabric-networking-v0: Fabric Networking (v0) 0.3.28+df3654b390 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.2.2+d8ef690890 fabric-particles-v1: Fabric Particles (v1) 1.0.14+4d0d570390 fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.1+413cbbc790 fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.32+9244241690 fabric-renderer-api-v1: Fabric Renderer API (v1) 1.2.1+1adbf27790 fabric-renderer-indigo: Fabric Renderer - Indigo 0.8.0+1adbf27790 fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.24+df3654b390 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.19+6e0787e690 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.11+4d0d570390 fabric-rendering-v0: Fabric Rendering (v0) 1.1.27+df3654b390 fabric-rendering-v1: Fabric Rendering (v1) 1.12.1+d8ef690890 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.1.2+aae9039d90 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.8.4+edbdcddb90 fabric-screen-api-v1: Fabric Screen API (v1) 1.0.32+4d0d570390 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.7+1cc24b1b90 fabric-sound-api-v1: Fabric Sound API (v1) 1.0.2+c4f28df590 fabric-textures-v0: Fabric Textures (v0) 1.0.24+aeb40ebe90 fabric-transfer-api-v1: Fabric Transfer API (v1) 2.1.6+413cbbc790 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.3.3+08b73de490 fabricloader: Fabric Loader 0.14.21 java: OpenJDK 64-Bit Server VM 17 minecraft: Minecraft 1.19.2 player-animator: Player Animator 1.0.2 puffish_skills: Pufferfish's Skills 0.4.0 simplyskills: Simply Skills BETA 0.04 spell_engine: Spell Engine 0.9.24+1.19 com_github_llamalad7_mixinextras: MixinExtras 0.1.1 spell_power: Spell Power Attribute 0.9.12+1.19 trinkets: Trinkets 3.4.2 cardinal-components-base: Cardinal Components API (base) 5.0.0-beta.1 cardinal-components-entity: Cardinal Components API (entities) 5.0.0-beta.1 Server Running: true Player Count: 1 / 8; [class_3222['VanCock'/250, l='ServerLevel[New World]', x=198.50, y=70.00, z=-6.50]] Data Packs: vanilla, Fabric Mods World Generation: Experimental Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric' Launched Version: fabric-loader-0.14.21-1.19.2

Sweenus commented 11 months ago

Thank you! Could you try deleting the Puffish Skills config folder on both client & server and rebooting to see if the crash still occurs?

VanCock commented 11 months ago

It did work, well it opens world, but I will test it to see if there may be other issues, just in case, thanks. ^^

Sweenus commented 11 months ago

Awesome! Glad to hear it I'm certain you'll run into more bugs, but hopefully no hard crashes like that one 🙂 Any and all reports of bugs/crashes are very welcome if you do experience them.