{"action":"created","issue":{"url":"https://api.github.com/repos/codepine/testrail-api-java-client/issues/11","repository_url":"https://api.github.com/repos/codepine/testrail-api-java-client","labels_url":"https://api.github.com/repos/codepine/testrail-api-java-client/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/codepine/testrail-api-java-client/issues/11/comments","events_url":"https://api.github.com/repos/codepine/testrail-api-java-client/issues/11/events","html_url":"https://github.com/codepine/testrail-api-java-client/issues/11","id":159858451,"number":11,"title":"411 ","user":{"login":"OlegusTesterovichus","id":15269131,"avatar_url":"https://avatars.githubusercontent.com/u/15269131?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegusTesterovichus","html_url":"https://github.com/OlegusTesterovichus","followers_url":"https://api.github.com/users/OlegusTesterovichus/followers","following_url":"https://api.github.com/users/OlegusTesterovichus/following{/other_user}","gists_url":"https://api.github.com/users/OlegusTesterovichus/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegusTesterovichus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegusTesterovichus/subscriptions","organizations_url":"https://api.github.com/users/OlegusTesterovichus/orgs","repos_url":"https://api.github.com/users/OlegusTesterovichus/repos","events_url":"https://api.github.com/users/OlegusTesterovichus/events{/privacy}","received_events_url":"https://api.github.com/users/OlegusTesterovichus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-13T01:10:01Z","updated_at":"2016-06-25T18:57:04Z","closed_at":null,"body":"```\r\nTestRail testRail = TestRail\r\n                .builder(\"<host>\", \"<login>\", \"<pass>\")\r\n                .applicationName(\"Test\")\r\n                .build();\r\ntestRail.runs().delete(15).execute();\r\n```\r\n\r\nCovert exception:\r\n`Caused by: java.io.IOException: Server returned HTTP response code: 411 for URL: http://<host>/index.php?/api/v2/delete_run/15`\r\n\r\nLog: 2016-06-13 03:33:43 DEBUG Request:145 - Response Code : 411\r\n\r\nPull request: https://github.com/codepine/testrail-api-java-client/pull/10\r\n\r\n\r\n```\r\n2016-06-13 03:48:48 DEBUG Request:146 - Response Code : 411\r\n\r\njava.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\r\n at [Source: java.io.BufferedInputStream@1b68ddbd; line: 1, column: 2]\r\n\r\n\tat com.codepine.api.testrail.Request.execute(Request.java:186)\r\n\tat com.codepine.api.testrail.internal.temp.asdasdasd(temp.java:17)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:309)\r\n\tat org.junit.runner.JUnitCore.run(JUnitCore.java:160)\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)\r\nCaused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\r\n at [Source: java.io.BufferedInputStream@1b68ddbd; line: 1, column: 2]\r\n\tat com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1524)\r\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:557)\r\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:475)\r\n\tat com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2343)\r\n\tat com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:818)\r\n\tat com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:698)\r\n\tat com.fasterxml.jackson.databind.ObjectReader._initForReading(ObjectReader.java:1347)\r\n\tat com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1253)\r\n\tat com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:865)\r\n\tat com.codepine.api.testrail.Request.execute(Request.java:154)\r\n\t... 27 more\r\n```"},"comment":{"url":"https://api.github.com/repos/codepine/testrail-api-java-client/issues/comments/228564983","html_url":"https://github.com/codepine/testrail-api-java-client/issues/11#issuecomment-228564983","issue_url":"https://api.github.com/repos/codepine/testrail-api-java-client/issues/11","id":228564983,"user":{"login":"kunal546","id":345172,"avatar_url":"https://avatars.githubusercontent.com/u/345172?v=3","gravatar_id":"","url":"https://api.github.com/users/kunal546","html_url":"https://github.com/kunal546","followers_url":"https://api.github.com/users/kunal546/followers","following_url":"https://api.github.com/users/kunal546/following{/other_user}","gists_url":"https://api.github.com/users/kunal546/gists{/gist_id}","starred_url":"https://api.github.com/users/kunal546/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunal546/subscriptions","organizations_url":"https://api.github.com/users/kunal546/orgs","repos_url":"https://api.github.com/users/kunal546/repos","events_url":"https://api.github.com/users/kunal546/events{/privacy}","received_events_url":"https://api.github.com/users/kunal546/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T18:57:04Z","updated_at":"2016-06-25T18:57:04Z","body":"Hi, I am unable to repro this issue. Which TestRail version are you using?"}}
{"actor":{"display_login":"kunal546"}}