{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/fastjson/issues/749","repository_url":"https://api.github.com/repos/alibaba/fastjson","labels_url":"https://api.github.com/repos/alibaba/fastjson/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/fastjson/issues/749/comments","events_url":"https://api.github.com/repos/alibaba/fastjson/issues/749/events","html_url":"https://github.com/alibaba/fastjson/issues/749","id":168290978,"number":749,"title":"com.alibaba.fastjson.util.TypeUtils.castToJavaBean 报错 java.lang.ArrayIndexOutOfBoundsException: 0","user":{"login":"codefan","id":3023344,"avatar_url":"https://avatars.githubusercontent.com/u/3023344?v=3","gravatar_id":"","url":"https://api.github.com/users/codefan","html_url":"https://github.com/codefan","followers_url":"https://api.github.com/users/codefan/followers","following_url":"https://api.github.com/users/codefan/following{/other_user}","gists_url":"https://api.github.com/users/codefan/gists{/gist_id}","starred_url":"https://api.github.com/users/codefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefan/subscriptions","organizations_url":"https://api.github.com/users/codefan/orgs","repos_url":"https://api.github.com/users/codefan/repos","events_url":"https://api.github.com/users/codefan/events{/privacy}","received_events_url":"https://api.github.com/users/codefan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-29T09:56:58Z","updated_at":"2016-07-29T10:15:00Z","closed_at":null,"body":"版本：1.2.11\r\n调用JSONObject.getObject(String key, Class<T> clazz)时，  在com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer的第666行\r\n Type paramType = method.getGenericParameterTypes()[0]; 中报 java.lang.ArrayIndexOutOfBoundsException: 0\r\n 错误。\r\n\r\n原因是对象中有一个List<>类型的属性，刚好json 数据为 attr:[] 这样的空数组。\r\n"},"comment":{"url":"https://api.github.com/repos/alibaba/fastjson/issues/comments/236145160","html_url":"https://github.com/alibaba/fastjson/issues/749#issuecomment-236145160","issue_url":"https://api.github.com/repos/alibaba/fastjson/issues/749","id":236145160,"user":{"login":"wenshao","id":1166785,"avatar_url":"https://avatars.githubusercontent.com/u/1166785?v=3","gravatar_id":"","url":"https://api.github.com/users/wenshao","html_url":"https://github.com/wenshao","followers_url":"https://api.github.com/users/wenshao/followers","following_url":"https://api.github.com/users/wenshao/following{/other_user}","gists_url":"https://api.github.com/users/wenshao/gists{/gist_id}","starred_url":"https://api.github.com/users/wenshao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenshao/subscriptions","organizations_url":"https://api.github.com/users/wenshao/orgs","repos_url":"https://api.github.com/users/wenshao/repos","events_url":"https://api.github.com/users/wenshao/events{/privacy}","received_events_url":"https://api.github.com/users/wenshao/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T10:15:00Z","updated_at":"2016-07-29T10:15:00Z","body":"能帮忙提供重现问题的testcase么？"}}
{"actor":{"display_login":"wenshao"}}