ASF Bugzilla – Attachment 24292 Details for
Bug 47870
JMSSubscriber fails due to NPE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrects NPE
patchReceiveSubscriber.patch (text/plain), 1.08 KB, created by
Philippe Mouawad
on 2009-09-18 07:48:01 UTC
(
hide
)
Description:
Corrects NPE
Filename:
MIME Type:
Creator:
Philippe Mouawad
Created:
2009-09-18 07:48:01 UTC
Size:
1.08 KB
patch
obsolete
>Index: src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java >=================================================================== >--- src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java (revision 791718) >+++ src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java (working copy) >@@ -84,8 +84,8 @@ > ConnectionFactory.getTopicConnectionFactory(ctx,connfactory); > _conn = ConnectionFactory.getTopicConnection(); > _topic = InitialContextFactory.lookupTopic(ctx, topic); >- _session = this.CONN.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE); >- _subscriber = this.SESSION.createSubscriber(this.TOPIC); >+ _session = _conn.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE); >+ _subscriber = _session.createSubscriber(this.TOPIC); > log.info("created the topic connection successfully"); > } catch (JMSException e) { > log.error("Connection error: " + e.getMessage());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47870
: 24292