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: Anubis-class Cruiser (12/20/24)

Pages: 1 ... 17 18 [19]

Author Topic: Mod Troubleshooting Guide (Read BEFORE posting!)  (Read 179214 times)

Histidine

  • Admiral
  • *****
  • Posts: 4952
    • View Profile
    • GitHub profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #270 on: October 28, 2024, 08:21:36 AM »

Well the specific error is that a particular fleet (presumably the player, although a mod could also give an NPC the Field Repairs skill) has a ship whose variant has gone missing, but if no mod changes had occurred since the last save I can't say how that happened.

For now fastest workaround would be one of the following:
- Restore the save file from backup; open the save's folder and delete (back up first) campaign.xml, renaming the campaign.xml.bak file to campaign.xml in its place

- Open the save file (Notepad++ or similar application is recommended); Ctrl+F for field_repairs to find places where the skill is stored, and remove that skill from player (and anyone else who might have it). But I expect this will just cause a different skill to trigger the bug instead.
Logged

Trace

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #271 on: October 29, 2024, 01:18:35 AM »

Well the specific error is that a particular fleet (presumably the player, although a mod could also give an NPC the Field Repairs skill) has a ship whose variant has gone missing, but if no mod changes had occurred since the last save I can't say how that happened.

For now fastest workaround would be one of the following:
- Restore the save file from backup; open the save's folder and delete (back up first) campaign.xml, renaming the campaign.xml.bak file to campaign.xml in its place

- Open the save file (Notepad++ or similar application is recommended); Ctrl+F for field_repairs to find places where the skill is stored, and remove that skill from player (and anyone else who might have it). But I expect this will just cause a different skill to trigger the bug instead.

Unfortunately loading the backup save was one of the things I tried before posting, no luck there.  And adjusting the save data sounds unpromising, so I guess I'll give up on that campaign.  Dangers of modding I suppose.  Still, I appreciate the time and effort you put into this, thank you.

Going to uninstall Better Variants/Variants Lib for a new playthrough, BV adjusts NPC fleets and officer skills so I'm wondering if there is some unanticipated interaction occurring.
Logged

Acidburn

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #272 on: November 22, 2024, 05:37:42 PM »

Hi guys, got 2 crashes back to back after trying some faction mods+nexerelin for the first time.

here's the log

751974 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at data.hullmods.armaa_so_ftr.getDescriptionParam(armaa_so_ftr.java:60)
   at com.fs.starfarer.api.combat.BaseHullMod.getDescriptionParam(BaseHullMod.java:57)
   at com.fs.starfarer.ui.impl.StandardTooltipV2$12.createImpl(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
   at com.fs.starfarer.ui.thissuper.showTooltip(Unknown Source)
   at com.fs.starfarer.ui.O0Oo.super.new(Unknown Source)
   at com.fs.starfarer.ui.O0Oo.processInput(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.g$Oo.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.g.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.coreui.refit.ModWidget.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.coreui.refit.return.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.o0OO.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.L.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.O.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.o0Oo.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.processInput(Unknown Source)
   at com.fs.starfarer.ui.o000.dispatchEventsToChildren(Unknown Source)
   at com.fs.starfarer.ui.o000.processInputImpl(Unknown Source)
   at com.fs.starfarer.ui.thissuper.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.super(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
751986 [Thread-9] INFO  sound.O  - Creating streaming player for music with id [old_city.ogg]
751986 [Thread-9] INFO  sound.OooO  - Playing music with id [old_city.ogg]

Mods are:
Diable Avionics
Arma Armatura
Nexerelin
Starship Legends

plus libraries and some QoL like Combat Chatter, Too much info, speed up.

Cant point out where the error originates, I was doing different things when it happened
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4952
    • View Profile
    • GitHub profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #273 on: November 22, 2024, 05:48:15 PM »

That bug's from Arma Armatura's fighter SO hullmod being installed on a frigate (hullmod code should handle that case but doesn't).

Could try to fix it yourself by editing the table near the top of Arma Armatura\data\hullmods\armaa_so_ftr.java, or just avoid using a frigate-sized ship with that hullmod installed.
Logged

GrimAnima

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #274 on: December 01, 2024, 05:03:55 PM »

Greetings, have an issue of the game crashing while exploring the universe, more specifically, while doing a side quest to scan a Derelict Ship with a unique scanner.
1 crash during interstellar travel
2 during stellar travel
The error message for all 3 crashes was the same and specified "InteractionDialogCustomPanelPlugin$ButtonEntry" as the issue.
The crash is from a new game made after updating my mods and adding 1 new one. Last version used was "Nexerelin_0.11.2c" and it had no issues. The added mod is "LEGACY OF ARKGNEISIS v1.9.12"(https://fractalsoftworks.com/forum/index.php?topic=13667.0)
The crash log is too big to upload to pastebin, so I'll post the crash here, I have two crashlogs saved if you need them(1 from interstellar travel crash and 1 from stellar travel crash)

3113028 [Thread-7] INFO  sound.O  - Cleaning up music with id [Starsea.ogg]
3113322 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NoClassDefFoundError: exerelin/campaign/ui/InteractionDialogCustomPanelPlugin$ButtonEntry
java.lang.NoClassDefFoundError: exerelin/campaign/ui/InteractionDialogCustomPanelPlugin$ButtonEntry
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$100(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.Class.getDeclaredConstructors0(Native Method)
   at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
   at java.lang.Class.getConstructor0(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at exerelin.utilities.NexUtils.instantiateClassByName(NexUtils.java:423)
   at exerelin.campaign.intel.groundbattle.plugins.AbilityPlugin.loadPlugin(AbilityPlugin.java:354)
   at exerelin.campaign.intel.groundbattle.GroundBattleSide.<init>(GroundBattleSide.java:63)
   at exerelin.campaign.intel.groundbattle.GroundBattleIntel.<init>(GroundBattleIntel.java:152)
   at exerelin.campaign.intel.groundbattle.GBUtils.estimateTotalDefenderStrength(GBUtils.java:148)
   at exerelin.campaign.intel.invasion.InvasionIntel.setMarineCount(InvasionIntel.java:208)
   at exerelin.campaign.intel.invasion.InvasionIntel.init(InvasionIntel.java:126)
   at exerelin.campaign.fleets.InvasionFleetManager.generateInvasionOrRaidFleet(InvasionFleetManager.java:922)
   at exerelin.campaign.fleets.InvasionFleetManager.generateInvasionOrRaidFleet(InvasionFleetManager.java:845)
   at exerelin.campaign.fleets.InvasionFleetManager.generateInvasionOrRaidFleet(InvasionFleetManager.java:529)
   at exerelin.campaign.fleets.InvasionFleetManager.processInvasionPoints(InvasionFleetManager.java:1151)
   at exerelin.campaign.fleets.InvasionFleetManager.advance(InvasionFleetManager.java:1593)
   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.super(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: exerelin.campaign.ui.InteractionDialogCustomPanelPlugin$ButtonEntry
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   ... 35 more
3113470 [Thread-9] INFO  sound.O  - Creating streaming player for music with id [HostileWaters.ogg]
3113476 [Thread-9] INFO  sound.OooO  - Playing music with id [HostileWaters.ogg]

My modlist:
  "SBTM",
  "$$$_trailermoments",
  "A_S-F",
  "anotherportraitpack",
  "Cryo_but_better",
  "aod_vos",
  "aotd_vok",
  "ashlib",
  "timid_admins",
  "BSC",
  "timid_commissioned_hull_mods",
  "diableavionics",
  "fleet_journal",
  "GrandColonies",
  "illustrated_entities",
  "IndEvo",
  "interestingportraitspack",
  "lw_lazylib",
  "lockedAndLoaded",
  "luddenhance",
  "lunalib",
  "MagicLib",
  "Marvelous-Personas",
  "nexerelin",
  "PirateMiniMegaMod",
  "progressiveSMods",
  "QualityCaptains",
  "assortment_of_things",
  "randomweapons",
  "Seafood",
  "swp",
  "mayu_specialupgrades",
  "sun_starship_legends",
  "scf",
  "superweapons",
  "tahlan",
  "presmattdamon_takenoprisoners",
  "Terraforming & Station Construction",
  "uaf",
  "US",
  "vic",
  "audio_plus",
  "shaderLib"
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4952
    • View Profile
    • GitHub profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #275 on: December 01, 2024, 07:49:02 PM »

Hi! See here, there seems to be an incompatibility with some mod using old Nex code that was removed in the latest update.
Logged

GrimAnima

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #276 on: December 02, 2024, 07:16:47 AM »

Hi! See here, there seems to be an incompatibility with some mod using old Nex code that was removed in the latest update.
Hello again. I checked out your link and applied the fix, here are my findings and logs for each attempt:

1. Applying the fix allowed me to explore the system with no crashes, starsector log did not give me a "who created me?" entry, I used Notepad++ to search and I removed the quotes as instructed.
https://www.dropbox.com/scl/fi/9auv4q0mmqtj9kwp25lwb/starsector-fix.log?rlkey=4kf1h5nbw8c7ljmh3yjz4p9tx&dl=0
2. Applying the old "ExerelinCore.jar" caused the error to happen again, crash happened just as I got a sensor signal of a nearby fleet next to a planet.
https://www.dropbox.com/scl/fi/67t7adjlf52cxqowimucx/starsector-nofix.log?rlkey=yi1m4pafxe2ct1fv895kliqv9&dl=0
3. Reapplying the fix and following the actions as close as I could to the crash attempt allowed me to finish exploring the system, no entry for "who created me?"
https://www.dropbox.com/scl/fi/mcadpkqvpxl7hxi8ja17o/starsector-fixreapplied.log?rlkey=qmdy1nrng8qugoaovn75zbvo4&dl=0
I attached the log files for all 3 attempts if you wish to check them yourself, for now I'll run the game using your fix and after a play session check the logs for the "who created me?" entry and report back if I find anything, if that's ok.

Thanks for the help  :D
Logged

Tairanos

  • Ensign
  • *
  • Posts: 10
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #277 on: December 04, 2024, 03:33:58 PM »

Geting this error whenever i click on a operative in the intel tab. https://pastebin.com/cpx1xDuN
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4952
    • View Profile
    • GitHub profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #278 on: December 05, 2024, 12:53:23 AM »

Error has same origin as the one above, grab the linked patch (no need to go digging in the log for the debug message, no-one seems to be getting it)
Logged

solarflight675

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #279 on: January 06, 2025, 05:15:43 PM »

I keep downloading the file but it never comes with a unzipped one, just the full file. I've done it on different browsers but nothing seems to change. What should I Do?
Logged

solarflight675

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #280 on: January 07, 2025, 04:07:50 PM »

Downloading the graphics lib mod doesn't download into a extractable file just a file. I've downloaded it on different browsers but it does nothing.
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4952
    • View Profile
    • GitHub profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #281 on: January 08, 2025, 03:31:45 AM »

Get 7zip, it'll open the file
Logged
Pages: 1 ... 17 18 [19]