Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: [0.9a] Crash during the game  (Read 3894 times)

darkengineer

  • Ensign
  • *
  • Posts: 1
    • View Profile
[0.9a] Crash during the game
« on: November 17, 2018, 07:42:44 AM »

I'm having a crash while flying in the system or in hyperspace, I don't know what causes this crash but it's making game unplayable at this moment.

ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.api.plugins.impl.CoreAutofitPlugin.fitWeapons(CoreAutofitPlugin.java:775)
   at com.fs.starfarer.api.plugins.impl.CoreAutofitPlugin.doFit(CoreAutofitPlugin.java:354)
   at com.fs.starfarer.api.impl.campaign.fleets.DefaultFleetInflater.inflate(DefaultFleetInflater.java:395)
   at com.fs.starfarer.campaign.fleet.CampaignFleet.inflateIfNeeded(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2.createFleetTooltip(Unknown Source)
   at com.fs.starfarer.campaign.C.super(Unknown Source)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.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)
« Last Edit: November 17, 2018, 08:53:14 AM by darkengineer »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24103
    • View Profile
Re: [0.9a] Crash during the game
« Reply #1 on: November 17, 2018, 09:05:17 AM »

Hi - thank you for the report, and sorry about the trouble! Could I possibly get a copy of your save? That would help a lot in getting this sorted out.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24103
    • View Profile
Re: [0.9a] Crash during the game
« Reply #2 on: November 17, 2018, 11:39:32 AM »

Should be fixed! Would still like to see a copy of your save, though, if possible, since I think there's a data error somewhere that's causing the conditions for the crash to occur.
Logged

grinningsphinx

  • Captain
  • ****
  • Posts: 329
    • View Profile
Re: [0.9a] Crash during the game
« Reply #3 on: November 17, 2018, 11:43:03 AM »

Should be fixed! Would still like to see a copy of your save, though, if possible, since I think there's a data error somewhere that's causing the conditions for the crash to occur.


Have this same problem!

11394812 [Thread-4] INFO  sound.public  - Cleaning up music with id [Mobilization.ogg]
11394818 [Thread-8] INFO  sound.public  - Cleaning up music with id [nebula.ogg]
11394921 [Thread-10] INFO  sound.public  - Creating streaming player for music with id [expanse.ogg]
11394921 [Thread-10] INFO  sound.null  - Playing music with id [expanse.ogg]
11395228 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
    at com.fs.starfarer.api.plugins.impl.CoreAutofitPlugin.fitWeapons(CoreAutofitPlugin.java:775)
    at com.fs.starfarer.api.plugins.impl.CoreAutofitPlugin.doFit(CoreAutofitPlugin.java:354)
    at com.fs.starfarer.api.impl.campaign.fleets.DefaultFleetInflater.inflate(DefaultFleetInflater.java:395)
    at com.fs.starfarer.campaign.fleet.CampaignFleet.inflateIfNeeded(Unknown Source)
    at com.fs.starfarer.ui.impl.StandardTooltipV2.createFleetTooltip(Unknown Source)
    at com.fs.starfarer.campaign.Object.super(Unknown Source)
    at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
    at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
    at com.fs.starfarer.BaseGameState.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)

any idea?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24103
    • View Profile
Re: [0.9a] Crash during the game
« Reply #4 on: November 17, 2018, 11:46:38 AM »

Going to hotfix this in the very near future. I'd love to see your save, though, if it's possible to reproduce the crash there - while I've fixed the actual crash, I think what's causing it is a wrong tag on one of the weapons, and I haven't tracked that down yet.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24103
    • View Profile
Re: [0.9a] Crash during the game
« Reply #5 on: November 17, 2018, 12:28:39 PM »

Logged

grinningsphinx

  • Captain
  • ****
  • Posts: 329
    • View Profile
Re: [0.9a] Crash during the game
« Reply #6 on: November 17, 2018, 12:30:53 PM »

Going to hotfix this in the very near future. I'd love to see your save, though, if it's possible to reproduce the crash there - while I've fixed the actual crash, I think what's causing it is a wrong tag on one of the weapons, and I haven't tracked that down yet.

whats your tag on the discord?  Cant seem to add the zip file, keeps giving me an error.
« Last Edit: November 17, 2018, 12:37:30 PM by grinningsphinx »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24103
    • View Profile
Re: [0.9a] Crash during the game
« Reply #7 on: November 17, 2018, 12:39:35 PM »

Could you email it to me?

fractalsoftworks [at] gmail [dot] com
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24103
    • View Profile
Re: [0.9a] Crash during the game
« Reply #8 on: November 17, 2018, 01:18:33 PM »

Thank you both for sending me the saves! Looks like the only mod they have in common is Kadur, so I *think* there's an issue with its weapon tags. That is, a weapon there probably has a tag like "kinetic12" or w/e that's misspelled. With the fix in the hotfix, that should no longer cause a crash, but does mean that the weapon in question won't get properly used by the autofitter.

(Also, a request: please mention when/if you're using mods! I don't think I would've pushed out a hotfix for this, at least without more investigation, if I was aware it was possibly a mod-related issue. It's not only more work for me, but also an inconvenience for a lot of players. I really do appreciate the reports and help w/ sending the saves, though.)
Logged

viciousshark

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.9a] Crash during the game
« Reply #9 on: January 11, 2019, 02:33:37 PM »

Getting consistent crashes when travelling on the system map. I can reproduce the crash by loading into the save game and travelling around the map. Takes about 20-30 seconds before I get a fatal: null crash.

I am using the following mods:
Arsenal Expansion 1.5.3a
Artefact
Combat Chatter
CombatAnalytics
DIABLEAVIONICS
DisassembleReassemble_v1.6.3
Fix All Empty Planets
GraphicsLib
JP_RC
Kadur Remnant
LazyLib
Leading Pip
Legacy of Arkgneisis
MagicLib
Mayasuran Navy
Neutrino corp
Nexerelin
Portrait pack
SanguinaryAnarchisticDefectors
SCY
Shadowyards
Ship and Weapon Pack
SkilledUp
SpeedUp
sylphon
Tyrador Safeguard Coalition
UnknownSkies
Version Checker


Error codes: [
184000 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at data.scripts.campaign.intel.bar.events.PromiseIntel.getMapLocation(PromiseIntel.java:238)
   at com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin.getIntelTags(BaseIntelPlugin.java:233)
   at data.scripts.campaign.intel.bar.events.PromiseIntel.getIntelTags(PromiseIntel.java:200)
   at com.fs.starfarer.campaign.comms.v2.EventsPanel.super(Unknown Source)
   at com.fs.starfarer.campaign.comms.v2.EventsPanel.ÖÖ0000(Unknown Source)
   at com.fs.starfarer.campaign.comms.v2.EventsPanel.String.class(Unknown Source)
   at com.fs.starfarer.campaign.comms.v2.EventsPanel.sizeChanged(Unknown Source)
   at com.fs.starfarer.ui.OO0O.setSize(Unknown Source)
   at com.fs.starfarer.campaign.comms.return.private.return(Unknown Source)
   at com.fs.starfarer.campaign.comms.return.sizeChanged(Unknown Source)
   at com.fs.starfarer.ui.OO0O.setSize(Unknown Source)
   at com.fs.starfarer.ui.Q.setSize(Unknown Source)
   at com.fs.starfarer.ui.newui.J$7.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.OoO0.buttonPressed(Unknown Source)
   at com.fs.starfarer.ui.oooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.oooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.processInput(Unknown Source)
   at com.fs.starfarer.ui.OoO0.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.processInput(Unknown Source)
   at com.fs.starfarer.ui.donew.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.donew.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.processInput(Unknown Source)
   at com.fs.starfarer.ui.donew.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.donew.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.while.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.J.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.processInput(Unknown Source)
   at com.fs.starfarer.ui.donew.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.donew.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.processInput(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.processInput(Unknown Source)
   at com.fs.starfarer.BaseGameState.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)
]

Update: reinstalled game, restarted computer.

Confirmed and reproduced that the error was caused by pressing 'E' or the intel screen. Pressing E will immediately cause the above crash. This is only happening in the current save game. Launched a new game and everything is ok.
« Last Edit: January 11, 2019, 02:56:06 PM by viciousshark »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24103
    • View Profile
Re: [0.9a] Crash during the game
« Reply #10 on: January 11, 2019, 03:07:00 PM »

So that looks like it's an issue with "PromiseIntel"; not sure which mod this comes from.

   at data.scripts.campaign.intel.bar.events.PromiseIntel.getMapLocation(PromiseIntel.java:238)
Logged

Inventor Raccoon

  • Captain
  • ****
  • Posts: 452
  • Digging through trash for a hydroflux catalyst
    • View Profile
Re: [0.9a] Crash during the game
« Reply #11 on: January 11, 2019, 06:01:12 PM »

It's being caused by a quest from Arsenal Expansion failing to find a quest entity when trying to figure out where to point the player to in the intel screen. I think this is likely caused by Nexerelin interfering with existing procgen when it hijacks randomly-generated systems to make its random core worlds, which I know can break the quest in other aspects.

I'll check it out further tomorrow, and should hopefully be able to hotfix it with a solution to this for new campaigns.

Thanks for bringing this to my attention.
« Last Edit: January 11, 2019, 06:06:16 PM by Inventor Raccoon »
Logged

linonetwo012

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [0.9a] Crash during the game
« Reply #12 on: January 14, 2019, 12:03:38 AM »

Same as you, pressing E result in this crash.

at data.scripts.campaign.intel.bar.events.PromiseIntel.getMapLocation(PromiseIntel.java:238)

I'm on 0.9a-RC10

I don't have Nexerelin installed, but have some other mods.

By comparing saves, I found that after I give a sierra AI core to a men AI near my colony, he gives me a new remaint ship and an ability "call for assistant" and null pointer error...

After that, there are crushes when pressing E.
« Last Edit: January 14, 2019, 08:08:38 AM by linonetwo012 »
Logged