You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/07/21 10:03:27 UTC

[I] NPE — getAddress() can NPE on socket.getLocalAddress() in IpcClient [maven-resolver]

elharo opened a new issue, #1986:
URL: https://github.com/apache/maven-resolver/issues/1986

   **Affected version:** HEAD
   
   **File:** 
   
   
   
    is volatile (line 84) and set to  in  (line 359). If  runs concurrently with  (which calls ),  is null and  throws NPE, which is **not** an  and is thus uncaught.
   
   Originally reported in #1944.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] NPE — getAddress() can NPE on socket.getLocalAddress() in IpcClient [maven-resolver]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz commented on issue #1986:
URL: https://github.com/apache/maven-resolver/issues/1986#issuecomment-5485365310

   Addressed before this issue was filed, by PR #1945 (merged 2026-07-07): IpcClient.getAddress now reads the socket channel into a local and returns "[closed]"/"[not bound]" markers instead of failing with an NPE when the channel is closed or unbound. Closing as fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] NPE — getAddress() can NPE on socket.getLocalAddress() in IpcClient [maven-resolver]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz closed issue #1986: NPE — getAddress() can NPE on socket.getLocalAddress() in IpcClient
URL: https://github.com/apache/maven-resolver/issues/1986


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org