Don't you need to qualify that class name:<br><br>NameSpace.NameOfClass<br><br>?<br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 12:44 AM, Yitzchok <span dir="ltr"><<a href="mailto:adminjew@gmail.com">adminjew@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><font color="#333333"><font face="verdana,sans-serif">Hi,</font></font><div><font color="#333333" face="verdana, sans-serif"><br>
</font></div><div><font color="#333333" face="verdana, sans-serif">I finally got mod_manage to load fine in FreeSWITCH on centos but now when I copied a .net dll that I built and runs on windows to the /mod/managed folder it loads fine on freeswitch startup but when try calling it (it's a AppPlugin) from the dialplan using </font><span style="font-family: verdana,sans-serif; color: rgb(51, 51, 51);"><action application="managed" data="NameOfClass"/> I get these errors.</span></div>
<div><span style="font-family: verdana,sans-serif; color: rgb(51, 51, 51);"><br></span></div><div><span style="font-family: verdana,sans-serif; color: rgb(51, 51, 51);"><br>
</span></div><div><font color="#333333" face="verdana, sans-serif"><div>2010-09-01 00:21:23.303236 [ERR] switch_cpp.cpp:1177 Exception in Run(NameOfClass): System.NullReferenceException: Object reference not set to an instance of an object</div>
<div><br></div><div>Server stack trace:</div><div> at System.Runtime.Serialization.SerializationCallbacks.GetMethodsByAttribute (System.Type type, System.Type attr) [0x00000] in <filename unknown>:0</div><div> at System.Runtime.Serialization.SerializationCallbacks..ctor (System.Type type) [0x00000] in <filename unknown>:0</div>
<div> at System.Runtime.Serialization.SerializationCallbacks.GetSerializationCallbacks (System.Type t) [0x00000] in <filename unknown>:0</div><div> at System.Runtime.Serialization.SerializationObjectManager.RegisterObject (System.Object obj) [0x00000] in <filename unknown>:0</div>
<div> 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</div>
<div> at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject (System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000] in <filename unknown>:0</div><div> at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance (System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject) [0x00000] in <filename unknown>:0</div>
<div> at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects (System.IO.BinaryWriter writer) [0x00000] in <filename unknown>:0</div><div> 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</div>
<div> 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</div>
<div> at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream serializationStream, System.Object graph) [0x00000] in <filename unknown>:0</div><div> at System.Runtime.Remoting.RemotingServices.SerializeExceptionData (System.Exception ex) [0x00000] in <filename unknown>:0</div>
<div><br></div><div>Exception rethrown at [0]:</div><div><br></div><div> at (wrapper xdomain-invoke) FreeSWITCH.AppPluginExecutor:Execute (string,intptr)</div><div> at (wrapper remoting-invoke-with-check) FreeSWITCH.AppPluginExecutor:Execute (string,intptr)</div>
<div> at FreeSWITCH.Loader.Run (System.String command, IntPtr sessionHandle) [0x00000] in <filename unknown>:0</div><div>2010-09-01 00:21:23.303236 [ERR] mod_managed.cpp:422 Application run failed for NameOfClass (unknown module or exception).</div>
</font></div><div><div><font color="#333333"><font face="verdana,sans-serif"><br></font></font></div><div><font color="#333333"><font face="verdana,sans-serif"><br></font></font></div><div><font color="#333333"><font face="verdana,sans-serif">Anyone have any idea what is the problem?</font></font></div>
<div><font color="#333333"><font face="verdana,sans-serif"><br></font></font></div><div><font color="#333333"><font face="verdana,sans-serif">Thanks.</font></font></div><div><font color="#333333"><font face="verdana,sans-serif"></font></font>Yitzchok<br>
</div></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>