[SPRNET-1485] CachedSession CreateProducer destination null Created: 03/Jan/12  Updated: 17/Apr/12  Resolved: 17/Apr/12

Status: Resolved
Project: Spring.NET
Component/s: Spring-NET-MSG
Affects Version/s: 1.3.2
Fix Version/s: 2.0 M1

Type: Bug Priority: Major
Reporter: Steve Bohlen Assignee: Steve Bohlen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Reference URL: http://forum.springframework.net/showthread.php?9773


In CachedSession.cs: public IMessageProducer CreateProducer(IDestination destination) there is no check for destination == null, and in fact, the method is being called with destination = null (from NmsTemplate.cs: DoInNms), which causes an argumentnullexception

Comment by Steve Bohlen [ 17/Apr/12 ]

Added null arg check in method call.

Generated at Wed Jul 17 22:49:00 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.