Jump to content

Recommended Posts

Posted

Hi, first time here, and as i updated my Forge to 1.9 from 1.8.9, this bug came up.

 

Notes:

I am using Normal Minecraft client, from Minecraft.net.

I can still enter and create other worlds, but not this world(I created this world with my previous mod installed, forge 1.8.9.)

This world is Amplified(don't know if this is important)

As said, I'm using Minecraft Forge 1.9-12.16.1.1887 AND Optifine 1.9.0 HD U B3

also. i can still enter to the start screen, change resource packs and setting, but not enter this specific world.

World name is "letsgo"(Maybe usefull)

 

Any help would be great.

 

---- Minecraft Crash Report ----

 

WARNING: coremods are present:

Contact their authors BEFORE contacting forge

 

// Who set us up the TNT?

 

Time: 05/07/16 22:05

Description: Ticking player

 

java.lang.NullPointerException: Ticking player

at net.minecraft.world.World.func_180495_p(World.java:828)

at net.minecraft.world.World.func_72875_a(World.java:2213)

at net.minecraft.entity.Entity.func_180799_ab(Entity.java:1161)

at net.minecraft.entity.Entity.func_70030_z(Entity.java:457)

at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:212)

at net.minecraft.entity.Entity.func_70071_h_(Entity.java:351)

at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1880)

at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:226)

at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:301)

at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:163)

at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:193)

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

at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)

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

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

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

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

at java.lang.Thread.run(Thread.java:745)

 

 

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

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

 

-- Head --

Stacktrace:

at net.minecraft.world.World.func_180495_p(World.java:828)

at net.minecraft.world.World.func_72875_a(World.java:2213)

at net.minecraft.entity.Entity.func_180799_ab(Entity.java:1161)

at net.minecraft.entity.Entity.func_70030_z(Entity.java:457)

at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:212)

at net.minecraft.entity.Entity.func_70071_h_(Entity.java:351)

at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1880)

at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:226)

 

-- Player being ticked --

Details:

Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)

Entity ID: 376

Entity Name: jakupf

Entity's Exact location: 121.19, 79.00, 511.88

Entity's Block location: World: (121,79,511), Chunk: (at 9,4,15 in 7,31; contains blocks 112,0,496 to 127,255,511), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Entity's Momentum: 0.00, -0.08, 0.00

Entity's Passengers: []

Entity's Vehicle: ~~ERROR~~ NullPointerException: null

Stacktrace:

at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:301)

at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:163)

at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:193)

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

 

-- Ticking connection --

Details:

Connection: net.minecraft.network.NetworkManager@567dc48b

Stacktrace:

at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)

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

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

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

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

at java.lang.Thread.run(Thread.java:745)

 

-- System Details --

Details:

Minecraft Version: 1.9

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_25, Oracle Corporation

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

Memory: 386830384 bytes (368 MB) / 1060372480 bytes (1011 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

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

FML: MCP 9.23 Powered by Forge 12.16.1.1887 Optifine OptiFine_1.9_HD_U_B5 4 mods loaded, 4 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)

UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.9-12.16.1.1887.jar)

UCHIJAAAA Forge{12.16.1.1887} [Minecraft Forge] (forge-1.9-12.16.1.1887.jar)

UCHIJAAAA conquest{0.0.1} [Conquest Mod] (ConquestMod.jar)

Loaded coremods (and transformers):

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

Profiler Position: N/A (disabled)

Player Count: 1 / 8; [EntityPlayerMP['jakupf'/376, l='letsgo', x=121.19, y=79.00, z=511.88]]

Type: Integrated Server (map_client.txt)

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

OptiFine Version: OptiFine_1.9_HD_U_B5

Render Distance Chunks: 7

Mipmaps: 0

Anisotropic Filtering: 1

Antialiasing: 0

Multitexture: false

Shaders: null

OpenGlVersion: 4.5.0 NVIDIA 368.39

OpenGlRenderer: GeForce GT 635M/PCIe/SSE2

OpenGlVendor: NVIDIA Corporation

CpuCount: 8

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

    • Make a test with another Launcher like the Curseforge Launcher, MultiMC or AT Launcher
    • can anyone help me i am opening forge and add modpacks and then it says unable to update native luancher and i redownlaod java and the luancher it self?
    • The problem occurs also in 1.20.1 Forge, but with an "Error executing task on client" instead. I have "Sinytra Connector" installed. On 1.21.5 Fabric, there is no problem. When this happens, the chat message before the death screen appears gets sent, with an extra dash added.
    • Well, as usual, it was user error. Naming mismatch in sounds.json.  Please delete this post if you find it necessary. 
    • Hello Forge community.  I'm running into an issue with a mod I'm working on.  To preface, I can call /playsound modId:name music @a and I can hear the sound I registered being played in game. Great!  However, I cannot get it to trigger via my mod code.    Registration: public static final RegistryObject<SoundEvent> A_WORLD_OF_MADNESS = SOUND_EVENTS.register("a_world_of_madness", () -> new SoundEvent(new ResourceLocation("tetheredsouls", "a_world_of_madness")));   Playback: Minecraft mc = Minecraft.getInstance(); if (!(mc.player instanceof LocalPlayer) || mc.level == null) return; LocalPlayer player = (LocalPlayer) mc.player; BlockPos pos = player.blockPosition(); SoundEvent track = ModSounds.A_WORLD_OF_MADNESS.get(); System.out.println(track); System.out.println(pos); System.out.println(player); // play exactly like the tutorial: client-only, at the player's position try { mc.level.playLocalSound( player.getX(), player.getY(), player.getZ(), track, SoundSource.MUSIC, // Or MASTER if needed 1f, 1f, false ); System.out.println("[DEBUG] playSound success: " + track.getLocation()); } catch (Exception e) { System.err.println("[ERROR] Failed to play sound: " + track.getLocation()); e.printStackTrace(); } Sounds.json:   { "theme_of_laura": { "category": "music", "sounds": [ { "name": "tetheredsouls:a_world_of_madness", "stream": true } ] } } Things I have tried: - multiple .ogg files. Short .ogg files (5 seconds, <100KB).  - default minecraft sounds imported from import net.minecraft.sounds.SoundEvents; These work given my code. No idea why these are different.  - playSound() method, as well as several others in past iterations that did not work   I would be forever grateful if somebody could point me in the right direction. I've looked at several mod github repositories and found extremely similar code to what I'm doing. I've also found several threads in this forum that did not solve my issue. I just cannot figure out what I'm doing differently, and why I'm able to queue sounds manually with playsound but the code won't play it (despite confirming the code is being run with the debug statements.)
  • Topics

×
×
  • Create New...

Important Information

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