File format incompatible: xgobjects.db4o
slaecker opened this issue · 4 comments
When starting xg on Archlinux I get the below exception. Even after cleaning up xg and its settings and installing from scratch.
Some time ago xg worked fine (last version I used was 3.2.0.0 I think).
[db4o 8.1.184.15492 2015-10-03 23:11:07]
File format incompatible: '/home/xg/.config/XG/xgobjects.db4o'
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at XG.Business.Helper.Objects.CheckAndRemoveDuplicates (XG.Model.Domain.Servers aServers) [0x00000] in :0
at XG.Business.App..ctor () [0x00000] in :0
at XG.Application.Programm.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at XG.Business.Helper.Objects.CheckAndRemoveDuplicates (XG.Model.Domain.Servers aServers) [0x00000] in :0
at XG.Business.App..ctor () [0x00000] in :0
at XG.Application.Programm.Main (System.String[] args) [0x00000] in :0
This seems more like an issue with db4o then XG itself.
So I'm re-reading this months later, have you tried deleting the file /home/xg/.config/XG/xgobjects.db4o ? It seems like it's possible it may have gotten corrupted.
Same Problem here. Ubuntu 14.04 lts with mono-complete 3.2.8. Deleted the db4o and tried with new XG 3.2 generated db4o. Same result. No Problem with Windows build. I also compiled PermaNulleds mod same Problem.
I finally fixed this in my fork of things,
pnill/XG-SBmod#2
You can grab it from my github page, it essentially has the same functionality and I added in Reverse DCC support.