Bug 46016 - NullPointerException possible in JMS Point to Point Test
NullPointerException possible in JMS Point to Point Test
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.3.2
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-10-15 15:48 UTC by Chris LeCompte
Modified: 2008-10-20 07:55 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Log:
Bug 46016 - avoid possible NPE in JMSSampler
Replace inefficient iterator usage