Bug 48144 - NullPointer Exception in org.apache.jmeter.protocol.jms.client.OnMessageSubscriber initConnection()
NullPointer Exception in org.apache.jmeter.protocol.jms.client.OnMessageSubsc...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.3.4
Macintosh Mac OS X 10.4
: P2 major (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-11-05 19:54 UTC by martinrl
Modified: 2009-11-06 19:21 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martinrl 2009-11-05 19:54:26 UTC
When a JMS Subscriber Sampler is used with the "Use MessageListener.onMessage()" option selected, a NullPointerException is thrown because ConnectionFactory.getTopicConnectionFactory(ctx, connfactory) is not called before the call to 
    this.CONN = ConnectionFactory.getTopicConnection();
in 
  org.apache.jmeter.protocol.jms.client.OnMessageSubscriber.initConnection()
Comment 1 Sebb 2009-11-06 02:06:55 UTC
Thanks!

Fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=833335&view=rev
Log:
Bug 48144 - NPE in OnMessageSubscriber
Comment 2 martinrl 2009-11-06 19:21:53 UTC
Thank you for your work on this product!  I wish I had looked into it sooner!  Glad I'm learning it now and grateful for your work and support!