{"action":"opened","issue":{"url":"https://api.github.com/repos/majinkai/dubbo-monitor/issues/1","repository_url":"https://api.github.com/repos/majinkai/dubbo-monitor","labels_url":"https://api.github.com/repos/majinkai/dubbo-monitor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/majinkai/dubbo-monitor/issues/1/comments","events_url":"https://api.github.com/repos/majinkai/dubbo-monitor/issues/1/events","html_url":"https://github.com/majinkai/dubbo-monitor/issues/1","id":145582452,"number":1,"title":"consumer为null时，DubboMonitorService. writeToDataBase方法会报错","user":{"login":"yjmyzz","id":5262225,"avatar_url":"https://avatars.githubusercontent.com/u/5262225?v=3","gravatar_id":"","url":"https://api.github.com/users/yjmyzz","html_url":"https://github.com/yjmyzz","followers_url":"https://api.github.com/users/yjmyzz/followers","following_url":"https://api.github.com/users/yjmyzz/following{/other_user}","gists_url":"https://api.github.com/users/yjmyzz/gists{/gist_id}","starred_url":"https://api.github.com/users/yjmyzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjmyzz/subscriptions","organizations_url":"https://api.github.com/users/yjmyzz/orgs","repos_url":"https://api.github.com/users/yjmyzz/repos","events_url":"https://api.github.com/users/yjmyzz/events{/privacy}","received_events_url":"https://api.github.com/users/yjmyzz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T04:40:39Z","updated_at":"2016-04-04T04:40:39Z","closed_at":null,"body":"134行这里：\r\n`\r\n                int i = dubboInvoke.getConsumer().indexOf(':');`\r\n如果某个服务没有consumer，getConsumer().indexOf会报空对象引用 ，最好加个非空判断"}}