Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Planet Search Overhaul (07/13/24)

Author Topic: Deleting a hull variant when existing ship is loaded from it crashes the game  (Read 1943 times)

JohnDoe

  • Captain
  • ****
  • Posts: 320
    • View Profile

Version: 0.6.2a-RC3 vanilla

Easiest way to reproduce this bug:
0. Load any game
1. Open refit screen
2. Select a ship and click "Manage Variants"
3. Click "Export Current"
4. Click "Manage Variants"
5. Load from the variant you just exported to
6. Click "Manage Variants"
7. Delete the variant you just loaded from
8. Click "Cancel" to exit manage variants dialog
9. Select another ship and switching back to the current ship crashes the game. Exiting refit screen by pressing [R] also crashes the game.


The error log in starsector.log was shown below.
Code
78398 [Thread-5] ERROR com.fs.starfarer.combat.O0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO  - java.lang.RuntimeException: Ship hull variant [exported_variant_medusa_e4bef598-b6ef-4b76-b0d9-d256e48995b6] not found!
java.lang.RuntimeException: Ship hull variant [exported_variant_medusa_e4bef598-b6ef-4b76-b0d9-d256e48995b6] not found!
at com.fs.starfarer.loading.L.o00000(Unknown Source)
at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.???000(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
at com.fs.starfarer.coreui.refit.o00OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.oO0000(Unknown Source)
at com.fs.starfarer.coreui.refit.private.?o0000(Unknown Source)
at com.fs.starfarer.coreui.refit.private.O??000(Unknown Source)
at com.fs.starfarer.coreui.refit.private.o00000(Unknown Source)
at com.fs.starfarer.coreui.refit.F.dialogDismissed(Unknown Source)
at com.fs.starfarer.coreui.refit.F.actionPerformed(Unknown Source)
at com.fs.starfarer.ui.O00oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.o00000(Unknown Source)
at com.fs.starfarer.ui.F.processInput(Unknown Source)
at com.fs.starfarer.ui.O00oOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.public.processInput(Unknown Source)
at com.fs.starfarer.ui.floatsuper$Oo.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.public.processInput(Unknown Source)
at com.fs.starfarer.ui.p.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.p.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.floatsuper.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.public.processInput(Unknown Source)
at com.fs.starfarer.ui.p.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.p.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.public.processInput(Unknown Source)
at com.fs.starfarer.ui.p.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.p.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.public.processInput(Unknown Source)
at com.fs.starfarer.ui.p.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.p.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.O0OO.E.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.public.processInput(Unknown Source)
at com.fs.starfarer.ui.p.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.p.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.K.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.O0OO.if.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.public.processInput(Unknown Source)
at com.fs.starfarer.ui.p.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.p.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.public.processInput(Unknown Source)
at com.fs.starfarer.campaign.A.o00000(Unknown Source)
at com.fs.starfarer.B.???000(Unknown Source)
at com.fs.oOOO.A.?00000(Unknown Source)
at com.fs.starfarer.combat.O0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

[attachment deleted by admin]
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24513
    • View Profile

Hi - thanks for the report! I think this is a duplicate of
http://fractalsoftworks.com/forum/index.php?topic=7630.0

In which case, the good news is that it's fixed for the next release. Regardless, I appreciate you taking the time to report it.
Logged