public class MyTest extends FunctionalTest { @Test public void gtest() { Http.Response response = GET("http://google.com");
This code throw:
java.lang.RuntimeException: java.util.concurrent.ExecutionException: play.exceptions.UnexpectedException: Unexpected Error at play.test.FunctionalTest.makeRequest(FunctionalTest.java:299) at play.test.FunctionalTest.makeRequest(FunctionalTest.java:305) at play.test.FunctionalTest.GET(FunctionalTest.java:103) at play.test.FunctionalTest.GET(FunctionalTest.java:57) at MyTest.gtest(MyTest.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Can I say why this error occurs? And how to fix it? Playframework 1.2.4 / Java 1.7.0_02.
source share