Page MenuHomeSchine - Phabricator

Starmade | Nullpointer with "T" weapons menu
Closed, FinishedPublic

Description

The supplied Blueprint will cause a nullpointer when accessing the Weapons menu from the core.
From within a build block you can open it but it will be empty.

[2015-08-09 14:42:58] [CLIENT] CURRENT MAIN CONTROLLING IS NOW: Ship[Nullpointer ship_1439123562786](148); at: (5.015518, -0.36257696, 196.56189)
[2015-08-09 14:42:58] Error in class 'SourceLWJGL OpenAL'
[2015-08-09 14:42:58]     Channel null in method 'stop'
[2015-08-09 14:42:58] [INIT][CLIENT][SHADER] Loading Shader: data//shader/skin/skin-tex.vert.glsl; data//shader/skin/skin-tex.frag.glsl
[2015-08-09 14:42:58] [INIT][CLIENT][SHADER] Loading Shader: data//shader/skin/skin-tex.vert.glsl; data//shader/skin/skin-tex.frag.glsl
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:42:58] [INIT][CLIENT][SHADER] Loading Shader: data//shader/skin/skin-tex.vert.glsl; data//shader/skin/skin-tex.frag.glsl
[2015-08-09 14:42:58] [INIT][CLIENT][SHADER] Loading Shader: data//shader/skin/skin-tex.vert.glsl; data//shader/skin/skin-tex.frag.glsl
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:42:58] [INIT][CLIENT][SHADER] Loading Shader: data//shader/skin/skin-tex.vert.glsl; data//shader/skin/skin-tex.frag.glsl
[2015-08-09 14:42:58] [INIT][CLIENT][SHADER] Loading Shader: data//shader/skin/skin-tex.vert.glsl; data//shader/skin/skin-tex.frag.glsl
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:42:58] DRAWING DEBUG: 5; ; 0; 0; 5; 
[2015-08-09 14:42:58] [SINGLE_BLOCK_DRAWER] CHECKING FOR ERROR
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:42:58] [SHADER] validate: current FBO: 4
[2015-08-09 14:43:00] [WEAPONROW] UPDATE FOR: (8, 9, 8)[Jump Drive Computer]o[FRONT][inactive][50hp][BLOCK]
[2015-08-09 14:43:00] java.lang.NullPointerException: Exception: REQUESTED TYPE 0 IS NULL
[2015-08-09 14:43:00] 	at org.schema.game.common.data.element.ElementKeyMap.getInfo(SourceFile:566)
[2015-08-09 14:43:00] 	at obfuscated.Kb.<init>(SourceFile:60)
[2015-08-09 14:43:00] 	at obfuscated.Kd.a(SourceFile:142)
[2015-08-09 14:43:00] 	at obfuscated.auc.a(SourceFile:72)
[2015-08-09 14:43:00] 	at obfuscated.arD.a(SourceFile:36)
[2015-08-09 14:43:00] 	at obfuscated.arD.a(SourceFile:36)
[2015-08-09 14:43:00] 	at obfuscated.ato.a(SourceFile:55)
[2015-08-09 14:43:00] 	at obfuscated.asQ.a(SourceFile:194)
[2015-08-09 14:43:00] 	at obfuscated.aty.a(SourceFile:66)
[2015-08-09 14:43:00] 	at obfuscated.JZ.a(SourceFile:50)
[2015-08-09 14:43:00] 	at obfuscated.mn.a(SourceFile:330)
[2015-08-09 14:43:00] 	at obfuscated.mk.a(SourceFile:162)
[2015-08-09 14:43:00] 	at obfuscated.hn.e(SourceFile:821)
[2015-08-09 14:43:00] 	at obfuscated.gQ.b(SourceFile:741)
[2015-08-09 14:43:00] 	at obfuscated.gQ.a(SourceFile:365)
[2015-08-09 14:43:00] 	at obfuscated.aql.e(SourceFile:764)
[2015-08-09 14:43:00] 	at obfuscated.aql.a(SourceFile:1149)
[2015-08-09 14:43:00] 	at obfuscated.C.h(SourceFile:2696)
[2015-08-09 14:43:00] 	at obfuscated.KW.run(SourceFile:87)
[2015-08-09 14:43:00] 	at java.lang.Thread.run(Unknown Source)
[2015-08-09 14:43:02] AGAIN PRINTING STACK TRACE
[2015-08-09 14:43:02] java.lang.NullPointerException: Exception: REQUESTED TYPE 0 IS NULL
[2015-08-09 14:43:02] 	at org.schema.game.common.data.element.ElementKeyMap.getInfo(SourceFile:566)
[2015-08-09 14:43:02] 	at obfuscated.Kb.<init>(SourceFile:60)
[2015-08-09 14:43:02] 	at obfuscated.Kd.a(SourceFile:142)
[2015-08-09 14:43:02] 	at obfuscated.auc.a(SourceFile:72)
[2015-08-09 14:43:02] 	at obfuscated.arD.a(SourceFile:36)
[2015-08-09 14:43:02] 	at obfuscated.arD.a(SourceFile:36)
[2015-08-09 14:43:02] 	at obfuscated.ato.a(SourceFile:55)
[2015-08-09 14:43:02] 	at obfuscated.asQ.a(SourceFile:194)
[2015-08-09 14:43:02] 	at obfuscated.aty.a(SourceFile:66)
[2015-08-09 14:43:02] 	at obfuscated.JZ.a(SourceFile:50)
[2015-08-09 14:43:02] 	at obfuscated.mn.a(SourceFile:330)
[2015-08-09 14:43:02] 	at obfuscated.mk.a(SourceFile:162)
[2015-08-09 14:43:02] 	at obfuscated.hn.e(SourceFile:821)
[2015-08-09 14:43:02] 	at obfuscated.gQ.b(SourceFile:741)
[2015-08-09 14:43:02] 	at obfuscated.gQ.a(SourceFile:365)
[2015-08-09 14:43:02] 	at obfuscated.aql.e(SourceFile:764)
[2015-08-09 14:43:02] 	at obfuscated.aql.a(SourceFile:1149)
[2015-08-09 14:43:02] 	at obfuscated.C.h(SourceFile:2696)
[2015-08-09 14:43:02] 	at obfuscated.KW.run(SourceFile:87)
[2015-08-09 14:43:02] 	at java.lang.Thread.run(Unknown Source)


Details

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

SmilingDemon updated the task description. (Show Details)Aug 9 2015, 1:30 PM
SmilingDemon added a project: Issue Navigation.
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.19361 (Dev).
SmilingDemon changed Reproducible from uncertain to Yes.
SmilingDemon set Last tested (version) to 0.19362 (Dev).
SmilingDemon edited Serverconfig (server.cfg). (Show Details)
SmilingDemon edited Clientconfig (settings.cfg). (Show Details)
SmilingDemon changed the visibility from "Custom Policy" to "Public (No Login Required)".
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 added a subscriber: SmilingDemon.
SmilingDemon created this task.
SmilingDemon raised the priority of this task from to Needs Triage/Unclassed.
SmilingDemon triaged this task as High priority.
Restricted Application added a subscriber: AndyP. · View Herald TranscriptAug 9 2015, 1:31 PM
spunkie added a subscriber: spunkie.EditedAug 9 2015, 9:24 PM
spunkie claimed this task.

https://www.youtube.com/watch?v=j_EbqQRpcYs

yah i get the same thing i have the ship down to its core and it still causes the weapon menu to cause a null pointer from the ship core

in either this blueprint or the one provided by smiling if you go in build mode and switch through systems using the arrow keys you'll come across some phantom block links

SmilingDemon changed the task status from Open to In Queue (Game).Aug 10 2015, 7:30 AM
Restricted Application edited projects, added Game Development, Starmade; removed Issue Navigation. · View Herald TranscriptAug 10 2015, 7:30 AM
AndyP shifted this object from the S1 Public space to the S3 Starmade space.Aug 11 2015, 11:43 PM
AndyP changed the edit policy from "Starmade (Project)" to "All Users".
schema added a commit: Restricted Diffusion Commit.Aug 17 2015, 8:44 AM
schema 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 TranscriptAug 17 2015, 8:44 AM
schema added a subscriber: schema.Aug 17 2015, 8:46 AM
This comment was removed by schema.
schema changed the task status from Resolved to In Queue (Game).Aug 17 2015, 8:52 AM
Restricted Application edited projects, added Game Development; removed Quality Assurance. · View Herald TranscriptAug 17 2015, 8:52 AM
schema added a commit: Restricted Diffusion Commit.Aug 17 2015, 9:13 AM
schema 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 TranscriptAug 17 2015, 9:13 AM

caused by ghost connections to core (weapon computer that doesnt exist anymore but is listed in the connection).

implemented methods for clients to be able to send in faulty connection to confirm faulty and remove on server

Oninoni claimed this task.Aug 18 2015, 11:43 AM

Tested both blueprints. No Crash or Error.

Oninoni closed this task as Closed.
Restricted Application removed a project: Quality Assurance. · View Herald TranscriptAug 18 2015, 11:52 AM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
AndyP removed Oninoni as the assignee of this task.Aug 22 2015, 10:07 AM
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:29 PM