Page MenuHomeSchine - Phabricator

Starmade | Stabilizer path nullpointer when using "Pick with camera"
Closed, FinishedPublic

Description

Probably the same issue as in T2790, the beam is seen as physical in build mode so "Pick with camera" hits the stabilizer path instead. Followed by a nullpointer as the stabilizer path is not a block.

no intersection found in world currentSegmentContext
java.lang.NullPointerException
	at org.schema.game.common.data.SegmentPiece.set(SegmentPiece.java:334)
	at org.schema.game.common.data.SegmentPiece.set(SegmentPiece.java:343)
	at org.schema.game.common.data.SegmentPiece.<init>(SegmentPiece.java:77)
	at org.schema.game.client.view.gui.advancedbuildmode.AdvancedBuildModeSelection$11$8.pressedLeftMouse(AdvancedBuildModeSelection.java:562)
	at org.schema.game.client.view.gui.advanced.tools.ButtonResult.leftClick(ButtonResult.java:30)
	at org.schema.game.client.view.gui.advanced.tools.GUIAdvButton$1.callback(GUIAdvButton.java:28)
	at org.schema.schine.network.client.GUICallbackController.execute(GUICallbackController.java:65)
	at org.schema.schine.input.BasicInputController.updateInput(BasicInputController.java:236)
	at org.schema.game.client.controller.GameClientController.updateStateInput(GameClientController.java:1467)
	at org.schema.schine.graphicsengine.core.GLFrame.doFrameAndUpdate(GLFrame.java:676)
	at org.schema.schine.graphicsengine.core.GraphicsContext.mainLoop(GraphicsContext.java:857)
	at org.schema.schine.graphicsengine.core.GraphicsContext.startUp(GraphicsContext.java:754)
	at org.schema.game.client.controller.GameMainMenuController.startGraphics(GameMainMenuController.java:1157)
	at org.schema.game.common.Starter.startMainMenu(Starter.java:1459)
	at org.schema.game.common.Starter.main(Starter.java:1003)
[GLFRAME] THROWN: class java.lang.NullPointerException Now Printing StackTrace

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.200.278
Category
Control Block System: Systems
First occurrence (version)
0.200.269
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Serverconfig (server.cfg)
<replace this block with the file content,
but do not remove the first and last line.
Before using the paste function,
mark the area from the opening angle bracket to the closing angle bracket>
Clientconfig (settings.cfg)
<replace this block with the file content,
but do not remove the first and last line.
Before using the paste function,
mark the area from the opening angle bracket to the closing angle bracket>

Event Timeline

lancake created this task.Dec 29 2017, 6:49 PM
lancake created this object in space S3 Starmade.
lancake created this object with visibility "Public (No Login Required)".
lancake created this object with edit policy "Starmade (Project)".
Restricted Application edited projects, added Issue Navigation, Dev-Return; removed Game Development. · View Herald TranscriptDec 29 2017, 6:49 PM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
lancake changed the task status from Open to In Queue.Dec 29 2017, 6:49 PM
Restricted Application edited projects, added Game Development, CBS: Systems; removed Dev-Return, Issue Navigation. · View Herald TranscriptDec 29 2017, 6:49 PM
schema changed the task status from In Queue to Resolved.Jan 2 2018, 3:25 PM
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptJan 2 2018, 3:25 PM
schema added a commit: Restricted Diffusion Commit.Jan 2 2018, 3:30 PM
lancake closed this task as Closed.

-QA Testing-

Fix confirmed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJan 4 2018, 6:29 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
lancake changed Last tested (version) from 0.200.273 to 0.200.278.Jan 4 2018, 6:30 PM