Game crashes when a ship with a reactor power block is docked with a shop.
Description
Description
Details
Details
- Commits
- Restricted Diffusion Commit
- Task Type
- Bug
Testing Results
- Affected Gamemode(s)
- Single and Multi
- Reproducible
- Yes
- Last tested (version)
- 0.200.122
- Category
- Control Block System: Rails/Docking
- First occurrence (version)
- 0.200.122
Hardware/Software/System
- OS-Specific
- No
- Hardware-Specific
- No
- Video Card Vendor
- uncertain
Steps to reproduce
method one:
place a reactor power block on a ship core and docker, dock the ship to a rail on a shop. Game will crash.
method two:
take ship core and docker, dock the ship to a rail on a shop. add a reactor power block tot he docked ship. Game will crash.
Tester information (Internal use only)
[2017-10-16 00:41:57] ################# SERVER NO MORE WAITING FOR PLAYER WARP (ACC RECEIVED) [2017-10-16 00:41:57] DEBUG INIT: RECORD ALL BLOCKS: false [2017-10-16 00:41:58] [SERVER][RAIL] handleRailRequestConnectServer() removed physics for Ship[Construct-Pod-AndyP-001](11395); (ConnectRequest): [UNLOADED: ENTITY_SHIP_Construct-Pod-AndyP-001_3_2_2_3_2_2 (16, 14, 16) Rail Docker(663)] -> [UNLOADED: ENTITY_SHOP_1493765227270_2_2_2 (16, 24, 23) Rail Basic(662)] [2017-10-16 00:41:58] [RAIL][UPDATE] Server(0) EXECUTING RAIL REQUEST ON: Ship[Construct-Pod-AndyP-001](11395): (ConnectRequest): [UNLOADED: ENTITY_SHIP_Construct-Pod-AndyP-001_3_2_2_3_2_2 (16, 14, 16) Rail Docker(663)] -> [null (16, 24, 23) Rail Basic(662)] [2017-10-16 00:41:58] [RAIL][CONNECT] Server(0) Ship[Construct-Pod-AndyP-001](11395) DOCKING PROCEDURE SUCCESSFUL [2017-10-16 00:41:58] [RAIL] On Docking, Speed: 0.0 [2017-10-16 00:41:58] [RAIL][UPDATE] Server(0) SUCCESSFULLY EXECUTED RAIL REQUEST ON: Ship[Construct-Pod-AndyP-001](11395): (ConnectRequest): [Ship[Construct-Pod-AndyP-001](11395) (16, 14, 16) Rail Docker(663)] -> [Ship[Construct-Pod-AndyP-001](11395) (16, 24, 23) Rail Basic(662)]; (was from load: false; Still to load on mothership: 0) [2017-10-16 00:41:58] RECALC EFFECTS: ZERO EFFECTS [2017-10-16 00:41:58] [RAIL] Server(0) RECREATING RAIL FROM ROOT: Shop(12254) [2017-10-16 00:41:58] [RAIL] Server(0) recreateRootObjectPhysics() added physics for Shop(12254) [2017-10-16 00:41:58] [RAIL] Server(0) RECREATING RAIL FROM ROOT DONE: Shop(12254); DOCKED AND EXECUTED: false; DOCKED OR DIRTY: false [2017-10-16 00:41:58] java.lang.ClassCastException: obfuscated.ahW cannot be cast to obfuscated.akQ [2017-10-16 00:41:58] at org.schema.game.common.controller.elements.power.reactor.PowerImplementation.getCurrentMaxHp(SourceFile:892) [2017-10-16 00:41:58] at obfuscated.ahy.j(SourceFile:129) [2017-10-16 00:41:58] at obfuscated.ahy.a(SourceFile:757) [2017-10-16 00:41:58] at obfuscated.ahy.g(SourceFile:199) [2017-10-16 00:41:58] at obfuscated.ahy.a(SourceFile:496) [2017-10-16 00:41:58] at obfuscated.ahn.updateLocal(SourceFile:3014) [2017-10-16 00:41:58] at obfuscated.ahF.updateLocal(SourceFile:407) [2017-10-16 00:41:58] at org.schema.game.common.controller.EditableSendableSegmentController.updateLocal(SourceFile:1107) [2017-10-16 00:41:58] at obfuscated.ahO.updateLocal(SourceFile:482) [2017-10-16 00:41:58] at org.schema.game.server.controller.GameServerController.update(SourceFile:1364) [2017-10-16 00:41:58] at org.schema.schine.network.server.ServerController.run(SourceFile:275) [2017-10-16 00:41:58] at java.lang.Thread.run(Thread.java:745) [2017-10-16 00:41:58] [SERVER] Exception catched [2017-10-16 00:41:58] [SEND][SERVERMESSAGE] [SERVERMSG (type 3): [439, ClassCastException]] to RegisteredClient: Sharkskin43 (28) [Sharkskin43]connected: true [2017-10-16 00:41:58] [SEND][SERVERMESSAGE] [SERVERMSG (type 3): [439, ClassCastException]] to RegisteredClient: ua2hk (33) [ua2hk]connected: true [2017-10-16 00:41:58] [SEND][SERVERMESSAGE] [SERVERMSG (type 3): [439, ClassCastException]] to RegisteredClient: AndyP (34) [AndyP]connected: true [2017-10-16 00:41:58] java.lang.ClassCastException: obfuscated.ahW cannot be cast to obfuscated.akQ [2017-10-16 00:41:58] at org.schema.game.common.controller.elements.power.reactor.PowerImplementation.getCurrentMaxHp(SourceFile:892) [2017-10-16 00:41:58] at obfuscated.ahy.j(SourceFile:129) [2017-10-16 00:41:58] at obfuscated.ahy.a(SourceFile:757) [2017-10-16 00:41:58] at obfuscated.ahy.g(SourceFile:199) [2017-10-16 00:41:58] at obfuscated.ahy.a(SourceFile:496) [2017-10-16 00:41:58] at obfuscated.ahn.updateLocal(SourceFile:3014) [2017-10-16 00:41:58] at obfuscated.ahF.updateLocal(SourceFile:407) [2017-10-16 00:41:58] at org.schema.game.common.controller.EditableSendableSegmentController.updateLocal(SourceFile:1107) [2017-10-16 00:41:58] at obfuscated.ahO.updateLocal(SourceFile:482) [2017-10-16 00:41:58] at org.schema.game.server.controller.GameServerController.update(SourceFile:1364) [2017-10-16 00:41:58] at org.schema.schine.network.server.ServerController.run(SourceFile:275) [2017-10-16 00:41:58] at java.lang.Thread.run(Thread.java:745) [2017-10-16 00:41:58] [SERVER] Exception catched
Related Objects
Related Objects
- Mentioned Here
- T2663: ClassCastException for generated stick shops
Event Timeline
Comment Actions
My apologies, I just accidentally confirmed independently the error does in fact exist.
Went on play.star-made.org, found a shop, docked as I always do before logging out... there may now be a cluster of sectors that are inaccessible.
Comment Actions
-QA Testing-
Works fine now, T2663 is fixed too (although the build is not uploaded yet).