上行长短信报错
Opened this issue · 1 comments
GoogleCodeExporter commented
直接下载模拟器和测试客户端
模拟上行长短信是报错,异常如下
Exception in thread "Thread-0" java.lang.ArrayIndexOutOfBoundsException: 793
at cn.com.zjtelecom.util.TypeConvert.byte2short(TypeConvert.java:66)
at cn.com.zjtelecom.smgp.protocol.TlvUtil.TlvAnalysis(TlvUtil.java:16)
at cn.com.zjtelecom.smgp.message.DeliverMessage.<init>(DeliverMessage.ja
va:126)
at cn.com.zjtelecom.smgp.connect.PConnect.run(PConnect.java:224)
Original issue reported on code.google.com by shine...@gmail.com
on 10 Nov 2010 at 9:40
GoogleCodeExporter commented
应该是模拟的长短信
tlv字段出错了,api没有判断tlv字段的合法性,导致数据不合��
�的时候出现ArrayIndexOutOfBoundsException。
Original comment by dowell...@gmail.com
on 6 Dec 2010 at 7:14