1
Modding Resources / Re: [0.98a] LunaLib
« on: May 05, 2025, 04:34:30 AM »Hi,
I have this crash when trying to launch the game :
https://imgur.com/a/3xCkger
This problem doesn't occur the first time I launch the game, and everything work. Then, when I relaunch the game after few hours/days, I can't launch the game anymore. Replacing the Lunalib file with a new one correct the problem the first time, but now it doesn't work anymore. (I don't have the log of the first time this crash message occur for comparison)
detailed log here :Spoiler80526 14728 [Thread-5] INFO com.fs.starfarer.loading.scripts.ScriptStore Class [org.selkie.zea.terrain.AbyssShoalNebulaTerrain] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
80529 14729 [Thread-5] ERROR lunalib.lunaSettings.LunaSettings LunaSettings: Could not find mod IndEvo
91650 22206 [Thread-5] INFO com.fs.starfarer.loading.scripts.ScriptStore Class [assortment_of_things.abyss.entities.AbyssalLightsource] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
91652 22207 [Thread-5] ERROR lunalib.lunaSettings.LunaSettings LunaSettings: Could not find mod IndEvo
91817 22214 [Thread-5] INFO com.fs.starfarer.loading.scripts.ScriptStore Class [indevo.industries.artillery.projectiles.RailgunProjectileEntityPlugin] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
91831 22214 [Thread-5] ERROR lunalib.lunaSettings.LunaSettings LunaSettings: Could not find mod IndEvo
91912 22217 [Thread-5] INFO com.fs.starfarer.loading.scripts.ScriptStore Class [com.fs.starfarer.api.impl.campaign.entities.GenericProbeEntityPlugin] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
91915 22217 [Thread-5] ERROR lunalib.lunaSettings.LunaSettings LunaSettings: Could not find mod IndEvo
92010 22221 [Thread-5] INFO com.fs.starfarer.loading.scripts.ScriptStore Class [indevo.industries.artillery.entities.ArtilleryStationEntityPlugin] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
92011 22221 [Thread-5] ERROR lunalib.lunaSettings.LunaSettings LunaSettings: Could not find mod IndEvo
94772 22439 [Thread-5] INFO com.fs.starfarer.loading.scripts.ScriptStore Class [indevo.industries.privateer.industry.PrivateerBaseSlotBlocker] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation.
94773 22439 [Thread-5] ERROR lunalib.lunaSettings.LunaSettings LunaSettings: Could not find mod IndEvo
120435 24407 [Thread-2] INFO com.fs.starfarer.campaign.rules.Rules Loading rule: IndEvo_SYCustomProductionPanel_init
120436 24408 [Thread-2] ERROR lunalib.lunaSettings.LunaSettings LunaSettings: Could not find mod IndEvo
120437 24435 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain java.lang.ExceptionInInitializerError
120438 java.lang.ExceptionInInitializerError
120439 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
120440 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
120441 at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
120442 at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
120443 at java.base/java.lang.reflect.ReflectAccess.newInstance(Unknown Source)
120444 at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(Unknown Source)
120445 at java.base/java.lang.Class.newInstance(Unknown Source)
120446 at com.fs.starfarer.campaign.rules.oOOO.getCommandClass(Unknown Source)
120447 at com.fs.starfarer.campaign.rules.oOOO.<init>(Unknown Source)
120448 at com.fs.starfarer.campaign.rules.Rules.o00000(Unknown Source)
120449 at com.fs.starfarer.loading.SpecStore. O0000(Unknown Source)
120450 at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
120451 at com.fs.state.AppDriver.begin(Unknown Source)
120452 at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
120453 at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
120454 at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
120455 at java.base/java.lang.Thread.run(Unknown Source)
120456 Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "lunalib.lunaSettings.LunaSettings.getInt(String, String)" is null
120457 at indevo.utils.helper.Settings.getInt(Settings.java:134)
120458 at indevo.industries.salvageyards.rules.IndEvo_InitSYCustomProductionDiag.<clinit>(IndEvo_InitSYCustomProductionDiag.java:72)
120459 ... 17 more[close]
As it seem to be related to IndiEvo, I tried replacing the mod file with a new one without success. But desactivating it make the game work again.
Make sure to be on the latest version of Indevo, and try going to Starsector/saves/common/LunaSettings and deleting indevos file there