Jump to content

Crash When Joining Worlds


zelda73021

Recommended Posts

Hi, I have the Flans mod installed, and when I try to join a world, it crashes.

 

Heres the crash report:

 

---- Minecraft Crash Report ----

// I let you down. Sorry :(

 

Time: 4/28/15 5:38 PM

Description: Unexpected error

 

java.lang.IndexOutOfBoundsException

at java.nio.Buffer.checkIndex(Buffer.java:540)

at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253)

at net.minecraft.client.renderer.RenderGlobal.func_72712_a(RenderGlobal.java:350)

at net.minecraft.client.renderer.RenderGlobal.func_72732_a(RenderGlobal.java:294)

at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2216)

at net.minecraft.client.Minecraft.func_71403_a(Minecraft.java:2146)

at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:240)

at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:70)

at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:13)

at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)

at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:2061)

at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)

at net.minecraft.client.main.Main.main(SourceFile:148)

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:483)

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 --

Stacktrace:

at java.nio.Buffer.checkIndex(Buffer.java:540)

at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253)

at net.minecraft.client.renderer.RenderGlobal.func_72712_a(RenderGlobal.java:350)

at net.minecraft.client.renderer.RenderGlobal.func_72732_a(RenderGlobal.java:294)

at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2216)

at net.minecraft.client.Minecraft.func_71403_a(Minecraft.java:2146)

at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:240)

at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:70)

at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:13)

at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)

 

-- Affected level --

Details:

Level name: MpServer

All players: 0 total; []

Chunk stats: MultiplayerChunkCache: 0, 0

Level seed: 0

Level generator: ID 01 - flat, ver 0. 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: creative (ID 1). 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:373)

at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2444)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:927)

at net.minecraft.client.main.Main.main(SourceFile:148)

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:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.8.0_25, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 113025936 bytes (107 MB) / 288956416 bytes (275 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.05 FML v7.10.130.1395 Minecraft Forge 10.13.3.1395 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{7.10.130.1395} [Forge Mod Loader] (forge-1.7.10-10.13.3.1395-1710ls.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.13.3.1395} [Minecraft Forge] (forge-1.7.10-10.13.3.1395-1710ls.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

flansmod{4.10.0} [Flan's Mod] (Flans Mod-1.7.10-4.10.0 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.4.0' Renderer: 'GeForce GTX 745/PCIe/SSE2'

Launched Version: 1.7.10-Forge10.13.3.1395-1710ls

LWJGL: 2.9.1

OpenGL: GeForce GTX 745/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation

GL Caps: Using GL 1.3 multitexturing.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Anisotropic filtering is supported and maximum anisotropy is 16.

Shaders are available because OpenGL 2.1 is supported.

 

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)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Anisotropic Filtering: Off (1)

Link to comment
Share on other sites

I was able to get into the world, but once i spawned something it crashed.

 

---- Minecraft Crash Report ----

// Who set us up the TNT?

 

Time: 4/28/15 8:17 PM

Description: Ticking entity

 

java.lang.NullPointerException: Ticking entity

at com.flansmod.common.driveables.EntityPlane.func_70071_h_(EntityPlane.java:515)

at net.minecraft.world.World.func_72866_a(World.java:2070)

at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)

at net.minecraft.world.World.func_72870_g(World.java:2034)

at net.minecraft.world.World.func_72939_s(World.java:1887)

at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)

at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

 

 

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

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at com.flansmod.common.driveables.EntityPlane.func_70071_h_(EntityPlane.java:515)

at net.minecraft.world.World.func_72866_a(World.java:2070)

at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)

at net.minecraft.world.World.func_72870_g(World.java:2034)

 

-- Entity being ticked --

Details:

Entity Type: Plane (com.flansmod.common.driveables.EntityPlane)

Entity ID: 94812

Entity Name: Minecraft Helicopter

Entity's Exact location: -456.50, 5.50, 459.50

Entity's Block location: World: (-457,5,459), Chunk: (at 7,0,11 in -29,28; contains blocks -464,0,448 to -449,255,463), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

Entity's Momentum: 0.00, -0.09, 0.00

Stacktrace:

at net.minecraft.world.World.func_72939_s(World.java:1887)

at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)

 

-- Affected level --

Details:

Level name: Mod Review

All players: 1 total; [EntityPlayerMP['Zelda73021'/184, l='Mod Review', x=-460.16, y=4.00, z=456.96]]

Chunk stats: ServerChunkCache: 626 Drop: 0

Level seed: -4727837606078540682

Level generator: ID 01 - flat, ver 0. Features enabled: false

Level generator options:

Level spawn location: World: (-478,4,470), Chunk: (at 2,0,6 in -30,29; contains blocks -480,0,464 to -465,255,479), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

Level time: 31203 game time, 13716 day time

Level dimension: 0

Level storage version: 0x04ABD - Anvil

Level weather: Rain time: 20801 (now: true), thunder time: 95145 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true

Stacktrace:

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)

at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.8.0_25, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 99496160 bytes (94 MB) / 305635328 bytes (291 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.05 FML v7.10.130.1395 Minecraft Forge 10.13.3.1395 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{7.10.130.1395} [Forge Mod Loader] (forge-1.7.10-10.13.3.1395-1710ls.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.13.3.1395} [Minecraft Forge] (forge-1.7.10-10.13.3.1395-1710ls.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

flansmod{4.10.0} [Flan's Mod] (Flans Mod-1.7.10-4.10.0 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.

Profiler Position: N/A (disabled)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Player Count: 1 / 8; [EntityPlayerMP['Zelda73021'/184, l='Mod Review', x=-460.16, y=4.00, z=456.96]]

Type: Integrated Server (map_client.txt)

Is Modded: Definitely; Client brand changed to 'fml,forge'

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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.