SipMessage result = p.parseMessage(null, bb, null, null, null);
theirLogger.finer("Created message: " + result);
// fix for parser 'bug' it either returns null or throws an exception...
if (result == null){
throw new ParserException(
"Resulting message after parsing was null");
}
return result;
}