{"action":"opened","issue":{"url":"https://api.github.com/repos/SignalK/signalk-server-node/issues/30","labels_url":"https://api.github.com/repos/SignalK/signalk-server-node/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/SignalK/signalk-server-node/issues/30/comments","events_url":"https://api.github.com/repos/SignalK/signalk-server-node/issues/30/events","html_url":"https://github.com/SignalK/signalk-server-node/issues/30","id":58459115,"number":30,"title":"More robust server ","user":{"login":"tkurki","id":1049678,"avatar_url":"https://avatars.githubusercontent.com/u/1049678?v=3","gravatar_id":"","url":"https://api.github.com/users/tkurki","html_url":"https://github.com/tkurki","followers_url":"https://api.github.com/users/tkurki/followers","following_url":"https://api.github.com/users/tkurki/following{/other_user}","gists_url":"https://api.github.com/users/tkurki/gists{/gist_id}","starred_url":"https://api.github.com/users/tkurki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkurki/subscriptions","organizations_url":"https://api.github.com/users/tkurki/orgs","repos_url":"https://api.github.com/users/tkurki/repos","events_url":"https://api.github.com/users/tkurki/events{/privacy}","received_events_url":"https://api.github.com/users/tkurki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-21T13:17:08Z","updated_at":"2015-02-21T13:17:08Z","closed_at":null,"body":"A single misbehaving producer can stop the whole server. The error reported in https://github.com/SignalK/signalk-parser-nmea0183/issues/22 stops the server.\r\n\r\n```\r\nTypeError: Cannot call method 'toUpperCase' of undefined\r\n    at NMEA0183.magneticVariaton (/Users/tkurki/git-workspace/signalk/server-node/node_modules/nmea0183-signalk/lib/NMEA0183.js:116:15)\r\n    at null._decoder (/Users/tkurki/git-workspace/signalk/server-node/node_modules/nmea0183-signalk/codecs/RMC.js:86:48)\r\n    at NMEA0183.decode (/Users/tkurki/git-workspace/signalk/server-node/node_modules/nmea0183-signalk/lib/NMEA0183.js:220:24)\r\n    at Parser._decode (/Users/tkurki/git-workspace/signalk/server-node/node_modules/nmea0183-signalk/lib/index.js:91:44)\r\n    at /Users/tkurki/git-workspace/signalk/server-node/node_modules/nmea0183-signalk/lib/index.js:134:22\r\n    at Function.forEach (/Users/tkurki/git-workspace/signalk/server-node/node_modules/lodash/dist/lodash.js:3297:15)\r\n    at Parser._transform (/Users/tkurki/git-workspace/signalk/server-node/node_modules/nmea0183-signalk/lib/index.js:131:5)\r\n    at Parser.Transform._read (_stream_transform.js:179:10)\r\n    at Parser.Transform._write (_stream_transform.js:167:12)\r\n    at doWrite (_stream_writable.js:226:10)\r\n```"}}