{"action":"created","issue":{"url":"https://api.github.com/repos/ArcBees/teamcity-plugins/issues/31","labels_url":"https://api.github.com/repos/ArcBees/teamcity-plugins/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/ArcBees/teamcity-plugins/issues/31/comments","events_url":"https://api.github.com/repos/ArcBees/teamcity-plugins/issues/31/events","html_url":"https://github.com/ArcBees/teamcity-plugins/issues/31","id":109500363,"number":31,"title":"NumberFormatException","user":{"login":"joe-harter","id":5928394,"avatar_url":"https://avatars.githubusercontent.com/u/5928394?v=3","gravatar_id":"","url":"https://api.github.com/users/joe-harter","html_url":"https://github.com/joe-harter","followers_url":"https://api.github.com/users/joe-harter/followers","following_url":"https://api.github.com/users/joe-harter/following{/other_user}","gists_url":"https://api.github.com/users/joe-harter/gists{/gist_id}","starred_url":"https://api.github.com/users/joe-harter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joe-harter/subscriptions","organizations_url":"https://api.github.com/users/joe-harter/orgs","repos_url":"https://api.github.com/users/joe-harter/repos","events_url":"https://api.github.com/users/joe-harter/events{/privacy}","received_events_url":"https://api.github.com/users/joe-harter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-02T14:23:05Z","updated_at":"2015-10-02T17:57:57Z","closed_at":"2015-10-02T17:57:57Z","body":"in the middle of the day the pull request tester stopped triggering. TeamCity bubbles up this error:\r\njava.lang.NumberFormatException: For input string: \"2015-10-01T19:41:51.215215+00:00\" \r\n\r\nI rebooted TeamCity then installed the latest plugin but I'm getting the exact same error with the same input string. Any suggestions?\r\n\r\nHere is the full stacktrace:\r\njetbrains.buildServer.buildTriggers.BuildTriggerException: java.lang.NumberFormatException: For input string: \"2015-10-01T19:41:51.215215+00:00\" \r\nat jetbrains.buildServer.serverSide.impl.BuildTriggersChecker.callTrigger(BuildTriggersChecker.java:27) \r\nat jetbrains.buildServer.serverSide.impl.BuildTriggersChecker.access$1100(BuildTriggersChecker.java:80) \r\nat jetbrains.buildServer.serverSide.impl.BuildTriggersChecker$BuildTriggersGroup.processTriggers(BuildTriggersChecker.java:20)\r\nat jetbrains.buildServer.serverSide.impl.BuildTriggersChecker.triggerBuilds(BuildTriggersChecker.java:87) \r\nat jetbrains.buildServer.serverSide.impl.BuildServerRunner$4.doSomething(BuildServerRunner.java:1) \r\nat jetbrains.buildServer.serverSide.impl.BuildServerRunner$BuildServerWorker.runAction(BuildServerRunner.java:49)\r\nat jetbrains.buildServer.serverSide.impl.BuildServerRunner$BuildServerWorker.run(BuildServerRunner.java:48) \r\nat java.lang.Thread.run(Thread.java:745) \r\nCaused by: com.google.gson.JsonParseException: java.lang.NumberFormatException: For input string: \"2015-10-01T19:41:51.215215+00:00\" \r\nat com.arcbees.vcs.util.GsonDateTypeAdapter.deserialize(GsonDateTypeAdapter.java:63) \r\nat com.arcbees.vcs.util.GsonDateTypeAdapter.deserialize(GsonDateTypeAdapter.java:34) \r\nat com.google.gson.TreeTypeAdapter.read(TreeTypeAdapter.java:58) \r\nat com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) \r\nat com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)\r\nat com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) \r\nat com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)\r\nat com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)\r\nat com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93) \r\nat com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)\r\nat com.google.gson.Gson.fromJson(Gson.java:803) \r\nat com.google.gson.Gson.fromJson(Gson.java:768) \r\nat com.google.gson.Gson.fromJson(Gson.java:717) \r\nat com.google.gson.Gson.fromJson(Gson.java:689) \r\nat com.arcbees.vcs.AbstractVcsApi.readEntity(AbstractVcsApi.java:86) \r\nat com.arcbees.vcs.AbstractVcsApi.processResponse(AbstractVcsApi.java:72) \r\nat com.arcbees.vcs.bitbucket.BitbucketApi.getOpenedPullRequests(BitbucketApi.java:74) \r\nat com.arcbees.pullrequest.PullRequestsTrigger.triggerBuild(PullRequestsTrigger.java:78) \r\nat jetbrains.buildServer.serverSide.impl.BuildTriggersChecker$4.run(BuildTriggersChecker.java:1) \r\nat jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:89) \r\nat jetbrains.buildServer.serverSide.impl.BuildTriggersChecker.callTrigger(BuildTriggersChecker.java:84) \r\n... 7 more \r\nCaused by: java.lang.NumberFormatException: For input string: \"2015-10-01T19:41:51.215215+00:00\" \r\nat java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) \r\nat java.lang.Long.parseLong(Long.java:589) \r\nat java.lang.Long.parseLong(Long.java:631) \r\nat com.google.gson.JsonPrimitive.getAsLong(JsonPrimitive.java:238) \r\nat com.arcbees.vcs.util.GsonDateTypeAdapter.deserialize(GsonDateTypeAdapter.java:61) \r\n... 27 more"},"comment":{"url":"https://api.github.com/repos/ArcBees/teamcity-plugins/issues/comments/145103927","html_url":"https://github.com/ArcBees/teamcity-plugins/issues/31#issuecomment-145103927","issue_url":"https://api.github.com/repos/ArcBees/teamcity-plugins/issues/31","id":145103927,"user":{"login":"meriouma","id":1082552,"avatar_url":"https://avatars.githubusercontent.com/u/1082552?v=3","gravatar_id":"","url":"https://api.github.com/users/meriouma","html_url":"https://github.com/meriouma","followers_url":"https://api.github.com/users/meriouma/followers","following_url":"https://api.github.com/users/meriouma/following{/other_user}","gists_url":"https://api.github.com/users/meriouma/gists{/gist_id}","starred_url":"https://api.github.com/users/meriouma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meriouma/subscriptions","organizations_url":"https://api.github.com/users/meriouma/orgs","repos_url":"https://api.github.com/users/meriouma/repos","events_url":"https://api.github.com/users/meriouma/events{/privacy}","received_events_url":"https://api.github.com/users/meriouma/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T17:57:57Z","updated_at":"2015-10-02T17:57:57Z","body":"Weird. I'll close this issue for now. Please reopen it if the date format is wrong again"}}