Page MenuHomeSchine - Phabricator

Starmade | Null pointer Exception when using "create Docking" on a station
Closed, DuplicatePublic

Description

Game crashed on "NullPointerException:null" after attempting to create docking point to turret axis on a station. Was able to place the rail docker without issue, but only a green cube appeared when normally placing the core. Clicking anywhere on the screen after the green cube appears crashes the game.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Multiplayer
Reproducible
Yes
Last tested (version)
0.19412 (Dev)
Category
Control Block System: Rails/Docking
First occurrence (version)
v 0.19401
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

Zaphord updated the task description. (Show Details)Aug 24 2015, 6:00 PM
Zaphord changed Category from none/unspecified to Control Block System: Rails/Docking.
Zaphord changed Affected Gamemode(s) from none/unspecified to Multiplayer.
Zaphord set First occurrence (version) to v 0.19401.
Zaphord changed Reproducible from uncertain to Yes.
Zaphord set Last tested (version) to v 0.19401.
Zaphord edited Serverconfig (server.cfg). (Show Details)
Zaphord edited Clientconfig (settings.cfg). (Show Details)
Zaphord added a subscriber: Zaphord.
Zaphord created this task.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptAug 24 2015, 6:00 PM
SmilingDemon claimed this task.

Are there one or more shipyards present on that station?
did you use the shipyard shortly before that?

please add the log.txt.x file from the logs folder that contains the crash here

SmilingDemon changed the visibility from "Custom Policy" to "Public (No Login Required)".Aug 24 2015, 9:02 PM
SmilingDemon changed the edit policy from "Task Author" to "Starmade (Project)".
SmilingDemon set Task Type to Bug.
SmilingDemon set OS-Specific to No.
SmilingDemon set Hardware-Specific to No.
SmilingDemon set Video Card Vendor to uncertain.
SmilingDemon triaged this task as High priority.
Restricted Application added a subscriber: AndyP. · View Herald TranscriptAug 24 2015, 9:02 PM
AndyP shifted this object from the S1 Public space to the S3 Starmade space.Aug 25 2015, 6:47 PM
SmilingDemon changed the task status from Open to In Queue (Game).Aug 26 2015, 6:26 PM

Nevermind .. did it myself .. slight missunderstanding here

-Confirmed-

To reproduce

  1. get into the buildblock of a station
  2. place a rail dock (rail basic, rotator, turret axis)
  3. use from advanced build mode - create Docking
  4. on core placemen game exits with a nullpointer
[2015-08-26 20:13:55] [SERVER][UPDATE] WARNING: object local update of 56 objects took 59
[2015-08-26 20:13:58] java.lang.NullPointerException
[2015-08-26 20:13:58] 	at obfuscated.gE.a(SourceFile:375)
[2015-08-26 20:13:58] 	at obfuscated.hr.a(SourceFile:400)
[2015-08-26 20:13:58] 	at obfuscated.gU.f(SourceFile:510)
[2015-08-26 20:13:58] 	at obfuscated.gU.b(SourceFile:670)
[2015-08-26 20:13:58] 	at obfuscated.gU.a(SourceFile:365)
[2015-08-26 20:13:58] 	at obfuscated.aqC.e(SourceFile:777)
[2015-08-26 20:13:58] 	at obfuscated.aqC.a(SourceFile:1162)
[2015-08-26 20:13:58] 	at obfuscated.C.h(SourceFile:2731)
[2015-08-26 20:13:58] 	at obfuscated.KS.run(SourceFile:92)
[2015-08-26 20:13:58] 	at java.lang.Thread.run(Unknown Source)

full log:

Restricted Application edited projects, added Game Development, Starmade; removed Issue Navigation. · View Herald TranscriptAug 26 2015, 6:26 PM
SmilingDemon changed Last tested (version) from v 0.19401 to 0.19412 (Dev).Aug 26 2015, 6:27 PM
SmilingDemon moved this task from Unclassed to Issue affecting current release on the Starmade board.
SmilingDemon renamed this task from Null pointer Exception to Null pointer Exception when using "create Docking" on a station.

I had the same issue last night when creating a rail docking on a planet.
I'm not sure if the mechanics are the same for building on a planet vs a station.

Restricted Application removed a project: Game Development. · View Herald TranscriptAug 31 2015, 10:28 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
AndyP removed SmilingDemon as the assignee of this task.Sep 7 2015, 9:05 PM
Restricted Application added a project: CBS: Rails. · View Herald TranscriptMar 10 2017, 6:27 PM