[
https://jira.jboss.org/jira/browse/JBREM-1160?page=com.atlassian.jira.plu...
]
Ron Sigal updated JBREM-1160:
-----------------------------
Summary: CLONE [JBREM-1159] - Version compatibility problem with leasing
(was: CLONE -Version compatibility problem with leasing)
Fix Version/s: 2.2.3.SP2
(was: 2.5.2 (Flounder))
Affects Version/s: 2.2.3.SP1
(was: 2.5.1 (Flounder))
CLONE [JBREM-1159] - Version compatibility problem with leasing
---------------------------------------------------------------
Key: JBREM-1160
URL:
https://jira.jboss.org/jira/browse/JBREM-1160
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.2.3.SP1
Reporter: Ron Sigal
Assignee: Ron Sigal
Fix For: 2.2.3.SP2
If "useClientConnectionIdentity" is set to "true, then
org.jboss.remoting.ServerInvoker.updateClientLease() tries to get a leasePingerId from the
request map and compare it to the leasePingerId in a Lease. But if the InvocationRequest
came from an older client that doesn't know about connection identity, the value of
leasePingerId is null. The test calls
leasePingerId.equals(clientLease.getLeasePingerId()
which causes a NullPointerException. The test should be reversed. Also,
org.jboss.test.remoting.versioning.lease.LeaseVersionTestCase should be strengthened to
catch this problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira