You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2009/09/24 17:44:23 UTC

DO NOT REPLY [Bug 47899] New: NullPointerExceptions in ReceiveSubscriber constructor

https://issues.apache.org/bugzilla/show_bug.cgi?id=47899

           Summary: NullPointerExceptions in ReceiveSubscriber constructor
           Product: JMeter
           Version: 2.3.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: hikiran@gmail.com


I was testing out JMS Topics with Jemeter and started seeing NPEs.
org.apache.jmeter.protocol.jms.client.RecieveSubscriber constructor seems to
refer to variables this.CONN,this.TOPIC,this.SESSION before they were assigned
values which caused NPEs, I had to fix them in the source and rebuild to make
it working.  

Looks like JMS Topics were not tested out.

Fixes need to be made at line#87 and line#88

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

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


DO NOT REPLY [Bug 47899] NullPointerExceptions in ReceiveSubscriber constructor

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47899

Hiskill <hi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |
         AssignedTo|jmeter-dev@jakarta.apache.o |hikiran@gmail.com
                   |rg                          |

--- Comment #2 from Hiskill <hi...@gmail.com> 2009-09-24 13:40:55 PDT ---
Created an attachment (id=24308)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24308)
patch NPE at #88

I looked at the checkin, this would still give an NPE at #88.

Line:
_subscriber = _session.createSubscriber(this.TOPIC);

Should have been:
_subscriber = _session.createSubscriber(_topic);


Attached the source file.

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

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


DO NOT REPLY [Bug 47899] NullPointerExceptions in ReceiveSubscriber constructor

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47899

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Sebb <se...@apache.org> 2009-09-24 09:22:46 PDT ---
*** This bug has been marked as a duplicate of bug 47870 ***

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

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