Jump to content

Recommended Posts

Posted

Hello im running a server with forge 4.1.1 and players tend to crash when they walk around my map

getting this error further down the post, they got the same configs as the server this time.

(btw iam not crashing and my server is hosting in a different country)

 

 

java.lang.NullPointerException

at rj.a(SourceFile:283)

at of.k(SourceFile:178)

at og.d(EntityPlayer.java:512)

at auq.d(SourceFile:199)

at jw.h_(EntityLiving.java:687)

at og.h_(EntityPlayer.java:287)

at atg.h_(SourceFile:45)

at up.a(World.java:2021)

at up.g(World.java:1986)

at up.h(World.java:1867)

at net.minecraft.client.Minecraft.l(Minecraft.java:1771)

at net.minecraft.client.Minecraft.J(Minecraft.java:834)

at net.minecraft.client.Minecraft.run(Minecraft.java:764)

at java.lang.Thread.run(Unknown Source)

Posted

If you're not crashing, and if the server and its players run fine, it's nothing much.

Update and see if error can be reproduced.

Read the EAQ before posting! OR ELSE!

 

  Quote
This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

k i uptaded the server to #265 4.1.2

Players are still getting erors and crasshing

18.09 12:56:44 [server] INFO [sTDERR] 	at bd.run(SourceFile:120)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.io.DataOutputStream.flush(DataOutputStream.java:123)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
18.09 12:56:44 [server] INFO [sTDERR] 	at ako.write(Unknown Source)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
18.09 12:56:44 [server] INFO [sTDERR] java.net.SocketException: Socket closed
18.09 12:56:44 [server] INFO [sTDERR] 	at bd.run(SourceFile:114)
18.09 12:56:44 [server] INFO [sTDERR] 	at bb.d(TcpConnection.java:533)
18.09 12:56:44 [server] INFO [sTDERR] 	at bb.h(TcpConnection.java:201)
18.09 12:56:44 [server] INFO [sTDERR] 	at db.a(Packet.java:177)
18.09 12:56:44 [server] INFO [sTDERR] 	at cp.a(Packet56MapChunks.java:144)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.io.DataOutputStream.write(DataOutputStream.java:107)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:121)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
18.09 12:56:44 [server] INFO [sTDERR] 	at ako.write(Unknown Source)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.net.SocketOutputStream.socketWrite0(Native Method)
18.09 12:56:44 [server] INFO [sTDERR] 	at bc.run(SourceFile:93)
18.09 12:56:44 [server] INFO [sTDERR] 	at bb.c(TcpConnection.java:525)
18.09 12:56:44 [server] INFO [sTDERR] 	at bb.i(TcpConnection.java:324)
18.09 12:56:44 [server] INFO [sTDERR] 	at db.a(Packet.java:136)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.io.FilterInputStream.read(FilterInputStream.java:83)
18.09 12:56:44 [server] INFO [sTDERR] 	at akn.read(Unknown Source)
18.09 12:56:44 [server] INFO [sTDERR] 	at akn.a(Unknown Source)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.io.FilterInputStream.read(FilterInputStream.java:133)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.net.SocketInputStream.read(SocketInputStream.java:121)
18.09 12:56:44 [server] INFO [sTDERR] 	at java.net.SocketInputStream.read(SocketInputStream.java:189)
18.09 12:56:23 [sTDERR] 2012-09-18 12:56:23 [iNFO] n1ght5talker ran command Message of the Day
18.09 12:56:23 [server] INFO [sTDOUT] Sending serverside check to: n1ght5talker
18.09 12:56:23 [server] INFO [sTDOUT] Loading Player: n1ght5talker

Posted

Usually, it's that your server's internet is having issues.

Otherwise, get a clientside log.

We need the other side of the story, so to speak.

Read the EAQ before posting! OR ELSE!

 

  Quote
This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

We uptaded the servers and client to 268

still getting the same error, and here is the client side

Minecraft has crashed!
----------------------

Minecraft has stopped running because it encountered a problem; Unexpected error
This error has been saved to C:\Users\<PRIVATE>\AppData\Roaming\.minecraft\crash-reports\crash-2012-09-19_13.19.26-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.



--- BEGIN ERROR REPORT b593cb04 --------
Generated 19/09/12 1:19 PM

- Minecraft Version: 1.3.2
- Operating System: Windows 7 (amd64) version 6.1
- Java Version: 1.7.0_07, Oracle Corporation
- Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
- Memory: 8050479840 bytes (7677 MB) / 8232042496 bytes (7850 MB) up to 8232042496 bytes (7850 MB)
- JVM Flags: 2 total; -Xmx8G -Xms8G
- FML: FML v3.1.15.378 Minecraft Forge 4.1.2.268 11 mods loaded, 11 mods active
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Core [buildCraft] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Builders [bC Builders] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Energy [bC Energy] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Factory [bC Factory] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Transport [bC Transport] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BuildCraft|Silicon [bC Silicon] (buildcraft-A-3.2.0pre7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Forestry [Forestry for Minecraft] (forestry-A-1.5.0.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
IC2 [industrialCraft 2] (industrialcraft-2_1.106.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Railcraft [Railcraft] (Railcraft_6.1.2.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
- LWJGL: 2.4.2
- OpenGL: GeForce GTX 580/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation
- Is Modded: Definitely; 'forge,fml'
- Type: Client
- Texture Pack: Default
- Profiler Position: N/A (disabled)
- World MpServer Entities: 1 total; [atg['n1ght5talker'/58875, l='MpServer', x=-16.30, y=56.36, z=179.14]]
- World MpServer Players: 1 total; [atg['n1ght5talker'/58875, l='MpServer', x=-16.30, y=56.36, z=179.14]]
- World MpServer Chunk Stats: MultiplayerChunkCache: 0
- Forced Entities: 1 total; [atg['n1ght5talker'/58875, l='MpServer', x=-16.30, y=56.36, z=179.14]]
- Retry Entities: 0 total; []

java.lang.NullPointerException
at rj.a(SourceFile:283)
at of.k(SourceFile:178)
at og.d(EntityPlayer.java:513)
at auq.d(SourceFile:199)
at jw.h_(EntityLiving.java:692)
at og.h_(EntityPlayer.java:288)
at atg.h_(SourceFile:45)
at up.a(World.java:2033)
at up.g(World.java:1998)
at up.h(World.java:1879)
at net.minecraft.client.Minecraft.l(Minecraft.java:1780)
at net.minecraft.client.Minecraft.J(Minecraft.java:843)
at net.minecraft.client.Minecraft.run(Minecraft.java:773)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT d8dd7877 ----------

Posted

Same issue on client side?

Dunno why, it's an issue I don't know. I'll leave it to the devs to help you.

Read the EAQ before posting! OR ELSE!

 

  Quote
This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

rj:283 is    rh.e[this.c].a(this, paramup, paramjn, paramInt, paramBoolean);

That's caused by a item conflict

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Well lunching minecraft with less memory will not give you a crash, And now player are playing fine on my server without id conflicts, And we haven't changed the client a bit, :l(or ids for that matter)

 

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

    • just rewatched the tutorial and my code is exactly the same as kaupenjoe's.  the item is added into the game but like i said to start it doesnt have a texture or a proper name for whatever reason.
    • yes the name is en_us.json and it is in resources -> assests -> testmod -> lang folders.  i have checked my code and am pretty confident that the code itself is correct.  i even tried loading the project in eclipse and it has the same problems, I think i will just rewatch the whole tutorial and will give an update on the situation.
    • same error, I also tried removing Valkyrian skies as well because I noticed it coming up a lot in the debug log errors
    • Hey man,    i have only been modding Minecraft for a few days but maybe I can help you. First of all make sure to follow every step of Kaupenjoe's tutorial, I found it to been very helpful and complete. The game uses the raw translation key for the item (in your case "item.testmod.alexandrite") if it can't find the correct lang file. Make sure it's name is "en_us.json" and it is saved under "ressources" -> "assets" -> "testmod".
    • whenever I try to get this item to render into the game it appears with the not texture purple and black squares and calls itself by the lang translation file path instead of the name i gave it.   { "item.testmod.alexandrite": "Alexandrite" } this is the lang json file package net.Hurst.testmod.item; import net.Hurst.testmod.TestMod; import net.minecraft.world.item.Item; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; public class ModItems { public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, TestMod.MOD_ID); public static final RegistryObject<Item> ALEXANDRITE = ITEMS.register("alexandrite", () -> new Item(new Item.Properties())); public static void register(IEventBus eventBus){ ITEMS.register(eventBus); } } this is my ModItems.java file package net.Hurst.testmod; import com.mojang.logging.LogUtils; import net.Hurst.testmod.item.ModItems; import net.minecraft.world.item.CreativeModeTabs; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.BuildCreativeModeTabContentsEvent; import net.minecraftforge.event.server.ServerStartingEvent; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.ModLoadingContext; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.config.ModConfig; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import org.slf4j.Logger; // The value here should match an entry in the META-INF/mods.toml file @Mod(TestMod.MOD_ID) public class TestMod { public static final String MOD_ID = "testmod"; private static final Logger LOGGER = LogUtils.getLogger(); public TestMod() { IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus(); modEventBus.addListener(this::commonSetup); ModItems.register(modEventBus); MinecraftForge.EVENT_BUS.register(this); modEventBus.addListener(this::addCreative); ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, Config.SPEC); } private void commonSetup(final FMLCommonSetupEvent event) { } // Add the example block item to the building blocks tab private void addCreative(BuildCreativeModeTabContentsEvent event) { if(event.getTabKey() == CreativeModeTabs.INGREDIENTS){ event.accept(ModItems.ALEXANDRITE); } } // You can use SubscribeEvent and let the Event Bus discover methods to call @SubscribeEvent public void onServerStarting(ServerStartingEvent event) { } // You can use EventBusSubscriber to automatically register all static methods in the class annotated with @SubscribeEvent @Mod.EventBusSubscriber(modid = MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT) public static class ClientModEvents { @SubscribeEvent public static void onClientSetup(FMLClientSetupEvent event) { } } } this is my TestMod.java file { "parent": "minecraft:item/generated", "textures": { "layer0": "testmod:item/generated" } } this is my model file for the item. I am using intellij 2025.1.2 with fdk 1.21 and java 21 I would appreciate the help.
  • Topics

×
×
  • Create New...

Important Information

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