Support #200

JSON to UBF fails with more than 42 items in array

Added by Anonymous over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:09/01/2017
Priority:Normal (Code 4)Due date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

JSON to UBF fails with more than 42 items in array.

What could be the issue?

N:NDRX:2: 7024:7f8875fbb700:012:20170901:152432207:exjson.c:0099:Type is 4
N:NDRX:2: 7024:7f8875fbb700:012:20170901:152432209:exjson.c:0109:cnt = 3
N:NDRX:2: 7024:7f8875fbb700:012:20170901:152432209:exjson.c:0115:Name: [S_CLASS]
N:NDRX:2: 7024:7f8875fbb700:012:20170901:152432209:exjson.c:0115:Name: [S_ATTRIBUTES]
N:NDRX:2: 7024:7f8875fbb700:012:20170901:152432209:exjson.c:0115:Name: [S_ATTRIBUTES_VAL]
N:NDRX:2: 7024:7f8875fbb700:012:20170901:152432209:exjson.c:0250:Failed to set [S_ATTRIBUTES_VAL] to [test42]!
t:ROUT:3: 7024:7f8875fbb700:012:20170901:152432209:/tplog.c:0505:Failed to conver buffer to JSON 14:[Failed to convert JSON 2 UBF (tpjsontoubf() failed see UBF/ATMI logs]

t:ROUT:3: 7024:7f8875fbb700:012:20170901:152432209:/tplog.c:0505:Failed req: [{
"S_CLASS": "TEST",
"S_ATTRIBUTES": ["TEST1", "TEST2", "TEST3", "TEST4", "TEST5", "TEST6", "TEST7", "TEST8", "TEST9", "TEST10", "TEST11", "TEST12", "TEST13", "TEST14", "TEST15", "TEST16", "TEST17", "TEST18", "TEST19", "TEST20","TEST21", "TEST22", "TEST23", "TEST24", "TEST25", "TEST26", "TEST27", "TEST28", "TEST29", "TEST30","TEST31", "TEST32", "TEST33", "TEST34", "TEST35", "TEST63", "TEST37", "TEST38", "TEST39", "TEST40","TEST41", "TEST42", "TEST43"],
"S_ATTRIBUTES_VAL": ["test1", "test2", "test3", "test4", "test5", "test6", "test7", "test8", "test9", "test10", "test11", "test12", "test13", "test14", "test15", "test16", "test17", "test18", "test19", "test20","test21", "test22", "test23", "test24", "test25", "test26", "test27", "test28", "test29", "test30","test31", "test32", "test33", "test34", "test35", "test63", "test37", "test38", "test39", "test40","test41", "test42", "test43"]
}
]
t:ROUT:5: 7024:7f8875fbb700:012:20170901:152432209:/tplog.c:0505:Conv 1 errors 4
t:ROUT:3: 7024:7f8875fbb700:012:20170901:152432209:/tplog.c:0505:Failed to cast TypedBuffer to TypedUBF!
t:ROUT:5: 7024:7f8875fbb700:012:20170901:152432209:/tplog.c:0505:JSON Response generated (2): [{"error_code":14,"error_message":"Failed to convert JSON 2 UBF (tpjsontoubf() failed see UBF/ATMI logs"}]
t:ROUT:5: 7024:7f8875fbb700:012:20170901:152432209:/tplog.c:0505:Returning context type: text/plain, len: 104
t:ROUT:4: 7024:7f8875fbb700:012:20170901:152432209:/tplog.c:0537:Sending response back
0000 7b 22 65 72 72 6f 72 5f 63 6f 64 65 22 3a 31 34 {"error_code":14
0010 2c 22 65 72 72 6f 72 5f 6d 65 73 73 61 67 65 22 ,"error_message"
0020 3a 22 46 61 69 6c 65 64 20 74 6f 20 63 6f 6e 76 :"Failed to conv
0030 65 72 74 20 4a 53 4f 4e 20 32 20 55 42 46 20 28 ert JSON 2 UBF (
0040 74 70 6a 73 6f 6e 74 6f 75 62 66 28 29 20 66 61 tpjsontoubf() fa
0050 69 6c 65 64 20 73 65 65 20 55 42 46 2f 41 54 4d iled see UBF/ATM
0060 49 20 6c 6f 67 73 22 7d I logs"}

failed_conv (84.3 KB) Anonymous, 09/01/2017 01:12 PM

History

#1 Updated by Madars over 6 years ago

please run the test case with ubf=5 we need to see what UBF is doing.

#2 Updated by Anonymous over 6 years ago

Log attached

#4 Updated by Madars over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF