Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 851C5614B for ; Fri, 24 Jun 2011 23:23:09 +0000 (UTC) Received: (qmail 49883 invoked by uid 500); 24 Jun 2011 23:23:09 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 49684 invoked by uid 500); 24 Jun 2011 23:23:08 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 49676 invoked by uid 99); 24 Jun 2011 23:23:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 23:23:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2011 23:23:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7D4B242E09F for ; Fri, 24 Jun 2011 23:22:47 +0000 (UTC) Date: Fri, 24 Jun 2011 23:22:47 +0000 (UTC) From: "James Baldassari (JIRA)" To: dev@avro.apache.org Message-ID: <297688816.38952.1308957767510.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <871656280.36556.1308920147488.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AVRO-842) Internal NPE when accessing proxy to a closed server endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-842?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] James Baldassari updated AVRO-842: ---------------------------------- Attachment: AVRO-842-v2.patch Here's a new version of the patch that adds the enhancement requested in AV= RO-747. > Internal NPE when accessing proxy to a closed server endpoint > ------------------------------------------------------------- > > Key: AVRO-842 > URL: https://issues.apache.org/jira/browse/AVRO-842 > Project: Avro > Issue Type: Bug > Components: java > Affects Versions: 1.5.1 > Environment: generic > Reporter: Holger Hoffst=C3=A4tte > Attachments: AVRO-842-v2.patch, AVRO-842.patch, CrashTest.java > > > For development of an avro-based transport for remote OSGi services I had= to wrap & unwind transport-level exceptions into proper exceptions thrown = to a client. One such scenario is accessing a disconnected/dead endpoint, w= hich should be a detectable condition. This works fine with the SaslSocketT= ransceiver (where my wrapper can properly detect the IO Exception), but not= with Netty which hiccups with an internal NPE. > Generally speaking any transport-level and remote-endpoint exceptions mus= t not only be clearly detectable (either directly by client code or wrapper= infrastructure around avro) but also distinguishable from another. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira