[Freeswitch-users] mod_managed on linux centos
Phillip Jones
pjintheusa at gmail.com
Wed Sep 1 06:10:21 PDT 2010
Don't you need to qualify that class name:
NameSpace.NameOfClass
?
On Wed, Sep 1, 2010 at 12:44 AM, Yitzchok <adminjew at gmail.com> wrote:
> Hi,
>
> 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 <action application="managed"
> data="NameOfClass"/> I get these errors.
>
>
> 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
>
> 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 00:21:23.303236 [ERR] mod_managed.cpp:422 Application run failed
> for NameOfClass (unknown module or exception).
>
>
> Anyone have any idea what is the problem?
>
> Thanks.
> Yitzchok
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100901/b843a2e0/attachment.html
More information about the FreeSWITCH-users
mailing list