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: Getting Null error on saving and loading  (Read 3031 times)

Gungir

  • Ensign
  • *
  • Posts: 7
    • View Profile
Getting Null error on saving and loading
« on: January 22, 2020, 10:32:18 AM »

Get a Null error when attempting to save. Making new save rather then overwriting seems less likely to cause it.

In the saves that seem to have trouble, I only get a Campaign.xml.inprogress file in save folder. No Descriptor.xml or Campaign.xml and no .bak files. I would assume that is the reason for the problem, but I can still sometimes load them.

I have also used console command for some cheats that would not be possible in game. Such as to many industries on colonies, or multiples of unique ships or to much ordnance points on some ships. In settings I have increased maximum fleet size to 100. Memory allocation to 12 gb.

Tried Reinstalling.


 System info:
---------------
Game version: Starsector 0.9.1a-RC8
Platform: windows (64-bit)
Resolution: 1920x1080 (59hz, 32bpp, fullscreen)
Launch args: -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=native\\windows -Xms12288m -Xmx12288m -Xss1024k -Dcom.fs.starfarer.settings.paths.saves=..\\saves -Dcom.fs.starfarer.settings.paths.screenshots=..\\screenshots -Dcom.fs.starfarer.settings.paths.mods=..\\mods -Dcom.fs.starfarer.settings.paths.logs=.

 Active mod list:
------------------
Regular mods (40):
 - $$ Starsector FX $$ 9.1a by xenoargh
 - AI Core Production 1.0.0 by boggled
 - Appro-Light Council [ApproLight] 0.8.1-RC1 by Author:Originem. Artist:BZOne, Light of Shadow. Special Thanks:MesoTronik, Nia, APuJun
 - Arsenal Expansion 1.5.3i by Inventor Raccoon
 - Better Colonies 1.4 by Techpriest
 - Blackrock Drive Yards 0.9.5 by cycerin & co.
 - Boggled Terraforming 3.0.1 by boggled
 - Celestial Mount Circle 1.2 by Originem
 - Dassault-Mikoyan Engineering 1.18a by Harmful Mechanic
 - ED Shipyard 1.9.9a by Ed
 - Foundation Of Borken 0.2.4-RC3 by Created by Originem. Ships Designed by BZone. Thanks for Nia, MesoTronik.
 - GKSec v2.0C by MinusUdn, credits to FlashFrozen for some of the sprite's bases
 - Gates Awakened 1.3.1 by Wispborne
 - Gladiator Society 1.1d by Snrasha
 - Grand Sector 0.2.1 by Alec
 - Hazard Mining Incorporated 0.2.2d by King Alfonzo
 - High Tech Armada 0.7.1e by Yui & Snrasha
 - HullMods Expansion 4.2a by Phoenix
 - Hyperdrive 1.1.1 by Sundog
 - Interstellar Imperium 2.1.2 by DarkRevenant & others
 - Kadur Remnant 3.0.4 by Vayra
 - Legacy of Arkgneisis v1.5.1 by Gwyvern
 - Luddic Enhancement 1.2.0 by King Alfonzo
 - Missing Ships 0.4 by Scarface,Nautilus81,Archaeon
 - Nexerelin 0.9.5h by Histidine (original by Zaphide)
 - Outer Rim Alliance 0.87 by Tartiflette
 - Scy Nation 1.58 by Created by Tartiflette. Music by Fastland. With the help of Debido, Mesotronik, Dark Revenant, Histidine, Silentstormpt, SniZupGun, Deathfly, 19_30 and many others.
 - Second Wave Options 0.4.2 by RustyCabbage
 - Shadowyards 0.9RC1 by MShadowy
 - Ship/Weapon Pack 1.10.5 by DarkRevenant
 - SkilledUp 1.1 by bonomel
 - Starship Legends 1.3.14 by Sundog
 - Tahlan Shipworks 0.3.13 by Nia and Nicke
 - Tyrador Safeguard Coalition 1.6.1c by Machine
 - Underworld 1.4.2 by DarkRevenant
 - Unknown Skies 0.42 by Tartiflette
 - Vayra's Sector 3.1.1 by Vayra
 - Vayra's Ship Pack 1.1.2c by Vayra
 - Vesperon Combine 1.2.0 by Straticus
 - ZZ Safety Override mod v1.01 by null
Utility mods (12):
 - $$ Starsector FX CORE $$ 9.1a by xenoargh
 - $$$ Lightshow 1.40 by Tartiflette
 - $$$ Trailer Moments 1.0 by Nia
 - Boardable Unboardables: Vanilla 1 by ShadowDragon8685
 - Console Commands 3.0 by LazyWizard
 - Fix All Empty Planets v1.0 by Carabus
 - LazyLib 2.4e by LazyWizard
 - MagicLib 0.28 by Modding Community
 - Transfer All Items 1.1 by Nociam
 - Upgraded Rotary Weapons 1.41 by Tartiflette
 - Version Checker 2.0 by LazyWizard
 - ZZ GraphicsLib 1.4.1 by DarkRevenant


I can't pastebin or attach log here due to size. 32mb. Suggestions or what part of the log is necessary?

PS: If this is a triplucate post I apologize, but I can't see that either of those managed to get sent.
Logged

Sundog

  • Admiral
  • *****
  • Posts: 1723
    • View Profile
Re: Getting Null error on saving and loading
« Reply #1 on: January 22, 2020, 04:30:56 PM »

I can't pastebin or attach log here due to size. 32mb. Suggestions or what part of the log is necessary?
The final 50 lines or so should do the trick.

Gungir

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Getting Null error on saving and loading
« Reply #2 on: January 23, 2020, 05:01:48 AM »

Lines 239728 - 239758 <----- This looks pretty relevant. But yeah, my log is kinda long :)

15519918 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.1293083
15519935 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.12943852
15519952 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.12969896
15519968 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.12982918
15519985 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13008963
15520002 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13021985
15520018 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13048029
15520035 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.1306105
15520052 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13087094
15520068 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13113138
15520085 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.1312616
15520102 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13152204
15520118 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13165227
15520135 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13191271
15520152 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13217314
15520168 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13243358
15520186 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.1325638
15520202 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.13269155
15520202 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Releasing context
15520202 [Thread-38] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Released context
15520442 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Error saving game
15520442 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Renaming [campaign.xml.bak] to [campaign.xml]
15520442 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Renaming [descriptor.xml.bak] to [descriptor.xml]
15520443 [Thread-4] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  -
java.lang.StackOverflowError
   at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:106)
   at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:86)
   at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFi eld(PureJavaReflectionProvider.java:183)
   at com.thoughtworks.xstream.mapper.AttributeMapper.shouldLookForSingleValueConvert er(AttributeMapper.java:110)
   at com.thoughtworks.xstream.mapper.LocalConversionMapper.getLocalSingleValueConver ter(LocalConversionMapper.java:72)
   at com.thoughtworks.xstream.mapper.LocalConversionMapper.getConverterFromItemType(LocalConversionMapper.java:62)


Lines 240725 - 240788 <----------

   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.wri teItem(AbstractCollectionConverter.java:66)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:274)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:144)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:90)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
15520459 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 9 (exception)
15520459 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 10 (exception)
15520459 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 11 (exception)
15520459 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 12 (exception)
15520460 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 13 (exception)
15520460 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 14 (exception)
15520460 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 15 (exception)
15520460 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 16 (exception)
15522553 [Thread-4] INFO  sound.oo0O  - Cleaning up music with id [Blackrock.ogg]
15522567 [Thread-8] INFO  sound.oo0O  - Cleaning up music with id [campaign_music_part_2_v28.ogg]
15522767 [Thread-10] INFO  sound.oo0O  - Creating streaming player for music with id [campaign_music_part_2_v28.ogg]
15522767 [Thread-10] INFO  sound.null  - Playing music with id [campaign_music_part_2_v28.ogg]
Logged

ad5000dz

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Getting Null error on saving and loading
« Reply #3 on: January 23, 2020, 08:53:08 AM »

Did you enable Prism feature when starting a new game? I think we have similar logs although I can't compare them side by side because I already deleted it earlier today. I solved the problem by not enabling the prism feature. Enabling easy mode and random start world also do not cause save game null error.
Logged

Gungir

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Getting Null error on saving and loading
« Reply #4 on: January 23, 2020, 09:02:31 AM »

I think I forgot to enable it and spawned it in later using console command.

Bug didn't begin until about year 14, currently year 15 on save. And new games does not seem to have same problem.
« Last Edit: January 23, 2020, 09:48:20 AM by Gungir »
Logged

Gungir

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Getting Null error on saving and loading
« Reply #5 on: January 26, 2020, 03:21:30 PM »

I would really appreciate some help
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Getting Null error on saving and loading
« Reply #6 on: January 26, 2020, 03:32:34 PM »

Hmm - could you try editing your vmparams file, and changing:
-Xss1024k

to:

-Xss2048k

That *might* resolve the issue.
Logged

Gungir

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Getting Null error on saving and loading
« Reply #7 on: January 27, 2020, 03:36:50 PM »

I think this might have stopped it. Will need some more testing to make sure. Thanks! :)
Logged

Gungir

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Getting Null error on saving and loading
« Reply #8 on: January 28, 2020, 12:52:24 PM »

Sadly it has reemerged. I'm also getting stuttering for about 0.5-1 second every 2 seconds. This stuttering is new.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Getting Null error on saving and loading
« Reply #9 on: January 28, 2020, 01:00:13 PM »

From your OP:
Quote
Memory allocation to 12 gb.

That's way too much and could easily cause stuttering. I'd suggest turning it down to 4, maybe 6 gb. If it still stutters or crashes with OutOfMemory errors, then the issue is most likely a memory leak in a mod and increasing memory allocation would not help with it anyway.
Logged

Gungir

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: Getting Null error on saving and loading
« Reply #10 on: January 28, 2020, 03:55:54 PM »

I did turn down memory to 6 gb, but stuttering remains. And as I said on last post, this stuttering is new. Starting to think this save might be lost..
Logged

Nerzhull_AI

  • Commander
  • ***
  • Posts: 186
  • Do you exist in your dreams?
    • View Profile
Re: Getting Null error on saving and loading
« Reply #11 on: April 10, 2020, 12:29:09 PM »

Same here.
Log:
Spoiler
Code
391323 [Thread-13] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.17963798
391339 [Thread-13] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving progress: 0.17995773
391339 [Thread-13] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Releasing context
391339 [Thread-13] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Released context
391619 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Error saving game
391619 [Thread-4] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  -
java.lang.StackOverflowError
at java.util.AbstractList.listIterator(Unknown Source)
at java.util.AbstractSequentialList.iterator(Unknown Source)
at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:131)
at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:106)
at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:86)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getField(PureJavaReflectionProvider.java:183)
at com.thoughtworks.xstream.mapper.AttributeMapper.shouldLookForSingleValueConverter(AttributeMapper.java:110)
at com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromItemType(AttributeMapper.java:95)
at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemType(MapperWrapper.java:210)
at com.thoughtworks.xstream.mapper.EnumMapper.getConverterFromItemType(EnumMapper.java:84)
at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemType(MapperWrapper.java:210)
at com.thoughtworks.xstream.mapper.LocalConversionMapper.getConverterFromItemType(LocalConversionMapper.java:65)
at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemType(MapperWrapper.java:210)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$1.visit(AbstractReflectionConverter.java:119)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:142)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:101)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:90)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:274)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:250)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:213)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:144)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:90)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
[close]
Modlist:
Logged

MesoTroniK

  • Admiral
  • *****
  • Posts: 1731
  • I am going to destroy your ships
    • View Profile
Re: Getting Null error on saving and loading
« Reply #12 on: April 10, 2020, 05:15:30 PM »

Could be memory leaks from poorly made mods, not enough ram / ram allocation, and or not enough vram. Full system specs, ram allocation, and mod list are *always* useful info for these sorts of issues.
« Last Edit: April 10, 2020, 05:19:52 PM by MesoTroniK »
Logged

Nerzhull_AI

  • Commander
  • ***
  • Posts: 186
  • Do you exist in your dreams?
    • View Profile
Re: Getting Null error on saving and loading
« Reply #13 on: April 12, 2020, 08:53:08 AM »

Could be memory leaks from poorly made mods, not enough ram / ram allocation, and or not enough vram. Full system specs, ram allocation, and mod list are *always* useful info for these sorts of issues.
Windows10, 1440x900 without fullscreen mod
Intel(R) Core i5-2400 3.10 GHz
16 Gb RAM (8 allocated)
GeForce GTX 1050, 2 Gb VRAM (Starsector eats up about 1.4 Gb on my current modlist and setup).
« Last Edit: April 12, 2020, 08:54:50 AM by Nerzhull_AI »
Logged

Nick XR

  • Admiral
  • *****
  • Posts: 712
    • View Profile
Re: Getting Null error on saving and loading
« Reply #14 on: June 16, 2020, 01:19:37 AM »

This started happening to me a few days ago doing a run with 40+ mods (I could reproduce this error every time).  I changed my -Xss setting to
Code
-Xss4096k
  and it works great again.


I *think* my issue is just the sheer number of fleets that run around in a Nexerlin game after you found a bunch of colonies (~20, Alpha Admins), all with defensive fleet generating structures.