Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 33 by [email protected]: Client Ro throws Null Pointer Exceptions if send fails in HA mode
http://code.google.com/p/jdiameter/issues/detail?id=33

What steps will reproduce the problem?
1. Configure your stack for HA
2. Send an CCR with no server running to receive it
3. isRequestTypeSet() throws an NPE (similar problem seen with getGatheredCCFH())

What is the expected output? What do you see instead?
isRequestTypeSet() should return false if setRequestTypeSet() has not been called.
getGatheredCCFH() should return "ClientRoSessionImpl.NON_INITIALIZED" if
setGatheredCCFH() has not been called (like the non-HA implementation).
Both throw NPEs.

What version of the product are you using? On what operating system?
1.5.0 SNAPSHOT from git on CentOS 6.3.

Please provide any additional information below.
Attached is a git diff for my patched version.
I suspect Gx, Rx and CCA have similar issues.

Attachments:
        ClientRoSessionDataReplicatedImpl.diff  1.8 KB

Reply via email to