Page MenuHomeSchine - Phabricator

Starmade | Repetitive NullPointerException upon redocking a ship without pilot
Closed, RejectedPublic

Description

Be aware that if the sector is unloaded and you try to relog to that sector until somebody else (in game!) loads that entity, your game will instantly crash with NullPointerException.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
v0.19549
Category
Control Block System: Rails/Docking
First occurrence (version)
v0.19549
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Video Card Model
Doesn't matter
User/Reporter/Contact
URL to Starmadedock thread
Probably
Username on Registry
EditorRUS / EditorRUS2
Steps to reproduce

0. Create a rail basic of any length

  1. Dock a core to it
  2. Add push effect directing to that rail basic
  3. Add wireless logic block and connect to the computer
  4. Undock the ship
  5. Go somewhere else, add a button, a wireless block and connect it to the one on the undocked ship
  6. Activate

7-inf. An error occurred some on the server: NullPointerException

Image of the exhibit: http://i.imgur.com/vtCWVxa.png

Serverconfig (server.cfg)

Doesn't matter

Clientconfig (settings.cfg)

Doesn't matter

Java Version (32bit)

Doesn't matter

Java Version (64bit)

Doesn't matter

Event Timeline

EditorRUS updated the task description. (Show Details)Jan 28 2016, 1:01 PM
EditorRUS changed Category from none/unspecified to Control Block System: Rails/Docking.
EditorRUS set First occurrence (version) to v0.19549.
EditorRUS set Video Card Model to Doesn't matter.
EditorRUS edited Serverconfig (server.cfg). (Show Details)
EditorRUS edited Clientconfig (settings.cfg). (Show Details)
EditorRUS edited Java Version (32bit). (Show Details)
EditorRUS edited Java Version (64bit). (Show Details)
EditorRUS set URL to Starmadedock thread to Probably.
EditorRUS set Username on Registry to EditorRUS / EditorRUS2.
EditorRUS changed Affected Gamemode(s) from none/unspecified to Single and Multi.
EditorRUS changed Reproducible from uncertain to Yes.
EditorRUS set Last tested (version) to v0.19549.
EditorRUS edited Steps to reproduce. (Show Details)
EditorRUS added a subscriber: EditorRUS.
EditorRUS created this task.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptJan 28 2016, 1:01 PM
lancake added a subscriber: lancake.EditedJan 28 2016, 3:50 PM

Seems to be a duplicate of T1082 but I'm not sure, both reports did not have a log included so can't check if it is indeed throwing the same nullpointer. Could you provide a log? Go to your starmade/logs folder after crashing and take the latest log.txt.0

Drag and drop that file into the comment section. Please do not copy paste its text content into a comment.

lancake claimed this task.Jan 28 2016, 3:50 PM

-Feedback-

lancake shifted this object from the S1 Public space to the S3 Starmade space.Jan 28 2016, 3:50 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 set Task Type to Bug.
lancake set OS-Specific to No.
lancake set Hardware-Specific to No.
lancake set Video Card Vendor to uncertain.
lancake moved this task from New / Unconfirmed to Feedback on the Issue Navigation board.
EditorRUS added a comment.EditedJan 29 2016, 3:06 PM

New details.
The issue seems to be directly related to faction blocks.
It works just fine if the receiving entity and the docking entity are not factioned, but factioned entities actually cause the bug.

Hm, still can't reproduce unfortunately. I tried your exact same setup and made sure to check both unfactioned entities and factioned ones.

I'll probably send it in queue since the logs do seem to be enough, just wished I could reproduce it.

This bug doesn't seem to exist in the newer version of Starmade. So I guess it's fixed.

Alright, going to reject this task then.

lancake renamed this task from Repetetive NullPointerException upon redocking a ship without pilot to Repetitive NullPointerException upon redocking a ship without pilot.Feb 3 2016, 3:27 PM
lancake closed this task as Rejected.
Restricted Application edited projects, added Starmade; removed Issue Navigation. · View Herald TranscriptFeb 3 2016, 3:27 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Mar 2 2016, 12:19 AM
Restricted Application added a project: CBS: Rails. · View Herald TranscriptMar 10 2017, 6:18 PM