Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: [SOLVED] HELP - Games crashing while generating sector  (Read 689 times)

zK4M1K4Zz

  • Ensign
  • *
  • Posts: 4
    • View Profile
[SOLVED] HELP - Games crashing while generating sector
« on: January 14, 2022, 08:55:19 AM »

Hello every one,
I wonder if someone can help me with this [check out the image].
I'm running on 0.95.1a with a certain number of mods.
The game keeps crashing while sector generation.
The message say to report to starsector.log but the file is like 300k lines long...
Thanks in advance.

[attachment deleted by admin]
« Last Edit: January 14, 2022, 08:36:05 PM by zK4M1K4Zz »
Logged

zK4M1K4Zz

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Need help - games crashing while generating sector
« Reply #2 on: January 14, 2022, 05:52:00 PM »

It was already up to date, but I tried to reinstall using the mirror instead of direct download but doesn't solve the problem...
Maybe it's because i have too much factions [38 total], when I enable random core worlds the default value of populated planets exceeds the maximum [106/80] But even with random core worlds off or with less factions enabled it crashes...
« Last Edit: January 14, 2022, 05:54:45 PM by zK4M1K4Zz »
Logged

float

  • Captain
  • ****
  • Posts: 273
    • View Profile
Re: Need help - games crashing while generating sector
« Reply #3 on: January 14, 2022, 06:14:39 PM »

Can you post the full stack trace (and just the stack trace)? In the log, look for an ERROR followed by a block of indented lines each starting with "at". If the crash just happened, the block should be at the end of the log.
Logged

zK4M1K4Zz

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Need help - games crashing while generating sector
« Reply #4 on: January 14, 2022, 06:53:28 PM »

Here are the stack traces: [never been so happy to have a infiny wheel mouse ^^]
1st one:
java.io.FileNotFoundException: https://drive.google.com/uc?export=download&id=1No8w1rW0qvIqHAPMW6P0FfLDa-Hpy-_A

2nd:
org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

The one at the end that you asked for:
java.lang.NoSuchMethodError: data.scripts.util.MagicCampaign.createCaptain(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/fs/starfarer/api/characters/FullName$Gender;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/util/Map;)Lcom/fs/starfarer/api/characters/PersonAPI;

Thanks for your help. Tell me if you know the signification of the stack trace, I'm not into coding --'
Logged

float

  • Captain
  • ****
  • Posts: 273
    • View Profile
Re: Need help - games crashing while generating sector
« Reply #5 on: January 14, 2022, 07:22:37 PM »

(Your download link doesn't work)

When you updated magiclib and your other mods, did you make sure to delete the old folder before copying the new folder into /mods? If not, try deleting the mod in its entirety before downloading the latest version.
Also, the malformed JSON is a bit odd, but I don't know where that is coming from so I can't say much about it. Did you happen to modify any json files manually (say, by editing the config settings for a mod)?

Here is an example of a full stack trace:

Stack trace example

Code
47218 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.util.UnknownFormatConversionException: Conversion = '.'
java.util.UnknownFormatConversionException: Conversion = '.'
at java.util.Formatter.checkText(Unknown Source)
at java.util.Formatter.parse(Unknown Source)
at java.util.Formatter.format(Unknown Source)
at java.util.Formatter.format(Unknown Source)
at java.lang.String.format(Unknown Source)
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.addPara(Unknown Source)
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.addPara(Unknown Source)
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.addPara(Unknown Source)
at progsmod.data.campaign.rulecmd.ui.PanelCreator$1.createTooltip(PanelCreator.java:151)
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable$13.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.Q.showTooltip(Unknown Source)
at com.fs.starfarer.ui.ooOo.super.new(Unknown Source)
at com.fs.starfarer.ui.ooOo.processInput(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.impl.StandardTooltipV2.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.e$Oo.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.e.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.newui.int.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.E.I.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.N.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.newui.super.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.v.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.N.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.newui.o0Oo.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.v.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.v.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.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


For this stack trace, the important line is

Code
at progsmod.data.campaign.rulecmd.ui.PanelCreator$1.createTooltip(PanelCreator.java:151)

since it is coming from a mod file and not "unknown source".
This lets me know that the issue is likely coming from the file named "PanelCreator.java", at line 151. I can go into the file and check, in this case, that I forgot to format a string properly.

[close]

It would be helpful if you could post your stack traces in the format I used above! It's usually a line beneath the top-most line in the error that shows where an error is actually coming from.
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3023
    • View Profile
Re: Need help - games crashing while generating sector
« Reply #6 on: January 14, 2022, 07:30:57 PM »

[never been so happy to have a infiny wheel mouse ^^]

In Notepad++ at least you can hit ctrl-end to skip to the end of a file.
Logged

zK4M1K4Zz

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Need help - games crashing while generating sector
« Reply #7 on: January 14, 2022, 08:34:24 PM »

Thanks for the advice SafariJohn ^^ [they were also 2 stack traces in the middle]

Thanks so much for your help and advices this_is_a_username ^^
Yes every time i update my mods i firstly delete the old version.
I use to modify battle and fleet size in the json file of the 0.95a. But here my 0.95.1a is not custom for now.
I'd finally did it manually by testing every category of mods i had and finally it was Seeker UC mod that created conflict with my other mods. So no problem to play with 38 factions and at least 50 mods ^^
If you want me to send you the full stack traces [even if my prooblem is solved] tell me.

Thanks for helping everyone, wish you a good conquest of the galaxy ^^
Logged