hbons/SparkleShare — Issue #533: TypeInitializationException when starting SparkleShare
Author: atomatica
Created: 2012-01-18 11:48:59+00:00
State: open

Just updated my build of SparkleShare on a computer running 64-bit Ubuntu 11.10 to the latest from the repository, but after installing the new version, running "sparkleshare start" results in this exception:

```
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for SparkleLib.SparkleConfig ---> System.NullReferenceException: Object reference not set to an instance of an object
at SparkleLib.SparkleHelpers.DebugInfo (System.String type, System.String message) [0x00000] in :0
at SparkleLib.SparkleConfig..ctor (System.String config_path, System.String config_file_name) [0x00000] in :0
at SparkleLib.SparkleConfig..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at SparkleShare.SparkleController..ctor () [0x00000] in :0
at SparkleShare.Program.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for SparkleLib.SparkleConfig ---> System.NullReferenceException: Object reference not set to an instance of an object
at SparkleLib.SparkleHelpers.DebugInfo (System.String type, System.String message) [0x00000] in :0
at SparkleLib.SparkleConfig..ctor (System.String config_path, System.String config_file_name) [0x00000] in :0
at SparkleLib.SparkleConfig..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at SparkleShare.SparkleController..ctor () [0x00000] in :0
at SparkleShare.Program.Main (System.String[] args) [0x00000] in :0
```

This terminates the SparkleShare process. Please let me know if more information is needed.