Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-16

InboundClient should not be removed while a request is in progress

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.0.Beta3
    • 3.1.0.Beta2
    • None

      An invocation of org.jboss.remoting.Client.send() will cause the execution of an InboundRequestTask on the server, where InboundRequestTask.run() looks for the related org.jboss.remoting3.remote.InboundClient to execute the request. An invocation of Client.close() will result in the related InboundClient being removed from its map. Since the InboundRequestTask is executed in a separate thread, it is possible for the removal of the InboundClient to occur before the InboundRequestTask accesses it. The result is a NullPointerException.

            Unassigned Unassigned
            rsigal@redhat.com Ronald Sigal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: