Page MenuHomeSchine - Phabricator

Starmade | Attempting to place a block with nothing in slot will crash the game.
Closed, FinishedPublic

Description

There's a crash when you have nothing in the current slot, but attempt to place it on a ship in build mode.

java.lang.NullPointerException: Exception: REQUESTED TYPE 0 IS NULL
	at org.schema.game.common.data.element.ElementKeyMap.getInfo(ElementKeyMap.java:635)
	at org.schema.game.client.controller.manager.ingame.PlayerInteractionControlManager.buildBlock(PlayerInteractionControlManager.java:197)
	at org.schema.game.client.controller.manager.ingame.SegmentBuildController.buildButtonPressed(SegmentBuildController.java:426)
	at org.schema.game.client.controller.manager.ingame.SegmentBuildController.handleMouseEvent(SegmentBuildController.java:379)
	at org.schema.game.client.controller.manager.AbstractControlManager.handleMouseEvent(AbstractControlManager.java:281)
	at org.schema.game.client.controller.manager.ingame.ship.ShipControllerManager.handleMouseEvent(ShipControllerManager.java:89)
	at org.schema.game.client.controller.manager.AbstractControlManager.handleMouseEvent(AbstractControlManager.java:281)
	at org.schema.game.client.controller.manager.AbstractControlManager.handleMouseEvent(AbstractControlManager.java:281)
	at org.schema.game.client.controller.manager.ingame.PlayerInteractionControlManager.handleMouseEvent(PlayerInteractionControlManager.java:1256)
	at org.schema.game.client.controller.manager.AbstractControlManager.handleMouseEvent(AbstractControlManager.java:281)
	at org.schema.game.client.controller.manager.AbstractControlManager.handleMouseEvent(AbstractControlManager.java:281)
	at org.schema.game.client.controller.manager.ingame.InGameControlManager.handleMouseEvent(InGameControlManager.java:319)
	at org.schema.game.client.controller.manager.AbstractControlManager.handleMouseEvent(AbstractControlManager.java:281)
	at org.schema.game.client.controller.manager.GlobalGameControlManager.handleMouseEvent(GlobalGameControlManager.java:249)
	at org.schema.game.client.controller.GameClientController.updateInput(GameClientController.java:3255)
	at org.schema.game.client.controller.GameClientController.updateStateInput(GameClientController.java:3014)
	at org.schema.schine.graphicsengine.core.GLFrame.start(GLFrame.java:1014)
	at org.schema.schine.graphicsengine.core.GLFrame.startGraphics(GLFrame.java:1181)
	at org.schema.game.client.controller.GameClientController.startGraphics(GameClientController.java:2329)
	at org.schema.game.common.ClientRunnable.run(ClientRunnable.java:86)
	at java.lang.Thread.run(Thread.java:662)

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
none/unspecified
Reproducible
uncertain
Last tested (version)
0.19316
Category
none/unspecified
First occurrence (version)
0.19316
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

micdoodle8 updated the task description. (Show Details)Jul 12 2015, 4:12 PM
micdoodle8 set First occurrence (version) to 0.19316.
micdoodle8 set Last tested (version) to 0.19316.
micdoodle8 edited Serverconfig (server.cfg). (Show Details)
micdoodle8 edited Clientconfig (settings.cfg). (Show Details)
micdoodle8 added a subscriber: micdoodle8.
micdoodle8 created this task.
micdoodle8 claimed this task.
micdoodle8 raised the priority of this task from to Urgent.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptJul 12 2015, 4:12 PM
micdoodle8 changed the task status from Open to In Queue (Game).Jul 12 2015, 4:12 PM
Restricted Application edited projects, added Game Development, Starmade; removed Issue Navigation. · View Herald TranscriptJul 12 2015, 4:12 PM
Restricted Application added a commit: Restricted Diffusion Commit.Jul 12 2015, 4:14 PM
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 TranscriptJul 12 2015, 4:14 PM
AndyP changed the visibility from "Custom Policy" to "Public (No Login Required)".Jul 12 2015, 7:19 PM
AndyP changed the edit policy from "Task Author" to "Starmade (Project)".
AndyP set Task Type to Bug.
AndyP set Category to none/unspecified.
AndyP set Affected Gamemode(s) to none/unspecified.
AndyP set Reproducible to uncertain.
AndyP set OS-Specific to No.
AndyP set Hardware-Specific to No.
AndyP set Video Card Vendor to uncertain.
AndyP moved this task from Unclassed to Issue affecting current release on the Starmade board.
AndyP claimed this task.
AndyP closed this task as Closed.Jul 14 2015, 9:13 AM

Fix confirmed

AndyP removed AndyP as the assignee of this task.Aug 4 2015, 7:31 PM
AndyP shifted this object from the S1 Public space to the S3 Starmade space.Aug 11 2015, 11:29 PM
AndyP changed the edit policy from "Starmade (Project)" to "All Users".