Description
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)