2010-09-01 10:38:04.832604 [ERR] switch_cpp.cpp:1177 Exception in Run(Ivr.TestIvr): System.NullReferenceException: Object reference not set to an instance of an object
Server stack trace:
at System.Runtime.Serialization.SerializationCallbacks.GetMethodsByAttribute (System.Type type, System.Type attr) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.SerializationCallbacks..ctor (System.Type type) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.SerializationCallbacks.GetSerializationCallbacks (System.Type t) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.SerializationObjectManager.RegisterObject (System.Object obj) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData (System.Object obj, System.Runtime.Serialization.Formatters.Binary.TypeMetadata& metadata, System.Object& data) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject (System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance (System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects (System.IO.BinaryWriter writer) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph (System.IO.BinaryWriter writer, System.Object obj, System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream serializationStream, System.Object graph, System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream serializationStream, System.Object graph) [0x00000] in <filename unknown>:0
at System.Runtime.Remoting.RemotingServices.SerializeExceptionData (System.Exception ex) [0x00000] in <filename unknown>:0
Exception rethrown at [0]:
at (wrapper xdomain-invoke) FreeSWITCH.AppPluginExecutor:Execute (string,intptr)
at (wrapper remoting-invoke-with-check) FreeSWITCH.AppPluginExecutor:Execute (string,intptr)
at FreeSWITCH.Loader.Run (System.String command, IntPtr sessionHandle) [0x00000] in <filename unknown>:0
2010-09-01 10:38:04.832604 [ERR] mod_managed.cpp:422 Application run failed for Ivr.TestIvr (unknown module or exception).
I did get this exception once it then unloads the dll and it crashed FS (but I can't reproduce it)
2010-09-01 10:43:25.882172 [ALERT] switch_cpp.cpp:1177 Exception loading /usr/local/freeswitch/mod/managed/TestSystem.FreeSWITCH.Ivr.dll: System.ArgumentException: Culture name nSystem.FreeSWITCH.Ivr.dll is not supported.
Parameter name: name
Server stack trace:
at System.Globalization.CultureInfo..ctor (System.String name, Boolean useUserOverride, Boolean read_only) [0x00000] in <filename unknown>:0
at System.Globalization.CultureInfo.CreateCulture (System.String name, Boolean reference) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.Assembly:GetReferencedAssemblies ()
at FreeSWITCH.AsmPluginManager.LoadInternal (System.String fileName) [0x00000] in <filename unknown>:0
at FreeSWITCH.PluginManager.Load (System.String file) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) FreeSWITCH.PluginManager:Load (string)
at (wrapper xdomain-dispatch) FreeSWITCH.PluginManager:Load (object,byte[]&,byte[]&,string)
Exception rethrown at [0]:
at (wrapper xdomain-invoke) FreeSWITCH.PluginManager:Load (string)
at (wrapper remoting-invoke-with-check) FreeSWITCH.PluginManager:Load (string)
at FreeSWITCH.Loader.loadFile (System.String fileName) [0x00000] in <filename unknown>:0