Page MenuHomeSchine - Phabricator

Starmade | Server message is null and causes crash
Open, HighPublic

Description

Unsure what caused this one. There's a few spider references just before this (I'll attach full log), but I don't see any LUA or pathfinding errors.

[2016-05-09 00:23:53] [DIALOG] CONVERSATION PARTNER: null
[2016-05-09 00:23:53] [SERVER][UPDATE] WARNING: object local update of 1448 objects took 79
[2016-05-09 00:23:53] [COMMAND] DESERIALIZE: WARNING (object deserializing toString()): null
[2016-05-09 00:23:53] Exiting (normal) because of exception java.lang.NullPointerException
[2016-05-09 00:23:53] java.lang.NullPointerException
[2016-05-09 00:23:53] 	at org.schema.schine.network.Command.serialize(SourceFile:220)
[2016-05-09 00:23:53] 	at org.schema.schine.network.server.ServerMessage.serialize(SourceFile:64)
[2016-05-09 00:23:53] 	at org.schema.game.network.objects.remote.RemoteServerMessage.toByteStream(SourceFile:37)
[2016-05-09 00:23:53] 	at org.schema.game.network.objects.remote.RemoteServerMessageBuffer.toByteStream(SourceFile:41)
[2016-05-09 00:23:53] 	at org.schema.schine.network.objects.NetworkObject.getFieldCode(SourceFile:341)
[2016-05-09 00:23:53] 	at org.schema.schine.network.objects.NetworkObject.encode(SourceFile:292)
[2016-05-09 00:23:53] 	at org.schema.schine.network.objects.NetworkObject.encodeChange(SourceFile:709)
[2016-05-09 00:23:53] 	at org.schema.schine.network.synchronization.SynchronizationSender.encodePartialObjectIfChanged(SourceFile:243)
[2016-05-09 00:23:53] 	at org.schema.schine.network.synchronization.SynchronizationSender.encodeNetworkObjects(SourceFile:182)
[2016-05-09 00:23:53] 	at org.schema.schine.network.server.ServerController.synchronize(SourceFile:367)
[2016-05-09 00:23:53] 	at org.schema.game.server.controller.GameServerController.update(SourceFile:1410)
[2016-05-09 00:23:53] 	at org.schema.schine.network.server.ServerController.run(SourceFile:256)
[2016-05-09 00:23:53] 	at java.lang.Thread.run(Thread.java:745)
[2016-05-09 00:23:53] [SERVER] SERVER SHUTDOWN. Dumping server State!
...
[2016-05-09 00:25:29] [SERVER] SERVER SHUTDOWN. ServerState saved!

Details

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

Unknown, sorry.

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

Event Timeline

Restricted Application added a project: Issue Navigation. · View Herald TranscriptMay 9 2016, 12:53 AM

Complete log.txt.3 file, additional logs available upon request (will retain for at least 30 days)

lancake claimed this task.

-Validated-

Apparently this happens when the server wants to send a null as server message. How that message got null though, no idea. Perhaps the language pack is missing entries but that should give you issues on startup so I doubt it.

lancake shifted this object from the S1 Public space to the S3 Starmade space.May 14 2016, 10:53 PM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake changed Affected Gamemode(s) from none/unspecified to Single and Multi.
lancake set Last tested (version) to 0.197.51.
lancake changed Category from none/unspecified to Engine.
lancake set First occurrence (version) to 0.197.51.
lancake renamed this task from NullPointer Kills server to Server message is null and causes crash.
lancake triaged this task as High priority.
Restricted Application added a subscriber: AndyP. · View Herald TranscriptMay 14 2016, 10:53 PM
lancake removed lancake as the assignee of this task.
Restricted Application added a project: Starmade. · View Herald TranscriptMar 10 2017, 5:45 PM