This doesn't appear to be an error with the bus. Looks like an error in GetEmailMessageFromTemplate and a dynamic type.
On Dec 8, 2011, at 6:14 PM, Ez <[email protected]> wrote: > Using Rhino service bus with raven db and mvc. We are using so that an > email is sent after a particular event occurs.. this worked fine in > our test environment. But fails in production setting. Can some one > please let me know what the error message means and what I should be > looking for in terms of resolving this.. thank you > > ------------------------------------------------------------------------------------ > > ERROR RhinoBus.Utils.RhinoServiceBus.xxxxMsmqTransport - Failed to > process message > Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform > runtime binding on a null reference > at CallSite.Target(Closure , CallSite , Object ) > at > RhinoBus.Notification.Consumers.NotificationConsumerBase.GetEmailMessageFromTemplate(String > actionName, Object parameters, String templateDefaultFromAddress, > String toAddress) in c:\TeamCity\buildAgent\work > \Prod_ServiceBus_MSBuildNEW\Server\ServiceBus\Trunk\Source > \RhinoBus.Notification\Consumers\NotificationConsumerBase.cs:line 129 > at > RhinoBus.Notification.Consumers.NotificationConsumerBase.CreateEmailMessage(Object > receivedMessage, String emailAddress, String fromAddress, Object data, > List`1 attachmentPaths) in c:\TeamCity\buildAgent\work > \Prod_ServiceBus_MSBuildNEW\Server\ServiceBus\Trunk\Source > \RhinoBus.Notification\Consumers\NotificationConsumerBase.cs:line 83 > at > RhinoBus.Notification.Consumers.PackageLoggedConsumer.Consume(xxxxx > message) in c:\TeamCity\buildAgent\work\Prod_ServiceBus_MSBuildNEW > \Server\ServiceBus\Trunk\Source\xxxxx.Notification\.......:line 55 > at Rhino.ServiceBus.Impl.DefaultReflection.InvokeConsume(Object > consumer, Object msg) in C:\Prj\xxxx\Tools\Frameworks\RhinoServiceBus > \Rhino.ServiceBus\Impl\DefaultReflection.cs:line 223 > at > Rhino.ServiceBus.Impl.DefaultServiceBus.Transport_OnMessageArrived(CurrentMessageInformation > msg) in C:\Prj\xxxx\Tools\Frameworks\RhinoServiceBus\Rhino.ServiceBus > \Impl\DefaultServiceBus.cs:line 433 > at > Rhino.ServiceBus.Transport.TransportUtil.ProcessSingleMessage(CurrentMessageInformation > currentMessageInformation, Func`2 messageRecieved) in C:\Prj\xxxxx > \Tools\Frameworks\RhinoServiceBus\Rhino.ServiceBus\Transport > \TransportUtil.cs:line 26 > at > MagicBus.Utils.RhinoServiceBus.MsmqTransport.ProcessMessage(Message > message, OpenedQueue messageQueue, TransactionScope tx, Func`2 > messageRecieved, Action`1 beforeMessageTransactionCommit, Action`2 > messageCompleted) in c:\TeamCity\buildAgent\work > \Prod_ServiceBus_MSBuildNEW\Server\ServiceBus\Trunk\Source > \RhinoBus.Utils\RhinoServiceBus\MsmqTransport.cs:line 357 > ------------------------------------------- > > -- > You received this message because you are subscribed to the Google Groups > "Rhino Tools Dev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rhino-tools-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
