Status: New
Owner: ----
Labels: Component-Diameter Type-Enhancement Priority-Medium
SubComponent-DIAMETER-Stack DIAMETER-1.4.1.FINAL Roadmap-Fix
New issue 3266 by [email protected]: bug in the
org.jdiameter.client.impl.app.rf.ClientRfSessionImpl source
http://code.google.com/p/mobicents/issues/detail?id=3266
Found in the Diameter 1.5 source (line 306):
This is the original code which leads to ClassCastException in runtime (you
can not cast RfAccountingRequest to Message):
case FAILED_SEND_RECORD:
RfAccountingRequest request =
(RfAccountingRequest)event.getData();
Avp accRtReq = ((Message)
event.getData()).getAvps().getAvp(ACCOUNTING_REALTIME_REQUIRED);
Instead it should be the following:
case FAILED_SEND_RECORD:
RfAccountingRequest request = (RfAccountingRequest)
event.getData();
Avp accRtReq =
request.getMessage().getAvps().getAvp(ACCOUNTING_REALTIME_REQUIRED);
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.