{"action":"created","issue":{"url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/46","repository_url":"https://api.github.com/repos/ibm-watson-iot/iot-java","labels_url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/46/comments","events_url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/46/events","html_url":"https://github.com/ibm-watson-iot/iot-java/issues/46","id":168297692,"number":46,"title":"com.ibm.iotf.client.app.Status fails due to wrong attribute definitions","user":{"login":"jtikkala","id":20722850,"avatar_url":"https://avatars.githubusercontent.com/u/20722850?v=3","gravatar_id":"","url":"https://api.github.com/users/jtikkala","html_url":"https://github.com/jtikkala","followers_url":"https://api.github.com/users/jtikkala/followers","following_url":"https://api.github.com/users/jtikkala/following{/other_user}","gists_url":"https://api.github.com/users/jtikkala/gists{/gist_id}","starred_url":"https://api.github.com/users/jtikkala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtikkala/subscriptions","organizations_url":"https://api.github.com/users/jtikkala/orgs","repos_url":"https://api.github.com/users/jtikkala/repos","events_url":"https://api.github.com/users/jtikkala/events{/privacy}","received_events_url":"https://api.github.com/users/jtikkala/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-29T10:37:11Z","updated_at":"2016-08-10T06:05:43Z","closed_at":"2016-08-10T06:05:43Z","body":"Attributes defined in class com.ibm.iotf.client.app.Status do not match what is currently being returned by IoTF and it fails with a NullPointerException. Below a few sample status message that currently fail.\r\n\r\n{\r\n        \"Action\": \"Disconnect\",\r\n        \"Time\": \"2016-07-14T10:00:45.959Z\",\r\n        \"ClientAddr\": \"XXX.XXX.XX.XXX\",\r\n        \"ClientID\": \"d:XXXXXX:XXX:XXXXXXXX\",\r\n        \"Port\": 8883,\r\n        \"SecureConnection\": true,\r\n        \"Protocol\": \"mqtt4-tcp\",\r\n        \"User\": \"use-token-auth\",\r\n        \"ConnectTime\": \"2016-07-14T09:46:40.688Z\",\r\n        \"ReadBytes\": 27385,\r\n        \"ReadMsg\": 74,\r\n        \"WriteBytes\": 607,\r\n        \"WriteMsg\": 2\r\n}\r\n\r\n{\r\n        \"Action\": \"Connect\",\r\n        \"Time\": \"2016-07-29T10:08:29.322Z\",\r\n        \"ClientAddr\": \"XXX.XXX.XX.XXX\",\r\n        \"ClientID\": \"d:XXXXXX:XXXXXXX:XXXXXXXXX\",\r\n        \"Port\": 1883,\r\n        \"Secure\": false,\r\n        \"Protocol\": \"mqtt3\"\r\n}\r\n\r\n{\r\n        \"Action\": \"Disconnect\",\r\n        \"Time\": \"2016-07-29T10:17:31.335Z\",\r\n        \"ClientAddr\": \"XXX.XXX.XX.XXX\",\r\n        \"ClientID\": \"d:XXXXXX:XXXXXXX:XXXXXXXXX\",\r\n        \"Port\": 1883,\r\n        \"Secure\": false,\r\n        \"Protocol\": \"mqtt3\",\r\n        \"ConnectTime\": \"2016-07-29T10:08:29.300Z\",\r\n        \"ReadBytes\": 112610,\r\n        \"ReadMsg\": 549,\r\n        \"WriteBytes\": 27,\r\n        \"WriteMsg\": 0\r\n}"},"comment":{"url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/comments/238773923","html_url":"https://github.com/ibm-watson-iot/iot-java/issues/46#issuecomment-238773923","issue_url":"https://api.github.com/repos/ibm-watson-iot/iot-java/issues/46","id":238773923,"user":{"login":"jtikkala","id":20722850,"avatar_url":"https://avatars.githubusercontent.com/u/20722850?v=3","gravatar_id":"","url":"https://api.github.com/users/jtikkala","html_url":"https://github.com/jtikkala","followers_url":"https://api.github.com/users/jtikkala/followers","following_url":"https://api.github.com/users/jtikkala/following{/other_user}","gists_url":"https://api.github.com/users/jtikkala/gists{/gist_id}","starred_url":"https://api.github.com/users/jtikkala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtikkala/subscriptions","organizations_url":"https://api.github.com/users/jtikkala/orgs","repos_url":"https://api.github.com/users/jtikkala/repos","events_url":"https://api.github.com/users/jtikkala/events{/privacy}","received_events_url":"https://api.github.com/users/jtikkala/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T06:05:43Z","updated_at":"2016-08-10T06:05:43Z","body":"Seems to be fixed now. Thanks!"}}
{"actor":{"display_login":"jtikkala"}}