{"action":"closed","issue":{"url":"https://api.github.com/repos/home-climate-control/dz/issues/46","repository_url":"https://api.github.com/repos/home-climate-control/dz","labels_url":"https://api.github.com/repos/home-climate-control/dz/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/home-climate-control/dz/issues/46/comments","events_url":"https://api.github.com/repos/home-climate-control/dz/issues/46/events","html_url":"https://github.com/home-climate-control/dz/issues/46","id":345611370,"node_id":"MDU6SXNzdWUzNDU2MTEzNzA=","number":46,"title":"GCal set schedule not updating app","user":{"login":"marcass","id":8477390,"node_id":"MDQ6VXNlcjg0NzczOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/8477390?v=4","gravatar_id":"","url":"https://api.github.com/users/marcass","html_url":"https://github.com/marcass","followers_url":"https://api.github.com/users/marcass/followers","following_url":"https://api.github.com/users/marcass/following{/other_user}","gists_url":"https://api.github.com/users/marcass/gists{/gist_id}","starred_url":"https://api.github.com/users/marcass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcass/subscriptions","organizations_url":"https://api.github.com/users/marcass/orgs","repos_url":"https://api.github.com/users/marcass/repos","events_url":"https://api.github.com/users/marcass/events{/privacy}","received_events_url":"https://api.github.com/users/marcass/received_events","type":"User","site_admin":false},"labels":[{"id":736660663,"node_id":"MDU6TGFiZWw3MzY2NjA2NjM=","url":"https://api.github.com/repos/home-climate-control/dz/labels/calendar","name":"calendar","color":"e8bc96","default":false}],"state":"closed","locked":false,"assignee":{"login":"climategadgets","id":1731579,"node_id":"MDQ6VXNlcjE3MzE1Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1731579?v=4","gravatar_id":"","url":"https://api.github.com/users/climategadgets","html_url":"https://github.com/climategadgets","followers_url":"https://api.github.com/users/climategadgets/followers","following_url":"https://api.github.com/users/climategadgets/following{/other_user}","gists_url":"https://api.github.com/users/climategadgets/gists{/gist_id}","starred_url":"https://api.github.com/users/climategadgets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/climategadgets/subscriptions","organizations_url":"https://api.github.com/users/climategadgets/orgs","repos_url":"https://api.github.com/users/climategadgets/repos","events_url":"https://api.github.com/users/climategadgets/events{/privacy}","received_events_url":"https://api.github.com/users/climategadgets/received_events","type":"User","site_admin":false},"assignees":[{"login":"climategadgets","id":1731579,"node_id":"MDQ6VXNlcjE3MzE1Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1731579?v=4","gravatar_id":"","url":"https://api.github.com/users/climategadgets","html_url":"https://github.com/climategadgets","followers_url":"https://api.github.com/users/climategadgets/followers","following_url":"https://api.github.com/users/climategadgets/following{/other_user}","gists_url":"https://api.github.com/users/climategadgets/gists{/gist_id}","starred_url":"https://api.github.com/users/climategadgets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/climategadgets/subscriptions","organizations_url":"https://api.github.com/users/climategadgets/orgs","repos_url":"https://api.github.com/users/climategadgets/repos","events_url":"https://api.github.com/users/climategadgets/events{/privacy}","received_events_url":"https://api.github.com/users/climategadgets/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-30T04:57:40Z","updated_at":"2018-07-30T21:05:12Z","closed_at":"2018-07-30T21:05:12Z","author_association":"NONE","body":"Problem: Host machine restart broke schedule update in app. Restart was for a problem with another project (not dz related).\r\n\r\nGit branch version:\r\n`$ git branch -v\r\n* master fdb03bd [ahead 4, behind 46] new version Merge branch 'master' of https://github.com/home-climate-control/dz`\r\n\r\nSteps taken to resolve:\r\n- Renew {HOME}/.dz/Calendar/StoredCredential in case it had expired (have to run \"$./dz-runner <conf> | grep https\" to get url, local port forward to headless machine the port specified in the authentication URL, paste url in local browser and sign in. SortedCredential was verified as updated) => no success\r\n- Renew app-specific password in dz3 conf file in the http-connector section => no success\r\n- restart dz service => no success\r\n- restart machine => no success\r\n\r\nThe error (occurs every minute in logs) is:\r\n\r\n16:01:10,052 ERROR Scheduler pool-13-thread-1 [run] Unexpected exception \r\njava.util.NoSuchElementException \r\n       at java.util.StringTokenizer.nextToken(StringTokenizer.java:349) \r\n       at net.sf.dz3.scheduler.gcal.StatusParser.parse(StatusParser.java:77) \r\n       at net.sf.dz3.scheduler.gcal.GCalScheduleUpdater.parseEvent(GCalScheduleUpdater.java:322) \r\n       at net.sf.dz3.scheduler.gcal.GCalScheduleUpdater.updateEvent(GCalScheduleUpdater.java:290) \r\n       at net.sf.dz3.scheduler.gcal.GCalScheduleUpdater.parse(GCalScheduleUpdater.java:261) \r\n       at net.sf.dz3.scheduler.gcal.GCalScheduleUpdater.parseEvents(GCalScheduleUpdater.java:243) \r\n       at net.sf.dz3.scheduler.gcal.GCalScheduleUpdater.updateCalendar(GCalScheduleUpdater.java:181) \r\n       at net.sf.dz3.scheduler.gcal.GCalScheduleUpdater.update(GCalScheduleUpdater.java:126) \r\n       at net.sf.dz3.scheduler.Scheduler.update(Scheduler.java:265) \r\n       at net.sf.dz3.scheduler.Scheduler.run(Scheduler.java:229) \r\n       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) \r\n       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) \r\n       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) \r\n       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) \r\n       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) \r\n       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) \r\n       at java.lang.Thread.run(Thread.java:745)\r\n"}}
{"actor":{"display_login":"marcass"}}