Dynamic Surroundings

Dynamic Surroundings

51M Downloads

Crash with Forge 14.23.2.2635

Opened this issue ยท 14 comments

commented

Mod Version:
1.12.2-3.4.9.9
Forge Version:
14.23.2.2635

Link to crash log (if applicable):
https://pastebin.com/UwuEv58E

Description:
Run the MC Launcher with Forge 2635 and game crashes before title screen appears

commented

Yep - it would. Back off to Forge 2634, They finally merged in the sound engine fix yesterday. I need to add some code to not do my sound patching.

commented

Good to know Forge have introduced a major (potentially breaking) feature. I updated my forge and all mods without know and now my installation is borked (same error).

commented

I compiled DS with the latest commit .still crashing .Is there code you have not pushed to Github yet ?

Crash log :

---- Minecraft Crash Report ----

WARNING: coremods are present:
DynamicSurroundingsCore (DynamicSurroundings-1.12.2-3.4.9.9.jar)
SoundFixPatchingLoader (AmbientSounds_v2.2.4_mc1.12.2.jar)
Contact their authors BEFORE contacting forge

// Don't be sad, have a hug! <3

Time: 3/25/18 8:12 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
at org.blockartistry.DynSurround.client.sound.SoundEngine.currentSoundCount(SoundEngine.java:169)
at org.blockartistry.DynSurround.client.sound.SoundEngine.canFitSound(SoundEngine.java:174)
at org.blockartistry.DynSurround.client.sound.SoundEngine.playSound(SoundEngine.java:252)
at org.blockartistry.DynSurround.client.gui.HumDinger.onGuiOpen(HumDinger.java:61)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_25_HumDinger_onGuiOpen_GuiOpenEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:982)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:544)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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

-- Head --
Thread: Client thread
Stacktrace:
at org.blockartistry.DynSurround.client.sound.SoundEngine.currentSoundCount(SoundEngine.java:169)
at org.blockartistry.DynSurround.client.sound.SoundEngine.canFitSound(SoundEngine.java:174)
at org.blockartistry.DynSurround.client.sound.SoundEngine.playSound(SoundEngine.java:252)
at org.blockartistry.DynSurround.client.gui.HumDinger.onGuiOpen(HumDinger.java:61)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_25_HumDinger_onGuiOpen_GuiOpenEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraft.client.Minecraft.func_147108_a(Minecraft.java:982)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:544)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_162, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 155057312 bytes (147 MB) / 424161280 bytes (404 MB) up to 3207856128 bytes (3059 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.2.2635 7 mods loaded, 7 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

| State  | ID            | Version      | Source                                 | Signature                                |
|:------ |:------------- |:------------ |:-------------------------------------- |:---------------------------------------- |
| UCHIJA | minecraft     | 1.12.2       | minecraft.jar                          | None                                     |
| UCHIJA | mcp           | 9.42         | minecraft.jar                          | None                                     |
| UCHIJA | FML           | 8.0.99.99    | forge-1.12.2-14.23.2.2635.jar          | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJA | forge         | 14.23.2.2635 | forge-1.12.2-14.23.2.2635.jar          | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJA | ambientsounds | 2.0.0        | AmbientSounds_v2.2.4_mc1.12.2.jar      | None                                     |
| UCHIJA | dsurround     | 3.4.9.9      | DynamicSurroundings-1.12.2-3.4.9.9.jar | None                                     |
| UCHIJA | presets       | 3.4.9.9      | DynamicSurroundings-1.12.2-3.4.9.9.jar | None                                     |

Loaded coremods (and transformers): 

DynamicSurroundingsCore (DynamicSurroundings-1.12.2-3.4.9.9.jar)
org.blockartistry.DynSurround.asm.Transformer
SoundFixPatchingLoader (AmbientSounds_v2.2.4_mc1.12.2.jar)
com.creativemd.ambientsounds.soundfix.SoundFixTransformer
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 391.24' Renderer: 'GeForce GTX 1060 6GB/PCIe/SSE2'
Launched Version: 1.12.2-forge1.12.2-14.23.2.2635
LWJGL: 2.9.4
OpenGL: GeForce GTX 1060 6GB/PCIe/SSE2 GL version 4.6.0 NVIDIA 391.24, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: MSI-Matmos-r37.zip, PF.1.12.2.Resources.zip
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 8x Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz 
commented

Remove ambient sounds to see if it works. Reason is that I don't think it has been updated to take into account that Forge has this patch. (AmbientSounds and Dynamic Surroundings uses the same patch that was integrated into Forge.)

commented

yes it works without the AmbientSounds

commented

OK. AmbientSounds needs to update. The sound fix went into Forge yesterday. :)

commented

im getting the crash with slimeknights in tinkers:

---- Minecraft Crash Report ----
https://pastebin.com/jPCDRv6a

commented

Not sure how that crash applies to Dynamic Surroundings.

commented

Actually I created this pr, we all knew about it. Just use an older forge version for now, until all the mods have fixed it (a fix for AmbientSounds has been uploaded already).

commented

A question: does "AmbientSounds" is embed on DS? Because i dont have it and still have the crash on b2635

commented

Assuming you didn't build DS yourself and are using the latest BETA from CurseForge, yes, it will crash irrespective of AmbientSounds. That is what this issue is all about. I have a fix in GitHub but it has not made it to CurseForge as of yet.

commented

Ok, will wait. thanks for your patience!

commented

No worries. I plan to have a release tomorrow (Wednesday) assuming my testing holds.

commented

Pushed v.3.4.9.10 with the version detection code to apply the patch if needed.