[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: json4lua problem, anyone can help me? thanks.
- From: hei.minglei@...
- Date: Thu, 12 Apr 2012 12:47:30 +0800
I port json4lua to vxworks, sometimes
it raise exception( the probability is about 1/200).
But the point is the excepion seems
strange, according to its literal meaning, the exception is impossible.
-----------------
[string "lua/json.lua"]:375:
Unexpected character at Line 1 character 61: , (44)
when reading object (' or "
or } or , expected)
Context:
["hi", "b"]], "method":
"echo", "id": "d7c2e97e150660aba61def
^
stack traceback:
[C]: in
function 'error'
[string
"lua/json.lua"]:375: in function 'next_token'
[string
"lua/json.lua"]:513: in function <[string "lua/json.lua"]:511>
(tail call):
?
(tail call):
?
(tail call):
?
(tail call):
?
[string
"lua/json.lua"]:531: in function 'decode'
[string
"lua/json/rpcserver.lua"]:71: in function 'serve'
jsonrpc.lua:46:
in main chunk
---------------
When I use the same test code in windows,
it never happen. Is this problem caused by OS porting or any other?
thanks.
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender.
This message has been scanned for viruses and Spam by ZTE Anti-Spam system.