Error message with Rhino service bus

55 views
Skip to first unread message

Ez

unread,
Dec 8, 2011, 8:14:35 PM12/8/11
to Rhino Tools Dev
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
-------------------------------------------

Kaylor Mail

unread,
Dec 8, 2011, 9:09:16 PM12/8/11
to rhino-t...@googlegroups.com
This doesn't appear to be an error with the bus. Looks like an error in GetEmailMessageFromTemplate and a dynamic type.

> --
> You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
> To post to this group, send email to rhino-t...@googlegroups.com.
> To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
>

Ez

unread,
Jan 3, 2012, 1:51:27 PM1/3/12
to rhino-t...@googlegroups.com
Yes you are right. We fixed it .. its not a Rhino SB error. thank you.
Reply all
Reply to author
Forward
0 new messages