Page MenuHomeSchine - Phabricator

Starmade | TAB + F8 nullpointer
Closed, FinishedPublic

Description

#1 Original Report

In singleplayer, or on my own server as admin, I usually switch between entities with Tab+f8 because it saves lots of time.
But, if I do this if I'm already in a ship's control, it will bug my client, even if it DOES teleport me in the next ship. Nullpointerexception follows once leaving the structure or entering a new one.

This bug have been there for a while, so I'm posting it in hope the dev pay attention to it =)

#2 Latest update

Still happens but different stacktrace:

[2015-06-13 14:44:14] java.lang.NullPointerException
[2015-06-13 14:44:14] at obfuscated.cX.a(SourceFile:268)
[2015-06-13 14:44:14] at obfuscated.bV.a(SourceFile:414)
[2015-06-13 14:44:14] at obfuscated.cM.a(SourceFile:1612)
[2015-06-13 14:44:14] at obfuscated.bV.a(SourceFile:414)
[2015-06-13 14:44:14] at obfuscated.cL.a(SourceFile:535)
[2015-06-13 14:44:14] at obfuscated.bV.a(SourceFile:414)
[2015-06-13 14:44:14] at obfuscated.cy.a(SourceFile:367)
[2015-06-13 14:44:14] at obfuscated.bV.a(SourceFile:414)
[2015-06-13 14:44:14] at obfuscated.ca.a(SourceFile:285)
[2015-06-13 14:44:14] at obfuscated.C.update(SourceFile:2910)
[2015-06-13 14:44:14] at obfuscated.aoC.a(SourceFile:1186)
[2015-06-13 14:44:14] at obfuscated.aoC.a(SourceFile:1178)
[2015-06-13 14:44:14] at obfuscated.C.h(SourceFile:2308)
[2015-06-13 14:44:14] at obfuscated.Kc.run(SourceFile:86)
[2015-06-13 14:44:14] at java.lang.Thread.run(Unknown Source)

How to reproduce:

1.place down a station block, put a build block on it
2.make a ship
3.get in the build block of the station
4.target the ship and press Tab + F 8
5.exit the ship

Possible fix: prevent people from using Tab + F 8 when they are in the build mode of a station (or planet)

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.19273 (Dev)
Category
Engine
First occurrence (version)
0.19226
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>

Related Objects

Event Timeline

SmilingDemon updated the task description. (Show Details)Jun 14 2015, 6:00 PM
SmilingDemon changed Category from none/unspecified to Engine.
SmilingDemon changed Affected Gamemode(s) from none/unspecified to Single and Multi.
SmilingDemon set First occurrence (version) to 0.19226.
SmilingDemon changed Reproducible from uncertain to Yes.
SmilingDemon set Last tested (version) to 0.19266 (Dev).
SmilingDemon edited a custom field.
SmilingDemon edited Serverconfig (server.cfg). (Show Details)
SmilingDemon edited Clientconfig (settings.cfg). (Show Details)
SmilingDemon added a subscriber: SmilingDemon.
SmilingDemon created this task.
SmilingDemon changed the task status from Open to In Queue (Game).
SmilingDemon raised the priority of this task from to Trivial.
Restricted Application edited projects, added Game Development; removed Issue Navigation. · View Herald TranscriptJun 14 2015, 6:00 PM
Restricted Application added a commit: Restricted Diffusion Commit.Jun 15 2015, 12:07 AM
Restricted Application changed the task status from In Queue (Game) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptJun 15 2015, 12:07 AM
SmilingDemon closed this task as Closed.Jun 17 2015, 6:35 PM
SmilingDemon claimed this task.

cant use it from build mode of station anymore - drops a warning

fixed

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJun 17 2015, 6:35 PM
SmilingDemon set Task Type to Bug.Jun 17 2015, 8:12 PM
SmilingDemon changed Last tested (version) from 0.19266 (Dev) to 0.19273 (Dev).
SmilingDemon set OS-Specific to No.
SmilingDemon set Hardware-Specific to No.
SmilingDemon set Video Card Vendor to uncertain.
AndyP removed SmilingDemon as the assignee of this task.Jul 11 2015, 12:49 PM
AndyP shifted this object from the S1 Public space to the S3 Starmade space.Aug 11 2015, 10:51 PM
AndyP changed the edit policy from "Starmade (Project)" to "All Users".
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:33 PM