Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325177

Summary: NPE due to null host name in tryGetURI() [ProxyManager.java:330]
Product: [Eclipse Project] Platform Reporter: Scott Michel <scottm>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.6   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: stalebug

Description Scott Michel CLA 2010-09-13 19:06:23 EDT
Build Identifier: 20100617-1415

If the host name handed to org.eclipse.core.internal.net.ProxyManager.tryGetURI is null, a NPE is thrown.

Host name can be null if the socket connection is to IPv6 localhost (::1). Unsure who is actually responsible for changing the host name to null, but defensively guarding against this problem is very straightforward.

Reproducible: Always
Comment 1 Eclipse Webmaster CLA 2019-09-06 15:31:26 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Eclipse Genie CLA 2021-09-30 13:43:40 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.