title: Jaspersoft Studio: Username may not be null (HTTP proxy issue)
body: <p>if you get an error similar to this although your credentials are correct or have even worked before in this environment, it may be due to an HTTP proxy misconfiguration (see answer below)</p>
  
  <pre><code>java.lang.IllegalArgumentException: Username may not be null
      at org.apache.http.util.Args.notNull(Args.java:48)
      at org.apache.http.auth.UsernamePasswordCredentials.&lt;init&gt;(UsernamePasswordCredentials.java:78)
      at com.jaspersoft.studio.server.utils.HttpUtils.getCredentials(HttpUtils.java:107)
      at com.jaspersoft.studio.server.utils.HttpUtils.setupProxy(HttpUtils.java:45)
      at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.connect(RestV2ConnectionJersey.java:91)
      at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:61)
      at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:85)
      at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:101)
      at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:97)
      at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:78)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
  </code></pre>