Page MenuHomeSchine - Phabricator

Starmade | "Add purchase price" and "Add sale price" in shops cause nullpointer
Closed, FinishedPublic

Description

Click one of those two and you'll get the following nullpointer

java.lang.NullPointerException
	at org.schema.game.client.controller.PlayerBlockTypeDropdownInputNew.setTextNumber(PlayerBlockTypeDropdownInputNew.java:41)
	at org.schema.game.client.view.gui.trade.GUIPricesScrollableList$3.onSelectionChanged(GUIPricesScrollableList.java:188)
	at org.schema.schine.network.client.DelayedDropDownSelectedChanged.execute(DelayedDropDownSelectedChanged.java:18)
	at org.schema.schine.input.BasicInputController.updateInput(BasicInputController.java:61)
	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:1150)
	at org.schema.game.common.Starter.startMainMenu(Starter.java:1459)
	at org.schema.game.common.Starter.main(Starter.java:1003)

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
none/unspecified
Reproducible
Yes
Last tested (version)
0.200.228
Category
Tradenetwork/Shops
First occurrence (version)
0.200.1xx
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 7 2017, 3:09 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 added a project: Tradenetwork. · View Herald TranscriptDec 7 2017, 3:09 PM
schema added a commit: Restricted Diffusion Commit.Dec 7 2017, 4:37 PM
schema changed the task status from In Queue to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptDec 7 2017, 4:37 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 TranscriptDec 8 2017, 5:13 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
lancake changed Last tested (version) from 0.200.225 to 0.200.228.Dec 8 2017, 5:13 PM