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: Simulator Enhancements (03/13/24)

Author Topic: NPE in CombatMain  (Read 524 times)

sensenmann

  • Ensign
  • *
  • Posts: 2
    • View Profile
NPE in CombatMain
« on: August 20, 2019, 06:04:50 AM »

Here is the log:

Quote
6352291 [Thread-4] INFO  com.fs.starfarer.api.impl.campaign.intel.SurveyPlanetMissionIntel  - Created SurveyPlanetMissionIntel: Beta Elnor IX, faction: Hegemony
6356593 [Thread-4] INFO  com.fs.starfarer.api.impl.campaign.fleets.EconomyFleetRouteManager  - Added trade fleet route from Cethlenn to Yama
6358275 [Thread-4] INFO  com.fs.starfarer.api.impl.campaign.events.OfficerManagerEvent  - Removed freelance admin from coatl, 20 total available
6371214 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [faction_pirate_encounter_02_hostile.ogg]
6371214 [Thread-10] INFO  sound.null  - Playing music with id [faction_pirate_encounter_02_hostile.ogg]
6381149 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [faction_pirate_encounter_02_hostile.ogg]
6381224 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [battle_ambience_01.ogg]
6381224 [Thread-10] INFO  sound.null  - Playing music with id [battle_ambience_01.ogg]
7679998 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [battle_ambience_01.ogg]
7680409 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [faction_pirate_encounter_02_hostile.ogg]
7680411 [Thread-10] INFO  sound.null  - Playing music with id [faction_pirate_encounter_02_hostile.ogg]
7733240 [Thread-4] INFO  sound.oo0O  - Cleaning up music with id [campaign_music_part_2_v28.ogg]
7733240 [Thread-4] INFO  sound.oo0O  - Cleaning up music with id [miscallenous_corvus_campaign_music.ogg]
7733250 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [faction_pirate_encounter_02_hostile.ogg]
7733463 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [faction_pirate_encounter_02_hostile.ogg]
7733490 [Thread-10] INFO  sound.null  - Playing music with id [faction_pirate_encounter_02_hostile.ogg]
7733503 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.combat.CombatFleetManager$O0.getLocation(Unknown Source)
   at com.fs.starfarer.combat.CombatFleetManager.advanceSeenEnemies(Unknown Source)
   at com.fs.starfarer.combat.CombatFleetManager.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: NPE in CombatMain
« Reply #1 on: August 20, 2019, 07:16:06 AM »

Hi - thank you for the report! Could you describe what you were doing at the time?

Also, are you running vanilla or with mods?

(In any case, this should be fixed for the next release, but I'm not sure what causes the underlying circumstances, so a bit more info would be very helpful.)
Logged

sensenmann

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: NPE in CombatMain
« Reply #2 on: August 20, 2019, 10:07:46 AM »

No mods installed, i was entering the second round of a large combat and tried to select a different flagship if i remember correctly
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: NPE in CombatMain
« Reply #3 on: August 20, 2019, 10:47:10 AM »

Alright, thank you for the added info!
Logged