Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 58738 invoked from network); 31 Mar 2009 10:00:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2009 10:00:15 -0000 Received: (qmail 28897 invoked by uid 500); 31 Mar 2009 10:00:14 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 28824 invoked by uid 500); 31 Mar 2009 10:00:14 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 28814 invoked by uid 99); 31 Mar 2009 10:00:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 10:00:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 10:00:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8E065234C046 for ; Tue, 31 Mar 2009 02:59:50 -0700 (PDT) Message-ID: <510039715.1238493590580.JavaMail.jira@brutus> Date: Tue, 31 Mar 2009 02:59:50 -0700 (PDT) From: "Ate Douma (JIRA)" To: jetspeed-dev@portals.apache.org Subject: [jira] Created: (JS2-947) Properly handling container invocation errors like processAction throwing an unexcepted exception and displaying a meaningful message to the end user MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Properly handling container invocation errors like processAction throwing an unexcepted exception and displaying a meaningful message to the end user ----------------------------------------------------------------------------------------------------------------------------------------------------- Key: JS2-947 URL: https://issues.apache.org/jira/browse/JS2-947 Project: Jetspeed 2 Issue Type: Improvement Components: Container Affects Versions: 2.2 Reporter: Ate Douma Fix For: 2.2 For example in the ActionValveImpl, we trap all exceptions (except PortletContainerException) thrown by the container invocation, only log them, and then simply invoke with the next Valve... For example with a NPE thrown like currently in the the JSF-Demo when you click on the Root tree node, the following meaningless end message is shown on the page: Portlet is Not Available: jsf-demo::guessNumber Reason: null I think we either should come up with a pluggable ErrorHandlingValve or else send a response error (which then could be "trapped" itself with a configured error handling page in web.xml) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org