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/18 16:48:02 UTC

DO NOT REPLY [Bug 47870] New: JMSSubscriber fails due to NPE

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

           Summary: JMSSubscriber fails due to NPE
           Product: JMeter
           Version: 2.3.4
          Platform: PC
               URL: http://www.ubik-ingenierie.com
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: p.mouawad@ubik-ingenierie.com


Created an attachment (id=24292)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24292)
Corrects NPE

Hello,
When you use JMSSubscriber you always get NPE exception at line 87 in trunk
head (198/09/2009)
Investigating a little it seems that _CONN and _SESSION where accessed  before
being initialized.

Attached is a patch that corrects the issue.
By the way close method should try/catch different close method to ensure no
leak.

Philippe
http://www.ubik-ingenierie.com

-- 
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 47870] JMSSubscriber fails due to NPE

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

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

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

--- Comment #1 from Sebb <se...@apache.org> 2009-09-19 07:16:55 PDT ---
Thanks very much for the patch; applied to SVN:

URL: http://svn.apache.org/viewvc?rev=816929&view=rev
Log:
Bug 47870 - JMSSubscriber fails due to NPE

-- 
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 47870] JMSSubscriber fails due to NPE

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hikiran@gmail.com

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

-- 
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