In the line 335 of file "org.smpp.pdu.PDU.java" in the
method setData, if the condition debug.active(DPDU)
not is true, then no parse the body.
It is correct?
if (debug.active(DPDU)) {
if (getCommandLength() > Data.PDU_HEADER_SIZE) {
ByteBuffer tempBodyBuf = buffer.readBytes
(getCommandLength() - Data.PDU_HEADER_SIZE);
debug.write(DPDU, "PDU.setData() parsing body " +
tempBodyBuf.getHexDump());
// parse the body
setBody(buffer);
setValid(VALID_BODY);
Logged In: YES
user_id=1108378
You're right - looks like the bug was introduced when the
code was refactored from the original Logica code (which
didn't have the bug). Fixed in CVS.