geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-981) NPE in WebManagerPortlet and ConnectorPortlet
Date Thu, 08 Sep 2005 02:51:30 GMT
    [ 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


Mime
View raw message