{"action":"opened","issue":{"url":"https://api.github.com/repos/testvagrant/optimusTemplate/issues/30","repository_url":"https://api.github.com/repos/testvagrant/optimusTemplate","labels_url":"https://api.github.com/repos/testvagrant/optimusTemplate/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/testvagrant/optimusTemplate/issues/30/comments","events_url":"https://api.github.com/repos/testvagrant/optimusTemplate/issues/30/events","html_url":"https://github.com/testvagrant/optimusTemplate/issues/30","id":336834234,"node_id":"MDU6SXNzdWUzMzY4MzQyMzQ=","number":30,"title":"Cannot parse content to class com.testvagrant.monitor.requests.Device because no content-type was present in the response and no default parser has been set.","user":{"login":"asitishere","id":7847381,"node_id":"MDQ6VXNlcjc4NDczODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7847381?v=4","gravatar_id":"","url":"https://api.github.com/users/asitishere","html_url":"https://github.com/asitishere","followers_url":"https://api.github.com/users/asitishere/followers","following_url":"https://api.github.com/users/asitishere/following{/other_user}","gists_url":"https://api.github.com/users/asitishere/gists{/gist_id}","starred_url":"https://api.github.com/users/asitishere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asitishere/subscriptions","organizations_url":"https://api.github.com/users/asitishere/orgs","repos_url":"https://api.github.com/users/asitishere/repos","events_url":"https://api.github.com/users/asitishere/events{/privacy}","received_events_url":"https://api.github.com/users/asitishere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T01:40:44Z","updated_at":"2018-06-29T01:40:44Z","closed_at":null,"author_association":"NONE","body":"09:10:35 -------- All devices and there status --------\r\n09:10:35 4S99LV4SO7KNWKRG --- Engaged\r\n09:10:35 Matching Device is Device{platform:\"ANDROID\", deviceName:\"null\", runsOn:\"DEVICE\", platformVersion:\"null\", udid:\"4S99LV4SO7KNWKRG\"}\r\n09:10:35       \u001B[31mjava.lang.IllegalStateException: Cannot parse content to class com.testvagrant.monitor.requests.Device because no content-type was present in the response and no default parser has been set.\r\n09:10:35 You can specify a default parser using e.g.:\r\n09:10:35 RestAssured.defaultParser = Parser.JSON;\r\n09:10:35 \r\n09:10:35 or you can specify an explicit ObjectMapper using as(class com.testvagrant.monitor.requests.Device, <ObjectMapper>);\r\n09:10:35 \tat sun.reflect.GeneratedConstructorAccessor80.newInstance(Unknown Source)\r\n09:10:35 \tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n09:10:35 \tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n09:10:35 \tat org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)\r\n09:10:35 \tat org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)\r\n09:10:35 \tat org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)\r\n09:10:35 \tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)\r\n09:10:35 \tat io.restassured.internal.RestAssuredResponseOptionsGroovyImpl$_as_closure3.doCall(RestAssuredResponseOptionsGroovyImpl.groovy:219)\r\n09:10:35 \tat io.restassured.internal.RestAssuredResponseOptionsGroovyImpl$_as_closure3.doCall(RestAssuredResponseOptionsGroovyImpl.groovy)\r\n09:10:35 \tat sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)\r\n09:10:35 \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n09:10:35 \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n09:10:35 \tat org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)\r\n09:10:35 \tat groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)\r\n09:10:35 \tat org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)\r\n09:10:35 \tat groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)\r\n09:10:35 \tat org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)\r\n09:10:35 \tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)\r\n09:10:35 \tat io.restassured.internal.RestAssuredResponseOptionsGroovyImpl.findContentType(RestAssuredResponseOptionsGroovyImpl.groovy:482)\r\n09:10:35 \tat sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)\r\n09:10:35 \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n09:10:35 \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n09:10:35 \tat org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)\r\n09:10:35 \tat org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)\r\n09:10:35 \tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)\r\n09:10:35 \tat io.restassured.internal.RestAssuredResponseOptionsGroovyImpl.as(RestAssuredResponseOptionsGroovyImpl.groovy:218)\r\n09:10:35 \tat io.restassured.internal.RestAssuredResponseOptionsImpl.as(RestAssuredResponseOptionsImpl.java:164)\r\n09:10:35 \tat com.testvagrant.monitor.clients.DevicesClient.getDevice(DevicesClient.java:50)\r\n09:10:35 \tat com.testvagrant.monitor.services.DevicesServiceImpl.updateFirstAvailableDeviceToEngaged(DevicesServiceImpl.java:38)\r\n09:10:35 \tat com.testvagrant.optimus.device.DeviceFinder.getAvailableDeviceAndUpdateToEngaged(DeviceFinder.java:56)\r\n09:10:35 \tat com.testvagrant.optimus.parser.OptimusConfigParser.allocateDevicesForCurrentScenario(OptimusConfigParser.java:151)\r\n09:10:35 \tat com.testvagrant.optimus.device.OptimusController.registerSmartBOTs(OptimusController.java:152)\r\n09:10:35 \tat steps.StartingSteps.setUp(StartingSteps.java:26)\r\n09:10:35 \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n09:10:35 \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n09:10:35 \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n09:10:35 \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n09:10:35 \tat cucumber.runtime.Utils$1.call(Utils.java:32)\r\n09:10:35 \tat cucumber.runtime.Timeout.timeout(Timeout.java:16)\r\n09:10:35 \tat cucumber.runtime.Utils.invoke(Utils.java:26)\r\n09:10:35 \tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)\r\n09:10:35 \tat cucumber.runtime.HookDefinitionMatch.runStep(HookDefinitionMatch.java:17)\r\n09:10:35 \tat cucumber.runner.UnskipableStep.executeStep(UnskipableStep.java:22)\r\n09:10:35 \tat cucumber.api.TestStep.run(TestStep.java:83)\r\n09:10:35 \tat cucumber.api.TestCase.run(TestCase.java:58)\r\n09:10:35 \tat cucumber.runner.Runner.runPickle(Runner.java:80)\r\n09:10:35 \tat cucumber.runtime.Runtime.runFeature(Runtime.java:119)\r\n09:10:35 \tat cucumber.runtime.Runtime.run(Runtime.java:104)\r\n09:10:35 \tat cucumber.api.cli.Main.run(Main.java:36)\r\n09:10:35 \tat cucumber.api.cli.Main.main(Main.java:18)\r\n"}}
{"actor":{"display_login":"asitishere"}}