[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-dev
Subject:    DO NOT REPLY [Bug 40363]  New:  - initConnection function in Publisher.java gives NPE
From:       bugzilla () apache ! org
Date:       2006-08-30 15:58:51
Message-ID: bug-40363-1333 () http ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40363>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40363

           Summary: initConnection function in Publisher.java gives NPE
           Product: JMeter
           Version: 2.2
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: whordijk@triennium.com


After debugging class :

org/apache/jmeter/protocol/jms/client/Publisher.java

function initConnection

I noticed that the "this.CONN = ConnectionFactory.getTopicConnection();" 
resulted in this.CONN equals NULL! I've fixed this problem by inserting the 
statement "ConnectionFactory.getTopicConnectionFactory(ctx, connfactory);" 
BEFORE the call to "this.CONN = ConnectionFactory.getTopicConnection();".

My JMS Broker : Sonic MQ 7.0

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic