Page MenuHomeSchine - Phabricator

Starmade | ClassCastException when exporting 3D Model on OSX
Closed, FinishedPublic

Description

When exporting any ship (as simple as a core with few hull blocks only), the game crashes to desktop on OSX.

As the Error is a ClassCastException I assume its something we have to address.

[2016-09-24 19:01:20] [CLIENT] NOT SMOOTHING SHIP
[2016-09-24 19:01:23] [GETNEXTTONEAREST] SIDE: BACK: (-0.07462311, -0.075927734, -0.5000038); (0, 0, 0)
[2016-09-24 19:01:23] [CLIENT][EDIT] PLACING AT (16, 16, 15)[NONE]o[FRONT][active][1hp]; size: (1, 1, 1) --> (1, 1, -1); orient 0(FRONT) -map-> 0 PHY: {RigBExOrig@1072280360([CCS|CLI Ship[TestingExport](4)])}
[2016-09-24 19:01:23] adding new element to WA at (16, 16, 15)[NONE]o[FRONT][active][1hp], type 598
[2016-09-24 19:01:27] [CLIENT][PlayerInput] successfully deactivated obfuscated.an@235abc03
[2016-09-24 19:01:36] [CLIENT][PlayerInput] successfully deactivated obfuscated.ql@6d78cd27
[2016-09-24 19:01:37] [CLIENT][POPUP] INFO: Exporting Structure to 
/Users/Lasse/Library/Application Support/Steam/steamapps/common/StarMade/starmade-launcher.app/Contents/MacOS/StarMade/modelexport/ExportTesting
[2016-09-24 19:01:37] [CLIENT][PlayerInput] successfully deactivated obfuscated.qm@ff5c61f
[2016-09-24 19:01:37] ################ STARTED WAVEFRONT WRITING #################
[2016-09-24 19:01:37] ################ HANDLING Ship[TestingExport](4)
[2016-09-24 19:01:37] Exception in thread "Thread-22" 
[2016-09-24 19:01:37] java.lang.ClassCastException: obfuscated.jl cannot be cast to obfuscated.jm
[2016-09-24 19:01:37] 	at obfuscated.hu.a(SourceFile:404)
[2016-09-24 19:01:37] 	at obfuscated.hu.handle(SourceFile:348)
[2016-09-24 19:01:37] 	at obfuscated.Wc.a(SourceFile:344)
[2016-09-24 19:01:37] 	at obfuscated.VV.a(SourceFile:593)
[2016-09-24 19:01:37] 	at org.schema.game.common.controller.SegmentBufferManager.a(SourceFile:489)
[2016-09-24 19:01:37] 	at obfuscated.hu.a(SourceFile:332)
[2016-09-24 19:01:37] 	at obfuscated.hu.run(SourceFile:136)
[2016-09-24 19:01:37] 	at java.lang.Thread.run(Thread.java:745)
[2016-09-24 19:01:40] !!!! THIS DISPLAYS THE STACKTRACE OF A REGULAR GL FRAME EXIT
[2016-09-24 19:01:40] org.schema.schine.graphicsengine.core.FinishedFrameException
[2016-09-24 19:01:40] 	at obfuscated.aAp.e(SourceFile:130)
[2016-09-24 19:01:40] 	at obfuscated.ar.pressedSecondOption(SourceFile:342)
[2016-09-24 19:01:40] 	at obfuscated.bG.callback(SourceFile:59)
[2016-09-24 19:01:40] 	at org.schema.schine.network.client.GUICallbackController.execute(SourceFile:64)
[2016-09-24 19:01:40] 	at obfuscated.aJL.a(SourceFile:199)
[2016-09-24 19:01:40] 	at obfuscated.F.updateStateInput(SourceFile:1475)
[2016-09-24 19:01:40] 	at obfuscated.aAp.a(SourceFile:653)
[2016-09-24 19:01:40] 	at obfuscated.aAv.b(SourceFile:648)
[2016-09-24 19:01:40] 	at obfuscated.R.e(SourceFile:949)
[2016-09-24 19:01:40] 	at org.schema.game.common.Starter.startMainMenu(SourceFile:1416)
[2016-09-24 19:01:40] 	at org.schema.game.common.Starter.main(SourceFile:963)
[2016-09-24 19:01:40] [CLIENT][PlayerInput] successfully deactivated obfuscated.ar@4fcea24e
[2016-09-24 19:01:40] [SERVER] now executing regular shutdown
[2016-09-24 19:01:40] java.lang.Exception: Server Shutdown: true
[2016-09-24 19:01:40] 	at org.schema.schine.network.server.ServerState.setShutdown(SourceFile:254)
[2016-09-24 19:01:40] 	at org.schema.game.server.controller.GameServerController.update(SourceFile:822)
[2016-09-24 19:01:40] 	at org.schema.schine.network.server.ServerController.run(SourceFile:273)
[2016-09-24 19:01:40] 	at java.lang.Thread.run(Thread.java:745)
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting down element collection thread
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting down pathfinding threads
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting down universe
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting segment request thread
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting down simulation
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting down active checker
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting down sysin listener
[2016-09-24 19:01:40] [SIMPLANNER] Sleep has been interrupted
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting down mob thread
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] shutting down game map provider
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] Stopping to listen!
[2016-09-24 19:01:40] [SERVER] Stopping Listener
[2016-09-24 19:01:40] [SERVER] Stopped Listener
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] disconnecting all clients!
[2016-09-24 19:01:40] [SERVER][SHUTDOWN] Dumping server State!
[2016-09-24 19:01:40] [CLIENT] EOFConnection (last file size: 2; last packet timestamp: 1474736500380)
[2016-09-24 19:01:40] [SERVER] WRITING PLAYER TO DISK: PlS[Blacklink ; id(2)(1)f(0)] DD: true
[2016-09-24 19:01:40] java.io.EOFException
[2016-09-24 19:01:40] 	at java.io.DataInputStream.readInt(DataInputStream.java:392)
[2016-09-24 19:01:40] 	at org.schema.schine.network.client.ClientProcessor.run(SourceFile:336)
[2016-09-24 19:01:40] 	at java.lang.Thread.run(Thread.java:745)
[2016-09-24 19:01:40] [SERVER] NTException on: RegisteredClient: Blacklink (1) connected: true; ProcessorID: 0
[2016-09-24 19:01:40] [SERVER] last received size: 53
[2016-09-24 19:01:40] [SERVER] last received check: 42
[2016-09-24 19:01:40] [SERVER] WRITING ENTITY TAG: PlS[Blacklink ; id(2)(1)f(0)] to ./server-database/world0/ENTITY_PLAYERSTATE_Blacklink.ent
[2016-09-24 19:01:40] [SERVER] last received header: 123: Stream
[2016-09-24 19:01:40] [SERVER] last received command: SynchronizePrivateChannel[void]
[2016-09-24 19:01:40] [SERVER] Additional writing info for player state: Blacklink, credits: 50000; Sector: (2, 2, 2); Invetory slots filled: 18; last login: 1474736420528; last logout: 1474736374349; Spawn data: PlayerStateSpawnData [thisLogin=1474736418555, lastLogin=1474736420528, lastLogout=1474736374349, deathSpawn=Spawn [UID=, absoluteSector=(2, 2, 2), localPos=(8.0, -6.5, 0.0), absolutePosBackup=(8.0, -6.5, 0.0), gravityAcceleration=(0.0, 0.0, 0.0)], logoutSpawn=Spawn [UID=ENTITY_SHIP_TestingExport, absoluteSector=(2, 2, 2), localPos=(0.0, 0.0, 0.0), absolutePosBackup=(-42.61477, -573.6312, 116.832664), gravityAcceleration=(0.0, 0.0, 0.0)]]
[2016-09-24 19:01:40] [SERVER][LASTRECEIVED] decoded class #0: NetworkSegmentProvider; decoded: [(RemotePhysicsTransform; val: org.schema.schine.network.objects.NetworkTransformation@50e22d61)]
[2016-09-24 19:01:40] java.net.SocketException: Socket closed
[2016-09-24 19:01:40] 	at java.net.SocketInputStream.socketRead0(Native Method)
[2016-09-24 19:01:40] 	at java.net.SocketInputStream.read(SocketInputStream.java:152)
[2016-09-24 19:01:40] 	at java.net.SocketInputStream.read(SocketInputStream.java:122)
[2016-09-24 19:01:40] [ClientProcessor] EXIT: Input Stream closed. Terminated Client Processor
[2016-09-24 19:01:40] 	at java.net.SocketInputStream.read(SocketInputStream.java:210)
[2016-09-24 19:01:40] 	at java.io.DataInputStream.readInt(DataInputStream.java:387)
[2016-09-24 19:01:40] 	at org.schema.schine.network.server.ServerProcessor.run(SourceFile:522)
[2016-09-24 19:01:40] 	at java.lang.Thread.run(Thread.java:745)
[2016-09-24 19:01:40] [CLIENT] ClientSendingQueueThread Terminated
[2016-09-24 19:01:40] [CLIENT] PacketHandler Terminated
[2016-09-24 19:01:40] [SERVER][DISCONNECT] Client 'RegisteredClient: Blacklink (1) connected: true' HAS BEEN DISCONNECTED . PROBE: false; ProcessorID: 0
[2016-09-24 19:01:40] [SERVER] Client <1> logged out from server. connections count: 0
[2016-09-24 19:01:40] Client Socket connection has been closed

Original Reporter: Support Ticket 3481

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.199.214
Category
Engine
Hardware/Software/System
OS-Specific
OSX Only
Hardware-Specific
No
Video Card Vendor
uncertain

Event Timeline

AndyP created this task.Sep 24 2016, 5:19 PM
AndyP changed OS-Specific from No to OSX Only.
schema changed the task status from In Queue (Game) to Resolved.Sep 25 2016, 12:12 PM
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptSep 25 2016, 12:12 PM
AndyP closed this task as Closed.

-QA Testing-

Fix confirmed by original reporter via support ticket.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptOct 8 2016, 4:01 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Oct 8 2016, 4:02 PM
AndyP removed a subscriber: AndyP.Dec 13 2016, 8:37 PM
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:08 PM