Jump to content

Minecraft forge crash, need help.


Secrumm

Recommended Posts

I tried to fix it alocating more memory to the game, but when i alocate more than 1300M it just instacrashes without report. In a few days im gonna try with a x64 system. Crash report:

(I have 4g ram, 3.4 usable ram. it works perfectly if i only let the game use 800M, such a random thing)

---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 12/19/20 7:33 AM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
    at net.minecraft.world.World.getSkyColorBody(World.java:1487)
    at net.minecraft.world.WorldProvider.getSkyColor(WorldProvider.java:463)
    at net.minecraft.world.World.func_72833_a(World.java:1478)
    at net.minecraft.client.renderer.EntityRenderer.func_78466_h(EntityRenderer.java:1723)
    at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1273)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1062)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    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 net.minecraft.world.World.getSkyColorBody(World.java:1487)
    at net.minecraft.world.WorldProvider.getSkyColor(WorldProvider.java:463)
    at net.minecraft.world.World.func_72833_a(World.java:1478)
    at net.minecraft.client.renderer.EntityRenderer.func_78466_h(EntityRenderer.java:1723)
    at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1273)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259)

-- Affected level --
Details:
    Level name: MpServer
    All players: 0 total; []
    Chunk stats: MultiplayerChunkCache: 0, 0
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; 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: 0 game time, 0 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 0 total; []
    Retry entities: 0 total; []
    Server brand: ~~ERROR~~ NullPointerException: null
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:420)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2741)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:427)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    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 7 (x86) version 6.1
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 411301144 bytes (392 MB) / 1258291200 bytes (1200 MB) up to 1375731712 bytes (1312 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1300M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
    IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 94
    FML: MCP 9.42 Powered by Forge 14.23.5.2854 19 mods loaded, 19 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                                |
    |:------ |:------------------- |:---------------- |:------------------------------------ |:---------------------------------------- |
    | LCHIJA | minecraft           | 1.12.2           | minecraft.jar                        | None                                     |
    | LCHIJA | mcp                 | 9.42             | minecraft.jar                        | None                                     |
    | LCHIJA | FML                 | 8.0.99.99        | forge-1.12.2-14.23.5.2854.jar        | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | forge               | 14.23.5.2854     | forge-1.12.2-14.23.5.2854.jar        | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | jei                 | 4.16.1.301       | jei_1.12.2-4.16.1.301.jar            | None                                     |
    | LCHIJA | abyssalcraft        | 1.10.3           | AbyssalCraft-1.12.2-1.10.3.jar       | 220f10d3a93b3ff5fbaa7434cc629d863d6751b9 |
    | LCHIJA | aquaculture         | 1.6.8            | Aquaculture-1.12.2-1.6.8.jar         | None                                     |
    | LCHIJA | baubles             | 1.5.2            | Baubles-1.12-1.5.2.jar               | None                                     |
    | LCHIJA | bibliocraft         | 2.4.5            | BiblioCraft[v2.4.5][MC1.12.2].jar    | None                                     |
    | LCHIJA | guideapi            | 1.12-2.1.8-63    | Guide-API-1.12-2.1.8-63.jar          | None                                     |
    | LCHIJA | bloodmagic          | 1.12.2-2.4.1-103 | BloodMagic-1.12.2-2.4.1-103.jar      | None                                     |
    | LCHIJA | cucumber            | 1.1.2            | Cucumber-1.12.2-1.1.2.jar            | None                                     |
    | LCHIJA | inventorypets       | 1.5.3.1          | inventorypets-1.12-1.5.3.1.jar       | None                                     |
    | LCHIJA | mysticalagriculture | 1.7.5            | MysticalAgriculture-1.12.2-1.7.5.jar | None                                     |
    | LCHIJA | patchouli           | 1.0-20           | Patchouli-1.0-20.jar                 | None                                     |
    | LCHIJA | roguelike           | 1.8.0            | RoguelikeDungeons-1.12.2-1.8.0.jar   | None                                     |
    | LCHIJA | somanyenchantments  | 0.4.4            | So+Many+Enchantments+V0.4.4.jar      | None                                     |
    | LCHIJA | thaumcraft          | 6.1.BETA26       | Thaumcraft-1.12.2-6.1.BETA26.jar     | None                                     |
    | LCHIJA | waystones           | 4.0.72           | Waystones_1.12.2-4.0.72.jar          | None                                     |

    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 391.35' Renderer: 'GeForce GT 730/PCIe/SSE2/3DNOW!'
    Launched Version: 1.12.2-forge-14.23.5.2854
    LWJGL: 2.9.4
    OpenGL: GeForce GT 730/PCIe/SSE2/3DNOW! GL version 4.6.0 NVIDIA 391.35, 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: 
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 4x AMD Phenom(tm) II X4 955 Processor

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Yeah, Minecraft.getInstance().player only works on the client side. Is there a way to get the player from the NetworkEvent.Context?
    • I have tried multimc, prism, and curseforge. They all crash without creating any logs.
    • I play with friends a server with mods, funny enough im the only one getting the error. Link to the crash error:https://pastebin.com/Qgn57EXZ
    • I have a keybind where you spit like a llama. On singleplayer both the entity and particle spawn and it's sound is played (https://youtu.be/bpxnFDuWw_I). But on a server only the entity is spawned and nothing else (https://youtu.be/veVQ4zSqnIA), no particles nor sound. Upon starting the server I have noticed this error in the window (https://postimg.cc/K3KDCpMY), don't know if it's relevant. The server works fine but when I want to spit the following pops up in the serverlog '''Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER''' (https://postimg.cc/LqTDP1Sm). I have prepared the following code of the Server-to-Client packet class which I have made to spawn mentioned particles and sounds. package mett.palemannie.tabakmod.networking.packets; import net.minecraft.client.Minecraft; import net.minecraft.core.particles.ParticleTypes; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.sounds.SoundEvents; import net.minecraft.util.RandomSource; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class SpuckEffektS2CPacket { public SpuckEffektS2CPacket(){ } public SpuckEffektS2CPacket(FriendlyByteBuf buf){ } public void toBytes(FriendlyByteBuf buf){ } public boolean handle(Supplier<NetworkEvent.Context> supplier){ NetworkEvent.Context context = supplier.get(); context.enqueueWork(()-> { Player player = Minecraft.getInstance().player; //Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER Level level = Minecraft.getInstance().level; RandomSource rdm = RandomSource.create(); float r = rdm.nextInt(80, 120) / 100f; player.playSound(SoundEvents.LLAMA_SPIT, 1f, r); Vec3 MausPos = player.getEyePosition(); Vec3 SchauWinkel = player.getLookAngle(); level.addParticle(ParticleTypes.SPIT, true, MausPos.x, MausPos.y, MausPos.z, SchauWinkel.x/4, SchauWinkel.y/4, SchauWinkel.z/4); }); return true; } } Is there an alternative to Minecraft.getInstance().player;? dumb question. I have looked at other mods (MrCrayfish's Gun Mod, Ars Noveau, Apotheosis) on how they handle such server-to-client sound and particles but I haven't got any wiser.    
    • i keep getting error on minecraft when im trying to play modpack. When i go to logs folder i got this. 
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.