{"action":"opened","issue":{"url":"https://api.github.com/repos/SpringForAll/spring-boot-starter-hbase/issues/4","repository_url":"https://api.github.com/repos/SpringForAll/spring-boot-starter-hbase","labels_url":"https://api.github.com/repos/SpringForAll/spring-boot-starter-hbase/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/SpringForAll/spring-boot-starter-hbase/issues/4/comments","events_url":"https://api.github.com/repos/SpringForAll/spring-boot-starter-hbase/issues/4/events","html_url":"https://github.com/SpringForAll/spring-boot-starter-hbase/issues/4","id":267912270,"number":4,"title":"查询空指针异常","user":{"login":"chubinzheng","id":8413616,"avatar_url":"https://avatars3.githubusercontent.com/u/8413616?v=4","gravatar_id":"","url":"https://api.github.com/users/chubinzheng","html_url":"https://github.com/chubinzheng","followers_url":"https://api.github.com/users/chubinzheng/followers","following_url":"https://api.github.com/users/chubinzheng/following{/other_user}","gists_url":"https://api.github.com/users/chubinzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/chubinzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chubinzheng/subscriptions","organizations_url":"https://api.github.com/users/chubinzheng/orgs","repos_url":"https://api.github.com/users/chubinzheng/repos","events_url":"https://api.github.com/users/chubinzheng/events{/privacy}","received_events_url":"https://api.github.com/users/chubinzheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T06:30:00Z","updated_at":"2017-10-24T06:30:00Z","closed_at":null,"author_association":"NONE","body":"```java\r\nResultScanner scanner = table.getScanner(scan);\r\n                try {\r\n                    List<T> rs = new ArrayList<T>();\r\n                    int rowNum = 0;\r\n                    for (Result result : scanner) {\r\n                        rs.add(action.mapRow(result, rowNum++));\r\n                    }\r\n                    return rs;\r\n                } finally {\r\n                    scanner.close();\r\n                }\r\n\r\n//此段代码,result有空指针异常，建议在此处加判断，以免每个rowMapper实现类加判断"}}
{"actor":{"display_login":"chubinzheng"}}