aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alasdair Nottingham (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (ARIES-501) NPE in Aries JNDI when trying to process an empty service list
Date Fri, 26 Nov 2010 12:08:14 GMT

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

Alasdair Nottingham reassigned ARIES-501:
-----------------------------------------

    Assignee: 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.


Mime
View raw message