Status: Accepted
Owner: brainslog
CC: [email protected]
Labels: Type-Defect Priority-Medium Component-DIAMETER-App-Rf
DIAMETER-1.6.0.FINAL Usability Roadmap-Fix
New issue 51 by brainslog: ClassCastException at
org.jdiameter.client.impl.app.rf.ClientRfSessionImpl handling
FAILED_SEND_RECORD
http://code.google.com/p/jdiameter/issues/detail?id=51
(Moved from https://code.google.com/p/mobicents/issues/detail?id=3266)
Reported by balageguy, Feb 6, 2013
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 this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
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.