{"action":"opened","issue":{"url":"https://api.github.com/repos/smartdevicelink/sdl_android/issues/260","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_android/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_android/issues/260/comments","events_url":"https://api.github.com/repos/smartdevicelink/sdl_android/issues/260/events","html_url":"https://github.com/smartdevicelink/sdl_android/issues/260","id":105133832,"number":260,"title":"Failed to parse string to smart object :{}","user":{"login":"huaguoping","id":12082390,"avatar_url":"https://avatars.githubusercontent.com/u/12082390?v=3","gravatar_id":"","url":"https://api.github.com/users/huaguoping","html_url":"https://github.com/huaguoping","followers_url":"https://api.github.com/users/huaguoping/followers","following_url":"https://api.github.com/users/huaguoping/following{/other_user}","gists_url":"https://api.github.com/users/huaguoping/gists{/gist_id}","starred_url":"https://api.github.com/users/huaguoping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huaguoping/subscriptions","organizations_url":"https://api.github.com/users/huaguoping/orgs","repos_url":"https://api.github.com/users/huaguoping/repos","events_url":"https://api.github.com/users/huaguoping/events{/privacy}","received_events_url":"https://api.github.com/users/huaguoping/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-07T02:26:54Z","updated_at":"2015-09-07T02:26:54Z","closed_at":null,"body":"I am going to add an request and response to learn how does SDL work.  I get the WARN \"Failed to parse string to smart object :{}\", although the previous log seems right. \r\n  \r\n     DEBUG [31 Dec 1969 17:33:34,989][TransportManager] poll is ok 0x74301470 revents0: 1 revents1:0\r\n     DEBUG [31 Dec 1969 17:33:34,989][TransportManager] Received 12 bytes for connection 0x74301470\r\n     DEBUG [31 Dec 1969 17:33:34,990][TransportManager] TransportAdapterEvent: 0x6aefd058\r\n     DEBUG [31 Dec 1969 17:33:34,991][TransportManager] poll 0x74301470\r\n     DEBUG [31 Dec 1969 17:33:34,992][ProtocolHandler] Received data from TM  with connection id 1 msg data_size 12\r\n     DEBUG [31 Dec 1969 17:33:34,992][ProtocolHandler] Processing incoming data of size 12 for connection 1\r\n     DEBUG [31 Dec 1969 17:33:34,992][ProtocolHandler] Total data size for connection 1 is 12\r\n     DEBUG [31 Dec 1969 17:33:34,993][ProtocolHandler] Payload size 14\r\n     DEBUG [31 Dec 1969 17:33:34,993][ProtocolHandler] Packet data is not available yet\r\n     DEBUG [31 Dec 1969 17:33:34,993][ProtocolHandler] New data size for connection 1 is 12\r\n     DEBUG [31 Dec 1969 17:33:34,993][ProtocolHandler] No packets have been created. Waiting next portion of data.\r\n     DEBUG [31 Dec 1969 17:33:34,993][ProtocolHandler] Proccessed 0frames\r\n     DEBUG [31 Dec 1969 17:33:34,993][TransportManager] event_type = ON_RECEIVED_DONE\r\n     DEBUG [31 Dec 1969 17:33:35,027][TransportManager] poll is ok 0x74301470 revents0: 1 revents1:0\r\n     DEBUG [31 Dec 1969 17:33:35,028][TransportManager] Received 14 bytes for connection 0x74301470\r\n     DEBUG [31 Dec 1969 17:33:35,028][TransportManager] TransportAdapterEvent: 0x6aefd058\r\n     DEBUG [31 Dec 1969 17:33:35,028][TransportManager] poll 0x74301470\r\n     DEBUG [31 Dec 1969 17:33:35,029][ProtocolHandler] Received data from TM  with connection id 1 msg data_size 14\r\n     DEBUG [31 Dec 1969 17:33:35,029][ProtocolHandler] Processing incoming data of size 14 for connection 1\r\n     DEBUG [31 Dec 1969 17:33:35,029][ProtocolHandler] Total data size for connection 1 is 26\r\n     DEBUG [31 Dec 1969 17:33:35,029][ProtocolHandler] Payload size 14\r\n     DEBUG [31 Dec 1969 17:33:35,029][ProtocolHandler] New data size for connection 1 is 0\r\n     DEBUG [31 Dec 1969 17:33:35,029][ProtocolHandler] Created and passed 1 packets\r\n     DEBUG [31 Dec 1969 17:33:35,029][ProtocolHandler] Proccessed 1frames\r\n     INFO  [31 Dec 1969 17:33:35,029][Utils] Message ID already wait for stop processing3\r\n     DEBUG [31 Dec 1969 17:33:35,029][ConnectionHandler] Key for ConnectionHandle:1 Session:1 is: 65537\r\n     DEBUG [31 Dec 1969 17:33:35,030][ProtocolHandler] Frequency of 65537 is 1\r\n     DEBUG [31 Dec 1969 17:33:35,030][ProtocolHandler] Message : 0x74302d48\r\n     DEBUG [31 Dec 1969 17:33:35,030][ProtocolHandler] Packet: dataSize 14\r\n     DEBUG [31 Dec 1969 17:33:35,030][ProtocolHandler] FRAME_TYPE_SINGLE message of size 14; message is raw data\r\n     DEBUG [31 Dec 1969 17:33:35,030][ConnectionHandler] Key for ConnectionHandle:1 Session:1 is: 65537\r\n     INFO  [31 Dec 1969 17:33:35,030][ApplicationManager] Service type.7\r\n     INFO  [31 Dec 1969 17:33:35,031][MobileMessageHandler] MobileMessageHandler HandleIncomingMessageProtocolV2()\r\n     DEBUG [31 Dec 1969 17:33:35,031][MediaManagerImpl] Unsupported service type in MediaManager\r\n     INFO  [31 Dec 1969 17:33:35,031][ApplicationManager] Received message from Mobile side\r\n     INFO  [31 Dec 1969 17:33:35,031][ApplicationManager] ApplicationManagerImpl::ProcessMessageFromMobile()\r\n     INFO  [31 Dec 1969 17:33:35,031][ApplicationManager] \t\t\tMessage to convert: protocol 2; json {}\r\n     DEBUG [31 Dec 1969 17:33:35,031][TransportManager] event_type = ON_RECEIVED_DONE\r\n     WARN  [31 Dec 1969 17:33:35,031][ApplicationManager] Failed to parse string to smart object :{}\r\n     INFO  [31 Dec 1969 17:33:35,031][ApplicationManager] Trying to create message in mobile factory.\r\n     DEBUG [31 Dec 1969 17:33:35,031][ApplicationManager]  app_id << 65537Found = 1\r\n     INFO  [31 Dec 1969 17:33:35,031][Commands] Trying to send response\r\n     DEBUG [31 Dec 1969 17:33:35,032][ApplicationManager]  app_id << 65537Found = 1\r\n     INFO  [31 Dec 1969 17:33:35,032][ApplicationManager] Attached schema to message, result if valid: 1\r\n     INFO  [31 Dec 1969 17:33:35,032][ApplicationManager] Message to convert\r\n     INFO  [31 Dec 1969 17:33:35,032][ApplicationManager] Message with protocol: 0\r\n     INFO  [31 Dec 1969 17:33:35,032][ApplicationManager] Convertion result: {\r\n        \"resultCode\" : \"INVALID_DATA\",\r\n        \"success\" : false\r\n     }\r\n\r\n//this is the Response\r\n     package com.smartdevicelink.proxy.rpc;\r\n     import java.util.Hashtable;\r\n     import com.smartdevicelink.protocol.enums.FunctionID;\r\n     import com.smartdevicelink.proxy.RPCResponse;\r\n\r\n     public class DisplayTextResponse extends RPCResponse \r\n     {\r\n         public DisplayTextResponse() \r\n         {\r\n             super(FunctionID.DISPLAYTEXT.toString());\r\n         }\r\n         public DisplayTextResponse(Hashtable<String, Object> hash) \r\n         {\r\n             super(hash);\r\n         }\r\n     }\r\n\r\n//this is the Request\r\n     package com.smartdevicelink.proxy.rpc;\r\n     import java.util.Hashtable;\r\n     import com.smartdevicelink.protocol.enums.FunctionID;\r\n     import com.smartdevicelink.proxy.RPCRequest;\r\n\r\n     public class DisplayText extends RPCRequest\r\n     {\r\n\r\n\t     public DisplayText() \r\n\t     {\r\n\t     \t     super(FunctionID.DISPLAYTEXT.toString());\r\n\t     }\r\n\t\r\n\t     public DisplayText(Hashtable<String, Object> hash) \r\n\t     {\r\n\t\t     super(hash);\r\n\t     }\r\n     }\r\n\r\n\r\nCould anyone help me?Thank You!!!!"}}