On my local Mac OS (Mountain Lion), I have been running sbt test
just fine and the tests compiled/passed with Play 2.3.x, Scala (2.10.x). Java version on my local was "1.8.0_131".
After re-imaging my Mac OS X(10.12.3), I started getting the very strange error when running "sbt test" for the same codebase (Play, Scala, Java versions still the same).
Probably, this might not be to do with my Mac upgrade but that is the only variable (change) I could think of right now.
I would really appreciate if someone could give me a quick pointer on probable causes of this?
Error stack trace looks something like
[error] NumberFormatException: : For input string: "" (ProxyUtils.java:159)
[error] com.ning.http.util.ProxyUtils.createProxyServerSelector(ProxyUtils.java:159)
[error] com.ning.http.client.AsyncHttpClientConfig$Builder.build(AsyncHttpClientConfig.java:1132)
[error] play.api.libs.ws.ning.NingAsyncHttpClientConfigBuilder.build(NingAsyncHttpClientConfigBuilder.scala:37)
[error] play.api.libs.ws.ning.NingWSAPI.buildAsyncClientConfig(NingWS.scala:563)
[error] play.api.libs.ws.ning.NingWSAPI.newClient(NingWS.scala:520)
[error] play.api.libs.ws.ning.NingWSAPI$$anonfun$client$1.apply(NingWS.scala:543)
[error] play.api.libs.ws.ning.NingWSAPI$$anonfun$client$1.apply(NingWS.scala:540)
[error] play.api.libs.ws.ning.NingWSAPI.client(NingWS.scala:538)
[error] play.api.libs.ws.ning.NingWSAPI.url(NingWS.scala:553)
[error] play.api.libs.ws.WS$.url(WS.scala:129)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…