{"action":"opened","issue":{"url":"https://api.github.com/repos/javamelody/javamelody/issues/617","repository_url":"https://api.github.com/repos/javamelody/javamelody","labels_url":"https://api.github.com/repos/javamelody/javamelody/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/javamelody/javamelody/issues/617/comments","events_url":"https://api.github.com/repos/javamelody/javamelody/issues/617/events","html_url":"https://github.com/javamelody/javamelody/issues/617","id":213813844,"number":617,"title":"Charts of Statistics http/sql etc, can not be viewed after restarting the application","user":{"login":"goldyliang","id":12075603,"avatar_url":"https://avatars2.githubusercontent.com/u/12075603?v=3","gravatar_id":"","url":"https://api.github.com/users/goldyliang","html_url":"https://github.com/goldyliang","followers_url":"https://api.github.com/users/goldyliang/followers","following_url":"https://api.github.com/users/goldyliang/following{/other_user}","gists_url":"https://api.github.com/users/goldyliang/gists{/gist_id}","starred_url":"https://api.github.com/users/goldyliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldyliang/subscriptions","organizations_url":"https://api.github.com/users/goldyliang/orgs","repos_url":"https://api.github.com/users/goldyliang/repos","events_url":"https://api.github.com/users/goldyliang/events{/privacy}","received_events_url":"https://api.github.com/users/goldyliang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-13T16:00:53Z","updated_at":"2017-03-13T16:00:53Z","closed_at":null,"body":"The charts under each http/sql request entry can be viewed normally. However if the application is restarted, the charts can not be seen anymore, unless there are several requests coming and 're-activate' the charts.\r\n\r\nAfter some reading of the code, I have found the source of the issue and changed the code to make it work. \r\n\r\nThe problem is in  Collector.getJRobin.  After restarting, the http/sql graphs are not added into any of the JRobin collections so getJRobin return null even the RRD file really exists. My quick fix is to create a temporary JRobin object and return that if no JRobin object is found in the collections.\r\n\r\nI will send a PR soon for this change."}}
{"actor":{"display_login":"goldyliang"}}