Bug 46016 - NullPointerException possible in JMS Point to Point Test
Summary: NullPointerException possible in JMS Point to Point Test
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.3.2
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:42 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2165