Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 67328 invoked from network); 8 Sep 2005 02:51:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Sep 2005 02:51:36 -0000 Received: (qmail 39104 invoked by uid 500); 8 Sep 2005 02:51:32 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 39065 invoked by uid 500); 8 Sep 2005 02:51:32 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 39052 invoked by uid 99); 8 Sep 2005 02:51:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2005 19:51:32 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id EE40812A for ; Thu, 8 Sep 2005 04:51:30 +0200 (CEST) Message-ID: <1334570939.1126147890973.JavaMail.jira@ajax.apache.org> Date: Thu, 8 Sep 2005 04:51:30 +0200 (CEST) From: "Joe Bohn (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-981) NPE in WebManagerPortlet and ConnectorPortlet In-Reply-To: <1032057226.1126129290395.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-981?page=comments#action_12322903 ] Joe Bohn commented on GERONIMO-981: ----------------------------------- Oops... I copied the wrong exception into the last comment (it's still related but this one is in a locally modified version of another file that is hitting the same thing). Here is the exception from the currently checked in code: 22:33:50,874 ERROR [PortletInvokerImpl] PortletInvokerImpl.render() - Error whil e dispatching portlet. javax.portlet.PortletException at org.apache.geronimo.console.webmanager.WebManagerPortlet.doView(WebMa nagerPortlet.java:90) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218 ) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427 ) at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolde r.java:92) ..... snip ..... Caused by: java.lang.NullPointerException at org.apache.geronimo.console.webmanager.WebManagerPortlet.doView(WebMa nagerPortlet.java:76) ... 120 more Nested Exception is java.lang.NullPointerException at org.apache.geronimo.console.webmanager.WebManagerPortlet.doView(WebMa nagerPortlet.java:76) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218 ) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153) > NPE in WebManagerPortlet and ConnectorPortlet > --------------------------------------------- > > Key: GERONIMO-981 > URL: http://issues.apache.org/jira/browse/GERONIMO-981 > Project: Geronimo > Type: Bug > Components: console > Versions: 1.0-M5 > Environment: Windows XP > Reporter: Joe Bohn > > NPE attempting to get ManagerName because because of null return from PortletManager.getCurrentServer(..). > This same code is invoked from both the WebManagerPortlet and the ConnectorPortlet resulting in NPEs from each on doView(). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira