Page MenuHomeSchine - Phabricator

Starmade | Null pointer when attempting to save a blueprint to local
Closed, FinishedPublic

Description

When saving a blueprint to local, the game throws a null pointer and sends you back to the main menu. The message refuses to go away, and the game has to be closed via Alt-F4 or other methods. The blueprint does not get saved.

Full session log is available here:

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Multiplayer
Reproducible
Yes
Last tested (version)
0.200.181
Category
Control Block System: Systems
First occurrence (version)
0.200.122
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Tester information (Internal use only)

[LUA] LOADING: \statistics\ship-index-calculation.lua
SAVED BLUEPRINT SCORE: EntityIndexScore [version=1, weaponDamageIndex=0.0, weaponRangeIndex=0.0, weaponhitPropabilityIndex=0.0, weaponSpecialIndex=0.0, weaponPowerConsumptionPerSecondIndex=0.0, hitpoints=1040.0, armor=100.0, thrust=8.0, shields=110.00000238418579, jumpDriveIndex=0.0, mass=26.299999237060547, powerRecharge=1.0, maxPower=50000.0, support=0.0, docked=false, turret=false, children=[], offensiveIndex=0.0, defensiveIndex=21.833333412806194, powerIndex=50001.0, mobilityIndex=3041.8251832976594, dangerIndex=3063.6585167104654, survivabilityIndex=3063.6585167104654, supportIndex=0.0]
java.lang.NullPointerException
	at org.schema.schine.resource.tag.Tag.<init>(Tag.java:127)
	at org.schema.game.common.controller.elements.power.reactor.tree.ReactorTree.toTagStructure(ReactorTree.java:224)
	at org.schema.game.common.controller.elements.power.reactor.tree.ReactorSet.toTagStructure(ReactorSet.java:124)
	at org.schema.game.common.controller.elements.power.reactor.PowerImplementation.toTagStructure(PowerImplementation.java:734)
	at org.schema.game.common.controller.elements.ManagerContainer.toTagStructure(ManagerContainer.java:1620)
	at org.schema.game.server.data.blueprintnw.BlueprintEntry.writeMeta(BlueprintEntry.java:1413)
	at org.schema.game.server.data.blueprintnw.BlueprintEntry.write(BlueprintEntry.java:1103)
	at org.schema.game.server.controller.BluePrintController.writeBluePrint(BluePrintController.java:1173)
	at org.schema.game.common.data.player.catalog.CatalogManager.writeEntryClient(CatalogManager.java:759)
	at org.schema.game.common.data.player.PlayerState.handleBluePrintQueuesClient(PlayerState.java:4034)
	at org.schema.game.common.data.player.PlayerState.updateLocal(PlayerState.java:1413)
	at org.schema.game.client.controller.GameClientController.updateOthers(GameClientController.java:3176)
	at org.schema.game.client.controller.GameClientController.update(GameClientController.java:1346)
	at org.schema.schine.graphicsengine.core.GLFrame.update(GLFrame.java:842)
	at org.schema.schine.graphicsengine.core.GLFrame.doFrameAndUpdate(GLFrame.java:725)
	at org.schema.schine.graphicsengine.core.GraphicsContext.mainLoop(GraphicsContext.java:828)
	at org.schema.schine.graphicsengine.core.GraphicsContext.startUp(GraphicsContext.java:725)
	at org.schema.game.client.controller.GameMainMenuController.startGraphics(GameMainMenuController.java:1148)
	at org.schema.game.common.Starter.startMainMenu(Starter.java:1457)
	at org.schema.game.common.Starter.main(Starter.java:1001)

Event Timeline

Ithirahad created this task.Nov 2 2017, 2:08 PM
Ithirahad edited Serverconfig (server.cfg). (Show Details)
Ithirahad edited Clientconfig (settings.cfg). (Show Details)
Ithirahad updated the task description. (Show Details)
lancake shifted this object from the S1 Public space to the S3 Starmade space.
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 Multiplayer.
lancake changed Last tested (version) from 0.200.151 to 0.200.153.
lancake changed Category from none/unspecified to Control Block System: Systems.
lancake set First occurrence (version) to 0.200.122.
lancake renamed this task from [DEV] Null pointer when attempting to save a blueprint to local. to Null pointer when attempting to save a blueprint to local.
lancake changed the task status from Open to In Queue.
lancake claimed this task.
lancake raised the priority of this task from Normal to Pre-Release Quality Assurance.
Restricted Application edited projects, added Game Development, CBS: Systems; removed Issue Navigation. · View Herald TranscriptNov 6 2017, 12:05 PM
schema added a subscriber: schema.Nov 6 2017, 11:54 PM

cannot save a (snapshot) tree local, since most meta data is on server. Not much of a problem however since just saving the blocks will just let the server recreate the reactor tree freshly on load.

schema changed the task status from In Queue to Resolved.Nov 6 2017, 11:55 PM
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptNov 6 2017, 11:55 PM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
lancake closed this task as Closed.

-QA Testing-

Fix confirmed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptNov 23 2017, 5:42 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
lancake changed Last tested (version) from 0.200.153 to 0.200.181.Nov 23 2017, 5:42 PM