{"action":"opened","issue":{"url":"https://api.github.com/repos/astaxie/beego/issues/2125","repository_url":"https://api.github.com/repos/astaxie/beego","labels_url":"https://api.github.com/repos/astaxie/beego/issues/2125/labels{/name}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/2125/comments","events_url":"https://api.github.com/repos/astaxie/beego/issues/2125/events","html_url":"https://github.com/astaxie/beego/issues/2125","id":173953521,"number":2125,"title":"ORM更新时间字段，程序崩了","user":{"login":"happyEgg","id":15626274,"avatar_url":"https://avatars.githubusercontent.com/u/15626274?v=3","gravatar_id":"","url":"https://api.github.com/users/happyEgg","html_url":"https://github.com/happyEgg","followers_url":"https://api.github.com/users/happyEgg/followers","following_url":"https://api.github.com/users/happyEgg/following{/other_user}","gists_url":"https://api.github.com/users/happyEgg/gists{/gist_id}","starred_url":"https://api.github.com/users/happyEgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyEgg/subscriptions","organizations_url":"https://api.github.com/users/happyEgg/orgs","repos_url":"https://api.github.com/users/happyEgg/repos","events_url":"https://api.github.com/users/happyEgg/events{/privacy}","received_events_url":"https://api.github.com/users/happyEgg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T07:59:21Z","updated_at":"2016-08-30T07:59:21Z","closed_at":null,"body":"bee:1.4.1\r\nbeego:1.7\r\n更新数据库操作d.Orm().Raw(\"UPDATE user_login\"+table+\" SET last_login_time = ? WHERE uid=?\", time.Now(), id).Exec()\r\n\r\n报错信息：\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x20 pc=0x7839be]\r\n\r\ngoroutine 21 [running]:\r\npanic(0xc26260, 0xc82000a180)\r\n\t/usr/local/go/src/runtime/panic.go:481 +0x3e6\r\ngithub.com/astaxie/beego/orm.getFlatParams(0x0, 0xc8201bdb00, 0x2, 0x2, 0xc82006c9c0, 0x0, 0x0, 0x0)\r\n\t/home/wen/workspace/monking_server_tables/src/github.com/astaxie/beego/orm/db_utils.go:148 +0x112e\r\ngithub.com/astaxie/beego/orm.(*rawSet).Exec(0xc8203d79b0, 0x0, 0x0, 0x0, 0x0)"}}
{"actor":{"display_login":"happyEgg"}}