Page MenuHomeSchine - Phabricator

Starmade | opening reactor menu via ship radial control trigger crash
Closed, DuplicatePublic

Description

Hello

So I tried to open the reactor menu on a bare ship (core and grey hull that's all) via the radial menu, it automatically crash my world in single player, when trying to connect to it the world again, I have the message that the world is corrupted, and I unable to connect to it, the only solution is to erase it.

I can try to provide a back up of the world, but it's easy to reproduce.

http://image.noelshack.com/fichiers/2017/40/3/1507118258-crash.png

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Singleplayer
Reproducible
Yes
Last tested (version)
0.200.114
Category
Control Block System: Systems
First occurrence (version)
0.200.11
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
NVIDIA
Video Card Model
Gtx 570
User/Reporter/Contact
Username on Registry
Macharius
Steps to reproduce
  1. Create a ship
  2. do not place any of the new blocs
  3. Use SHIP -> REACTOR radial menu

Crash

Tester information (Internal use only)

Stacktrace

[java.lang.RuntimeException: No Tree: 0
	at org.schema.game.client.view.gui.reactor.GUIReactorPanel.getSelectedTree(GUIReactorPanel.java:443)
	at org.schema.game.client.view.gui.reactor.GUIReactorPanel$6.toString(GUIReactorPanel.java:291)
	at org.schema.schine.graphicsengine.forms.gui.GUITextOverlay.setTextSimple(GUITextOverlay.java:824)
	at org.schema.schine.graphicsengine.forms.gui.newgui.GUIHorizontalButton.init(GUIHorizontalButton.java:44)
	at org.schema.schine.graphicsengine.forms.gui.newgui.GUIHorizontalButton.<init>(GUIHorizontalButton.java:58)
	at org.schema.schine.graphicsengine.forms.gui.newgui.GUIHorizontalButtonTablePane.addButton(GUIHorizontalButtonTablePane.java:88)
	at org.schema.game.client.view.gui.reactor.GUIReactorPanel.createReactorSelect(GUIReactorPanel.java:284)
	at org.schema.game.client.view.gui.reactor.GUIReactorPanel.createTreeTab(GUIReactorPanel.java:219)
	at org.schema.game.client.view.gui.reactor.GUIReactorPanel.onInit(GUIReactorPanel.java:127)
	at org.schema.game.client.view.gui.reactor.ReactorTreeDialog.<init>(ReactorTreeDialog.java:21)
	at org.schema.game.client.view.gui.RadialMenuDialogMain$10.callback(RadialMenuDialogMain.java:175)
	at org.schema.game.client.view.gui.RadialMenu$1.callback(RadialMenu.java:91)
	at org.schema.game.client.view.gui.RadialMenuItem$1.callback(RadialMenuItem.java:63)
	at org.schema.schine.network.client.GUICallbackController.execute(GUICallbackController.java:64)
	at org.schema.schine.input.BasicInputController.updateInput(BasicInputController.java:234)
	at org.schema.game.client.controller.GameClientController.updateStateInput(GameClientController.java:1465)
	at org.schema.schine.graphicsengine.core.GLFrame.doFrameAndUpdate(GLFrame.java:673)
	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)
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 added a subscriber: lancake.
lancake claimed this task.

-validated-

Another person had a similar (if not the same) issue where opening the inventory caused the JVM to not respond anymore. Will provide extra info later.

Your world is most likely not corrupted though, just still running in the background as it failed to shut down properly. Next time you have this, and it doesn't shutdown after waiting for a while, open up your task manager and look for any javaw.exe processes running. End the one that remains if you have no other java programs running, that should be your world still running in the background.

lancake shifted this object from the S1 Public space to the S3 Starmade space.Oct 4 2017, 1:31 PM
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 Last tested (version) from Dev V 0.200.11 to 0.200.11.
lancake changed Category from Engine to Control Block System: Systems.
lancake changed First occurrence (version) from Dev V 0.200.11 to 0.200.11.
lancake renamed this task from Dev build : opening reactor menu via ship radial control trigger crash and corruption of the world (SP) to opening reactor menu via ship radial control trigger crash and corruption of the world (SP).
lancake raised the priority of this task from Normal to Pre-Release Quality Assurance.
Restricted Application added a subscriber: AndyP. · View Herald TranscriptOct 4 2017, 1:31 PM
SmilingDemon edited Tester information (Internal use only). (Show Details)Oct 4 2017, 6:00 PM
lancake changed the task status from Open to In Queue.Oct 6 2017, 2:29 PM

The radial menu "reactor" is usable/visible even if you don't have the new reactor system on your ship, causing this crash. There may be another reason why it happens though as mentioned in T2564.
Will treat this one separately as I suspect there are multiple causes.

Restricted Application edited projects, added Game Development, CBS: Systems; removed Issue Navigation. · View Herald TranscriptOct 6 2017, 2:29 PM
lancake edited Steps to reproduce. (Show Details)Oct 6 2017, 2:33 PM
lancake edited Tester information (Internal use only). (Show Details)
lancake changed Last tested (version) from 0.200.11 to 0.200.114.
lancake edited Steps to reproduce. (Show Details)
lancake renamed this task from opening reactor menu via ship radial control trigger crash and corruption of the world (SP) to opening reactor menu via ship radial control trigger crash.
lancake added a commit: Restricted Diffusion Commit.Oct 9 2017, 4:09 PM
lancake 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 TranscriptOct 9 2017, 4:09 PM
Restricted Application removed a project: Quality Assurance. · View Herald TranscriptNov 2 2017, 4:29 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript