Bug 46016

Summary: NullPointerException possible in JMS Point to Point Test
Product: JMeter Reporter: Chris LeCompte <chris.lecompte>
Component: MainAssignee: JMeter issues mailing list <issues>
Severity: normal    
Priority: P2    
Version: 2.3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Chris LeCompte 2008-10-15 15:48:08 UTC
On line 301 the line

String msg = "QueueConnectionFactory expected, but got " + obj.getClass().getName();

can cause a NullPointerException if the object returned from JNDI is null.
Comment 1 Sebb 2008-10-20 07:55:52 UTC
Thanks for the report. Fixed in SVN trunk:

URL: http://svn.apache.org/viewvc?rev=706313&view=rev
Bug 46016 - avoid possible NPE in JMSSampler
Replace inefficient iterator usage