geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <>
Subject [jira] Commented: (GERONIMO-981) NPE in WebManagerPortlet and ConnectorPortlet
Date Thu, 08 Sep 2005 14:46:30 GMT
    [ ] 

Joe Bohn commented on GERONIMO-981:

Turns out that it isn't really the problem but rather an assumption in that a call to PortletManager.getWebManagerNames
will always return at least one name.   It appears that it is returning null and that is the
cause of the exception.   Next stop is to figure out if and when the web manager names are
supposed to be set (and we should code a bit more defensively to avoid NPE like this).

> NPE in WebManagerPortlet and ConnectorPortlet
> ---------------------------------------------
>          Key: GERONIMO-981
>          URL:
>      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:
For more information on JIRA, see:

View raw message