- changed status to open
ClassCastException ApachePingbackClient
Issue #1925
resolved
We get a ClassCastException in ApachePingbackClient#sendPingback (Integer to String)
Please check why the RPC Client returns an Integer instead of a String.
Comments (8)
-
reporter -
-
assigned issue to
-
assigned issue to
-
reporter -
reporter - changed version to 2.0.44
-
"Servers MUST respond to this function call either with a single string or with a fault code." http://www.hixie.ch/specs/pingback/pingback#return
at the moment sendPingback() returns this:
return (String) client.execute("pingback.ping", params);
I suggest not to cast the object but to convert it to a String:
return String.valueOf(client.execute("pingback.ping", params));
Any thoughts on this?
-
reporter Sounds good!
-
ok
-
- changed status to resolved
change commited
- Log in to comment