SonarQube Eclipse
  1. SonarQube Eclipse
  2. SONARIDE-215

Proxy selection mechanism interfere with EGit

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      EGit 0.9.1
    • Number of attachments :
      0

      Description

      Current mechanism uses java.net.ProxySelector and java.net.Authenticator to transfer proxy settings from Eclipse ProxyService to sonar-ws-client.
      And it might interfere with EGit as was reported by Freddy Mallet :

      2011-03-30 11:24:30,567 [Worker-35] ERROR org.eclipse.core.runtime - Unable to configure proxy for sonar-ws-client
      java.lang.NullPointerException: null
      	at org.eclipse.core.internal.net.ProxyManager.tryGetURI(ProxyManager.java:330) ~[org.eclipse.core.net_1.2.100.I20100511-0800.jar:na]
      	at org.eclipse.core.internal.net.ProxyManager.getProxyDataForHost(ProxyManager.java:307) ~[org.eclipse.core.net_1.2.100.I20100511-0800.jar:na]
      	at org.eclipse.core.internal.net.ProxyManager.getProxyDataForHost(ProxyManager.java:372) ~[org.eclipse.core.net_1.2.100.I20100511-0800.jar:na]
      	at org.eclipse.egit.ui.EclipseProxySelector.select(EclipseProxySelector.java:45) ~[na:na]
      	at org.sonar.wsclient.WSClientFactory.configureProxy(WSClientFactory.java:76) [org.sonar.ide.eclipse.wsclient_1.1.0.201103281425.jar:na]
      	at org.sonar.wsclient.WSClientFactory.create(WSClientFactory.java:52) [org.sonar.ide.eclipse.wsclient_1.1.0.201103281425.jar:na]
      

      So we should modify current implementation and use Eclipse ProxyService directly.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: