-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when re-spawning #2
Comments
Yes, please post the crash report. |
---- Minecraft Crash Report ---- Time: 6/16/17 6:40 PM java.lang.NullPointerException: Ticking memory connection A detailed walkthrough of the error, its code path and all known details is as follows:-- Head -- -- Ticking connection -- -- System Details -- |
I run 110 mods on my server but im using a single player world to test the mod first. Sorry if you didnt want the whole report! |
Well, it's definitely this mod that caused the crash. I looked into the code and it looks like it's trying to give you a kit that you don't have selected. It may just be because it's on SP, but try selecting a kit. |
Okay, but thing is I did have a kit selected because I noticed you can't join a siege match without a kit when I tried joining without one it usually would say to "Select a Kit " and it would give the command how to as well. I will try it again just for the sake of how much I love this mod so far. |
Well, either the player is null, or the kit is null. Here is the line that the crash is complaining about. Unless the assignment statement in line 776 is not working, the only explanation would be that entityplayer is null, which doesn't make a whole lot of sense either. I'm going to get a gradle environment set up and throw in an assert to make sure that isn't the case. I'll get back to you soon. |
Alright, try this jar. (Just install it like a usual mod). |
Didnt work still is crashing. ---- Minecraft Crash Report ---- Time: 6/20/17 5:49 PM java.lang.NullPointerException: Ticking memory connection |
My edit did nothing. I assume I need to enable assertions, and I have no idea how to do that. I was also able to re-create your symptoms. I'll continue the bedugging process to see if I can make any headway. |
What happened was I created a kit had it equiped and was a part of the siege. I jumped off a tower leading to my death, I click respawn the game loads me in then after 3 seconds the game crashes. It doesnt load my kit into my inventory after respawn. My understanding is that with the kit being made and that I selected it in order to play it should load me in with that kit until I change it through using the /siege_kit apply (kit) command. |
I appreciate the help! |
Did you get an error message in the chat before you crashed? |
No I did not get an error message. |
Must have been something I did wrong then. We really need to wait till Mevans gets his hands on this issue. |
Okay thank you! |
The kit was null for some reason. If you were participating in a siege, are you sure that your team had kits assigned? A lack of available kits might have been the cause here. |
Okay that probably explains it I only had the one kit made to test it, thanks you. Btw could you make a command for sieges that bypasses the kits so if you wanted to join in a siege you could play but with your own inventory, kinda like the keep inventory command but except it's your kit kinda hard to explain without going into full story mode. |
@RangerNorth @TheChildWalrus can you guys close this. |
I was testing the mod in a single player environment all of the commands worked flawlessly except for respawning. Just to see if it would reload my inventory I jumped off the tower that I was testing the siege mode mod with, and when I clicked respawn the game loaded me in and then proceeded to crash in about 3 seconds after respawning. I have the crash report if needed, please help!
The text was updated successfully, but these errors were encountered: