K2InformaticsGmbH / smpp_parser

A parser for SMPP protocol PDUs
Apache License 2.0
3 stars 1 forks source link

no function clause matching smpp:b2a(<<"message_payload">>). #55

Closed walter-weinmann closed 6 years ago

walter-weinmann commented 6 years ago
=== Reason: no function clause matching smpp:b2a(<<"message_payload">>) (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/src/smpp.erl, line 400)
  in function  smpp:'-json2internal/1-fun-1-'/3 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/src/smpp.erl, line 13)
  in call from lists:foldl/3 (lists.erl, line 1263)
  in call from smpp:encode/1 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/src/smpp.erl, line 165)
  in call from smpp_test_utils:encode_decode/1 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/test/src/smpp_test_utils.erl, line 47)
  in call from compacted_replace_sm_SUITE:test_compacted/1 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/test/generated/ct/compacted_replace_sm_SUITE.erl, line 49)
  in call from test_server:ts_tc/3 (test_server.erl, line 1546)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1062)

Example:

 {"replace_sm_issue_55",
  "00 00 00 7A 00 00 00 07 00 00 00 00 00 00 00 01 74 68 69 73 5F 63 6F 75 6C "
  "64 5F 62 65 5F 61 5F 6D 65 73 73 61 67 65 5F 69 64 00 05 09 31 39 32 2E 31 "
  "36 38 2E 31 2E 31 00 39 39 30 33 31 30 30 30 30 30 30 30 30 30 30 2D 00 39 "
  "39 30 30 30 30 30 30 30 30 30 30 30 30 30 52 00 00 1F 00 04 24 00 18 6D 79 "
  "5F 6D 65 73 73 61 67 65 5F 70 61 79 6C 6F 61 64 5F 30 30 30 30 38"}