[jira] Commented: (AVRO-505) Java impl is spitting any ol' error text on to the wire
[ https://issues.apache.org/jira/browse/AVRO-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12853471#action_12853471 ] Jeff Hodges commented on AVRO-505: -- What's our Grand Theory of Exceptions? It seems that AvroRuntimeExceptions are raised when we expect them to be recoverable, or, at least, able to be turned into bytes on the wire but then we catch them in the Servlet. (Also, the Writers don't actually know what to do with an error object! So they freak out and through another AvroRuntimeException outside of where we can handle them! I'll post the stream of wonky apiness when I get into the office.) Java impl is spitting any ol' error text on to the wire --- Key: AVRO-505 URL: https://issues.apache.org/jira/browse/AVRO-505 Project: Avro Issue Type: Bug Components: java Affects Versions: 1.3.2 Reporter: Jeff Hodges Priority: Critical The current java implementation is sending the error text of unhandled errors back as RPC responses. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (AVRO-505) Java impl is spitting any ol' error text on to the wire
[ https://issues.apache.org/jira/browse/AVRO-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12853487#action_12853487 ] Doug Cutting commented on AVRO-505: --- What's our Grand Theory of Exceptions? Recall AVRO-447. RPC messages declare exceptions, but if the application or framework throws something outside of that, the union used at runtime includes an extra initial branch of string for so-called 'system errors'. The problem in AVRO-503 is that the client runtime didn't know about AVRO-447. Few do. That's why it's a bug. Java impl is spitting any ol' error text on to the wire --- Key: AVRO-505 URL: https://issues.apache.org/jira/browse/AVRO-505 Project: Avro Issue Type: Bug Components: java Affects Versions: 1.3.2 Reporter: Jeff Hodges Priority: Critical The current java implementation is sending the error text of unhandled errors back as RPC responses. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (AVRO-505) Java impl is spitting any ol' error text on to the wire
[ https://issues.apache.org/jira/browse/AVRO-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12853493#action_12853493 ] Jeff Hodges commented on AVRO-505: -- Wha-haaah. Of course. This is an invalid (or, at least, duplicate) bug, then. Java impl is spitting any ol' error text on to the wire --- Key: AVRO-505 URL: https://issues.apache.org/jira/browse/AVRO-505 Project: Avro Issue Type: Bug Components: java Affects Versions: 1.3.2 Reporter: Jeff Hodges Priority: Critical The current java implementation is sending the error text of unhandled errors back as RPC responses. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.