Your problem is already fixed probably, but for the people who are searching for a fix, follow my steps
- Search for CMD and run it as administrator
- Type in the bar:
netsh winsock reset - It should be fixed!
- If it still doesn't work, try contacting Mojang, the creators of Minecraft
Videos
Your problem is already fixed probably, but for the people who are searching for a fix, follow my steps
- Search for CMD and run it as administrator
- Type in the bar:
netsh winsock reset - It should be fixed!
- If it still doesn't work, try contacting Mojang, the creators of Minecraft
If you are playing newer snapshots, This was a recent bug in the 17w14-16
They seem to have finally fixed it in 17w17a/b
It seemed to be related to a number of new additions like advancements and parrots.
Update your server_jar and your minecraft client to 17w17b (current)
If you are getting this issue on 1.11.2 release. Then open a bug report at bugs.mojang.com
My husband is having trouble connecting to my server when i try to open to Lan. It was working yesterday and now after turning both mine and his pc’s off for the night he cant connect.
He keeps getting this error:
java.lang.nullpointerexception: group
Sometimes on my screen i can see that he has joined the game, then a second later it reads that he has left the game. On his screen it just says "Failed to connect to the server disconnected”
Hope someone can help :)
when people try to connect to my server, they receive this error messageinternal exception java.lang.nullpointerexception can not invoke "net.minecraft.nbt.compoundtag.m_128459_(string)
i also received this error message as well but during this test for some reason it let me join the server, i've tested this out on singleplayer as well and the world works fine nothing seems to be corrupted it just doesn't work for the server.
we've also made multiple worlds for this specific pack i've made and they all have had this problem, randomly sometimes people will be able to join and play normally but other times they get this error and they cant play.
friends latest.log: https://mclo.gs/mHmks83
servers lastest.log: https://mclo.gs/si9AJk2
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/2272349-lessons-from-my-first-mc-1-8-mod
This guy explains you have to register the item renders in the init method. I did it and it worked.
All I had to do was move the render part to the init method. It turned out like this in the base Mod class:
public void load(FMLInitializationEvent event){
if(event.getSide() == Side.CLIENT)
{
RenderItem renderItem = Minecraft.getMinecraft().getRenderItem();
renderItem.getItemModelMesher().register(testIngot, 0, new ModelResourceLocation(sekai.MODID + ":" + ((testItem) testIngot).getName(), "inventory"));
}
}
Thank you guys anyway.
I believe your issue is a difference between the MODNAME and MODID in the instantiation of the ModelResourceLocation. The first parameter requires the MODID before the ":", you're using the MODNAME. Try changing this line in your base mod class:
renderItem.getItemModelMesher().register(testIngot, 0, new ModelResourceLocation("sekai:" + ((testItem) testIngot).getName(), "inventory"));
To this:
renderItem.getItemModelMesher().register(testIngot, 0, new ModelResourceLocation("sekairocha:" + ((testItem) testIngot).getName(), "inventory"));
Or even better:
renderItem.getItemModelMesher().register(testIngot, 0, new ModelResourceLocation(sekai.MODID + ":" + ((testItem) testIngot).getName(), "inventory"));
In addition to that fix, I think your item class may need some alterations. Change your constructor to this:
public testItem(){
super(); //missing initializations from Item class
maxStackSize = 64;
this.setCreativeTab(CreativeTabs.tabMisc);
this.setUnlocalizedName("testIngot");
GameRegistry.registerItem(this, name); //do this last
}
I created a local minecraft server dedicated to Mojang's own Server.jar and added some mods and it worked perfectly, but sometimes when disconnecting we were unable to reconnect (including me on the same machine as the server) and we kept getting the error java.lang.nullpointerexception but after a random amount of time we managed to reconnect. If anyone knows why this error is occurring and could help us, I would greatly appreciate it.
Edit: The problem was the mod skin changer, after removing it it worked normally. Thanks for the help flanigomik.
My logs:
latest.log - https://mclo.gs/5Gbs2j4
debug.log - https://mclo.gs/IntpoOT