Page MenuHomeSchine - Phabricator

Starmade | Strange Null Pointer Crash after a crash ends a game session
Closed, FinishedPublic

Description

Been running into this lately were I'll crash from something when messing around with the game and than try to load the world up again and the game continues to null pointer but the error message itself doesn't tell me it is one. Needless to say once it starts this I have to normally do an override patch to clear it.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
uncertain
Last tested (version)
0.199.306 (DEV)
Category
Engine
First occurrence (version)
couple versions back
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
Intel
Steps to reproduce

Cause some kind of crash and try to reload the world. Guessing this has something to do with the new NPC Factions and them doing a lot or something.

Detected video (Graphicsinfo.txt)

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

Managed to trigger said crash but still not sure of the cause. Really stumped as to the log file it could have ended up in though since I'm not sure what broke.

Zipped up the most recent affected world, needless to say this bug is a world killer, totally locks you out of the world in question. Also if you've tried to get into an affected world in a session it prevents you from getting into others until you restart or repair install depending on the situation.

hmm not sure what's going on now but it might have something to do with the NPC Factions and when they go to war. Something is going on that makes things kill over whenever there's a war going on but that might not be the only thing but it's a starting point at least.

SmilingDemon shifted this object from the S1 Public space to the S3 Starmade space.Dec 5 2016, 6:10 PM
SmilingDemon changed the visibility from "Custom Policy" to "Public (No Login Required)".
SmilingDemon changed the edit policy from "Task Author" to "Starmade (Project)".
SmilingDemon changed Affected Gamemode(s) from none/unspecified to Single and Multi.
SmilingDemon changed Last tested (version) from v0.199.303 to 0.199.306 (DEV).
SmilingDemon changed Category from none/unspecified to Engine.
SmilingDemon triaged this task as Pre-Release Quality Assurance priority.
Restricted Application added a subscriber: AndyP. · View Herald TranscriptDec 5 2016, 6:10 PM

-Feedback-

did you cereated a new world for this to test on ?
if not .. how old is it and how often did you upgrade from an older version ?

Yep Created a new world to test on, I'll test it again if needed to see if I can cause it this patch but all the worlds I had on the dev build with this bug are from the last patch and the 0.199.303 patch.

Got into a habit of making a new world each time on the dev build to see if there's anything that'd come up in a clean world. Went through 13 worlds due to this bug even if I wasn't trying to trigger it.

lancake added a subscriber: lancake.Dec 6 2016, 6:28 PM

Managed to trigger said crash but still not sure of the cause. Really stumped as to the log file it could have ended up in though since I'm not sure what broke.

This one has this appearing in it:

[2016-12-04 17:39:13] Exiting (normal) because of exception java.lang.NullPointerException
[2016-12-04 17:39:13] java.lang.NullPointerException
[2016-12-04 17:39:13]     at org.schema.game.common.data.fleet.missions.machines.states.FleetState.onHitBy(SourceFile:171)
[2016-12-04 17:39:13]     at org.schema.game.common.data.fleet.Fleet.onHitFleetMember(SourceFile:523)
[2016-12-04 17:39:13]     at org.schema.game.common.controller.EditableSendableSegmentController.checkAttack(SourceFile:1672)
[2016-12-04 17:39:13]     at obfuscated.adc.b(SourceFile:226)
[2016-12-04 17:39:13]     at org.schema.game.server.controller.GameServerController.l(SourceFile:2692)
[2016-12-04 17:39:13]     at org.schema.game.server.controller.GameServerController.update(SourceFile:1181)
[2016-12-04 17:39:13]     at org.schema.schine.network.server.ServerController.run(SourceFile:274)
[2016-12-04 17:39:13]     at java.lang.Thread.run(Unknown Source)

Seems some hostile fleet action caused it, should be fixed now.

lancake changed the task status from Open to In Queue (Game).Dec 11 2016, 1:24 AM
Restricted Application edited projects, added Game Development; removed Issue Navigation. · View Herald TranscriptDec 11 2016, 1:24 AM
lancake changed the task status from In Queue (Game) to Resolved.Dec 11 2016, 1:24 AM
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptDec 11 2016, 1:24 AM
SmilingDemon closed this task as Closed.Dec 14 2016, 5:57 PM

closing this ... fixed in an other report and original logfile had loading errors from a broken world due to file corruption

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptDec 14 2016, 5:57 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:07 PM