OreCruncher / DynamicSurroundingsFabric

Dynamic Surroundings mod for Minecraft
MIT License
66 stars 25 forks source link

NullPointerException of some kind #11

Closed prototype464 closed 10 months ago

prototype464 commented 2 years ago

I was just standing in a lobby on my locally hosted server (small grassy island in the middle of a massive void), tweaking the individual sound config when my game decided death was better than existing, here's the crash log:

(Using Fabric Loader 0.11.7 with Fabric API version 0.42.1, also using OptiFine via OptiFabric)

---- Minecraft Crash Report ----
// Shall we play a game?

Time: 11/7/21, 12:30 AM
Description: Rendering screen

java.lang.NullPointerException: Cannot invoke "String.isEmpty()" because "☃" is null
    at net.minecraft.class_5481.method_30747(class_5481.java:20)
    at org.orecruncher.dsurround.gui.sound.IndividualSoundControlListEntry.getToolTip(IndividualSoundControlListEntry.java:227)
    at org.orecruncher.dsurround.gui.sound.IndividualSoundControlScreen.method_25394(IndividualSoundControlScreen.java:156)
    at net.minecraft.class_757.method_3192(class_757.java:1273)
    at net.minecraft.class_310.method_1523(class_310.java:1112)
    at net.minecraft.class_310.method_1514(class_310.java:728)
    at net.minecraft.client.main.Main.main(Main.java:217)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
    at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)

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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.class_5481.method_30747(class_5481.java:20)
    at org.orecruncher.dsurround.gui.sound.IndividualSoundControlListEntry.getToolTip(IndividualSoundControlListEntry.java:227)
    at org.orecruncher.dsurround.gui.sound.IndividualSoundControlScreen.method_25394(IndividualSoundControlScreen.java:156)

-- Screen render details --
Details:
    Screen name: org.orecruncher.dsurround.gui.sound.IndividualSoundControlScreen
    Mouse location: Scaled: (379, 236). Absolute: (758.000000, 472.000000)
    Screen size: Scaled: (960, 509). Absolute: (1920, 1017). Scale factor of 2.000000

-- Affected level --
Details:
    All players: 1 total; [class_746['prototype464'/135, l='ClientLevel', x=-34.90, y=62.00, z=-7.81]]
    Chunk stats: 961, 729
    Level dimension: minecraft:overworld
    Level spawn location: World: (0,65,0), Section: (at 0,1,0 in 0,4,0; chunk contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 19468 game time, 18000 day time
    Server brand: Airplane (Velocity)
    Server type: Non-integrated multiplayer server
Stacktrace:
    at net.minecraft.class_638.method_8538(class_638.java:467)
    at net.minecraft.class_310.method_1587(class_310.java:2399)
    at net.minecraft.class_310.method_1514(class_310.java:747)
    at net.minecraft.client.main.Main.main(Main.java:217)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
    at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)

-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: Default, Fabric Mods, lolbeacon.zip, Programmer Art, developer-art-v1-16-4-5.zip, ctm-devart-v1-16-3.zip, VanillaTweaks_r380119.zip, replaymod_lang

-- System Details --
Details:
    Minecraft Version: 1.17.1
    Minecraft Version ID: 1.17.1
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 16.0.2, Eclipse Foundation
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Foundation
    Memory: 2519165440 bytes (2402 MiB) / 4294967296 bytes (4096 MiB) up to 4294967296 bytes (4096 MiB)
    CPUs: 8
    Processor Vendor: GenuineIntel
    Processor Name: Intel(R) Core(TM) i7 CPU         965  @ 3.20GHz
    Identifier: Intel64 Family 6 Model 26 Stepping 4
    Microarchitecture: Nehalem (Server)
    Frequency (GHz): 3.20
    Number of physical packages: 1
    Number of physical CPUs: 4
    Number of logical CPUs: 8
    Graphics card #0 name: NVIDIA GeForce GTX 680
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 2048.00
    Graphics card #0 deviceId: 0x1180
    Graphics card #0 versionInfo: DriverVersion=30.0.14.7212
    Memory slot #0 capacity (MB): 4096.00
    Memory slot #0 clockSpeed (GHz): 1.33
    Memory slot #0 type: Other
    Memory slot #1 capacity (MB): 4096.00
    Memory slot #1 clockSpeed (GHz): 1.33
    Memory slot #1 type: Other
    Memory slot #2 capacity (MB): 4096.00
    Memory slot #2 clockSpeed (GHz): 1.33
    Memory slot #2 type: Other
    Memory slot #3 capacity (MB): 4096.00
    Memory slot #3 clockSpeed (GHz): 1.33
    Memory slot #3 type: Other
    Memory slot #4 capacity (MB): 4096.00
    Memory slot #4 clockSpeed (GHz): 1.33
    Memory slot #4 type: Other
    Memory slot #5 capacity (MB): 4096.00
    Memory slot #5 clockSpeed (GHz): 1.33
    Memory slot #5 type: Other
    Virtual memory max (MB): 49143.11
    Virtual memory used (MB): 21176.70
    Swap memory total (MB): 24576.00
    Swap memory used (MB): 339.46
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms4096m -Xmx4096m
    Fabric Mods: 
        cloth-basic-math: Cloth Basic Math 0.5.1
        cloth-config2: Cloth Config v5 5.0.38
        dsurround: §6Dynamic Surroundings§r: §eFabric Edition 0.0.4
        fabric: Fabric API 0.42.1+1.17
        fabric-api-base: Fabric API Base 0.4.0+5847535018
        fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.1+5847535018
        fabric-biome-api-v1: Fabric Biome API (v1) 3.2.2+5847535018
        fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.6+5847535018
        fabric-command-api-v1: Fabric Command API (v1) 1.1.4+5847535018
        fabric-commands-v0: Fabric Commands (v0) 0.2.3+5847535018
        fabric-containers-v0: Fabric Containers (v0) 0.1.13+5847535018
        fabric-content-registries-v0: Fabric Content Registries (v0) 0.3.1+5847535018
        fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.6+5847535018
        fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.13+5847535018
        fabric-entity-events-v1: Fabric Entity Events (v1) 1.3.1+5847535018
        fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.11+5847535018
        fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.2+5847535018
        fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.8+5847535018
        fabric-item-api-v1: Fabric Item API (v1) 1.2.5+5847535018
        fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.1+5847535018
        fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.5+5847535018
        fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.3+5847535018
        fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.5+5847535018
        fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.5+5847535018
        fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.2+6d0fac4218
        fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.5+6d0fac4218
        fabric-models-v0: Fabric Models (v0) 0.3.1+5847535018
        fabric-networking-api-v1: Fabric Networking API (v1) 1.0.14+5847535018
        fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.12+5847535018
        fabric-networking-v0: Fabric Networking (v0) 0.3.3+5847535018
        fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.11+6d0fac4218
        fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.5+6d0fac4218
        fabric-particles-v1: Fabric Particles (v1) 0.2.5+5847535018
        fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.13+5847535018
        fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.5+5847535018
        fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.9+5847535018
        fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.6+6d0fac4218
        fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.6+5847535018
        fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.2.1+6d0fac4218
        fabric-rendering-v0: Fabric Rendering (v0) 1.1.7+6d0fac4218
        fabric-rendering-v1: Fabric Rendering (v1) 1.10.1+6d0fac4218
        fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.9+5847535018
        fabric-screen-api-v1: Fabric Screen API (v1) 1.0.5+5847535018
        fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.9+5847535018
        fabric-structure-api-v1: Fabric Structure API (v1) 1.1.14+5847535018
        fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.2+5847535018
        fabric-textures-v0: Fabric Textures (v0) 1.0.7+5847535018
        fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.1+eb76084f18
        fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.1+6d0fac4218
        fabricloader: Fabric Loader 0.11.7
        java: OpenJDK 64-Bit Server VM 16
        kirin: Kirin UI 1.9.1
        minecraft: Minecraft 1.17.1
        mm: Manningham Mills 2.3
        modmenu: Mod Menu 2.0.14
        optifabric: OptiFabric 1.11.20
        org_openjdk_nashorn_nashorn-core: nashorn-core 15.3
        presencefootsteps: Presence Footsteps r32-1.17-rc1
        replaymod: Replay Mod 1.17.1-2.6.1
        xaerobetterpvp: Better PVP Mod 21.21.0
        xaeroworldmap: Xaero's World Map 1.18.1
    Launched Version: MultiMC5
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: NVIDIA GeForce GTX 680/PCIe/SSE2 GL version 3.2.0 NVIDIA 472.12, NVIDIA Corporation
    Window size: 1920x1017
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: id=1280, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_ENUM error generated. Operation is not valid from the core profile.' x 1
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fabric'
    Type: Client (map_client.txt)
    Graphics mode: fast
    Resource Packs: vanilla, Fabric Mods, file/lolbeacon.zip (incompatible), programer_art, file/developer-art-v1-16-4-5.zip (incompatible), file/ctm-devart-v1-16-3.zip (incompatible), file/VanillaTweaks_r380119.zip (incompatible)
    Current Language: English (US)
    CPU: 8x Intel(R) Core(TM) i7 CPU 965 @ 3.20GHz
    OptiFine Version: OptiFine_1.17.1_HD_U_G9
    OptiFine Build: 20210831-004129
    Render Distance Chunks: 16
    Mipmaps: 0
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 3.2.0 NVIDIA 472.12
    OpenGlRenderer: NVIDIA GeForce GTX 680/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 8

-- OptiFabric --
Details:
    OptiFine jar designed for: 1.17.1
    OptiFine jar version: OptiFine_1.17.1_HD_U_G9
    OptiFine jar status: Valid OptiFine installer
    OptiFine remapped jar: C:/Users/james/Desktop/MultiMC/instances/Main (Modded)/.minecraft/.optifine/OptiFine_1.17.1_HD_U_G9/Optifine-mapped.jar
    OptiFabric error: <None>
HarvelsX commented 2 years ago

Mark it as bug

OreCruncher commented 10 months ago

Closing. Current updates revamped out the dialog works..