{"action":"closed","issue":{"url":"https://api.github.com/repos/yasp-dota/yasp/issues/1035","repository_url":"https://api.github.com/repos/yasp-dota/yasp","labels_url":"https://api.github.com/repos/yasp-dota/yasp/issues/1035/labels{/name}","comments_url":"https://api.github.com/repos/yasp-dota/yasp/issues/1035/comments","events_url":"https://api.github.com/repos/yasp-dota/yasp/issues/1035/events","html_url":"https://github.com/yasp-dota/yasp/issues/1035","id":154147277,"number":1035,"title":"get error after parsing","user":{"login":"lpeter218065","id":4799347,"avatar_url":"https://avatars.githubusercontent.com/u/4799347?v=3","gravatar_id":"","url":"https://api.github.com/users/lpeter218065","html_url":"https://github.com/lpeter218065","followers_url":"https://api.github.com/users/lpeter218065/followers","following_url":"https://api.github.com/users/lpeter218065/following{/other_user}","gists_url":"https://api.github.com/users/lpeter218065/gists{/gist_id}","starred_url":"https://api.github.com/users/lpeter218065/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpeter218065/subscriptions","organizations_url":"https://api.github.com/users/lpeter218065/orgs","repos_url":"https://api.github.com/users/lpeter218065/repos","events_url":"https://api.github.com/users/lpeter218065/events{/privacy}","received_events_url":"https://api.github.com/users/lpeter218065/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-11T02:30:32Z","updated_at":"2016-05-11T03:03:19Z","closed_at":"2016-05-11T03:03:19Z","body":"Hi, \r\n\r\nthe following is the call stack. \r\nI just upload a dem file,  then click request parse.\r\n\r\nI can see from the parser log, it succeed. Seems the step afterwards generated the error.\r\nDo you meet the error before? can you kindly explain this ? \r\n\r\nThanks,\r\nRuiqing \r\n\r\nerror: invalid input syntax for integer: \"NaN\"\r\n   at Connection.parseE (/usr/src/yasp/node_modules/pg/lib/connection.js:539:11)\r\n   at Connection.parseMessage (/usr/src/yasp/node_modules/pg/lib/connection.js:366:17)\r\n   at Socket.<anonymous> (/usr/src/yasp/node_modules/pg/lib/connection.js:105:22)\r\n   at emitOne (events.js:90:13)\r\n   at Socket.emit (events.js:182:7)\r\n   at readableAddChunk (_stream_readable.js:153:18)\r\n   at Socket.Readable.push (_stream_readable.js:111:10)\r\n   at TCP.onread (net.js:529:20)\r\nFrom previous event:\r\n   at Client._query (/usr/src/yasp/node_modules/knex/lib/dialects/postgres/index.js:150:12)\r\n   at Client.query (/usr/src/yasp/node_modules/knex/lib/client.js:136:24)\r\n   at Runner.<anonymous> (/usr/src/yasp/node_modules/knex/lib/runner.js:115:24)\r\nFrom previous event:\r\n   at /usr/src/yasp/node_modules/knex/lib/runner.js:43:21\r\n   at tryOnImmediate (timers.js:534:15)\r\n   at processImmediate [as _immediateCallback] (timers.js:514:5)\r\nFrom previous event:\r\n   at Runner.run (/usr/src/yasp/node_modules/knex/lib/runner.js:29:20)\r\n   at QueryBuilder.Target.then (/usr/src/yasp/node_modules/knex/lib/interface.js:26:43)\r\n   at QueryBuilder.Target.(anonymous function) [as asCallback] (/usr/src/yasp/node_modules/knex/lib/interface.js:77:23)\r\n   at getMatch (/usr/src/yasp/store/queries.js:431:8)\r\n   at Command.callback (/usr/src/yasp/store/buildMatch.js:29:13)\r\n   at normal_reply (/usr/src/yasp/node_modules/redis/index.js:662:21)\r\n   at RedisClient.return_reply (/usr/src/yasp/node_modules/redis/index.js:722:9)\r\n   at JavascriptReplyParser.RedisClient.reply_parser.Parser.returnReply (/usr/src/yasp/node_modules/redis/index.js:146:18)\r\n   at JavascriptReplyParser.run (/usr/src/yasp/node_modules/redis-parser/lib/javascript.js:137:18)\r\n   at JavascriptReplyParser.execute (/usr/src/yasp/node_modules/redis-parser/lib/javascript.js:112:10)\r\n   at Socket.<anonymous> (/usr/src/yasp/node_modules/redis/index.js:223:27)\r\n   at emitOne (events.js:90:13)\r\n   at Socket.emit (events.js:182:7)\r\n   at readableAddChunk (_stream_readable.js:153:18)\r\n   at Socket.Readable.push (_stream_readable.js:111:10)\r\n   at TCP.onread (net.js:529:20) "}}