You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Alasdair Nottingham (JIRA)" <ji...@apache.org> on 2010/11/26 13:08:14 UTC

[jira] Work started: (ARIES-501) NPE in Aries JNDI when trying to process an empty service list

     [ https://issues.apache.org/jira/browse/ARIES-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on ARIES-501 started by Alasdair Nottingham.

> NPE in Aries JNDI when trying to process an empty service list
> --------------------------------------------------------------
>
>                 Key: ARIES-501
>                 URL: https://issues.apache.org/jira/browse/ARIES-501
>             Project: Aries
>          Issue Type: Bug
>          Components: JNDI
>    Affects Versions: 0.3
>            Reporter: Timothy Ward
>            Assignee: Alasdair Nottingham
>            Priority: Critical
>             Fix For: 0.3
>
>
> When doing a lookup using osgi:servlcelist/ that has no matches I get an NPE when I call hasMore on the NamingEnumeration.
> Got an exception: java.lang.NullPointerException
> 	at org.apache.aries.jndi.url.ServiceRegistryListContext$ServiceNamingEnumeration.hasMoreElements(ServiceRegistryListContext.java:81)
> 	at org.apache.aries.jndi.url.ServiceRegistryListContext$ServiceNamingEnumeration.hasMore(ServiceRegistryListContext.java:71)
> 	at test.hot.extension.web.TestServlet.doGet(TestServlet.java:57)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1133)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.