Issue 11017

NPE getting technical installation's endpoints

11017
Reporter: kbraak
Assignee: kbraak
Type: Bug
Summary: NPE getting technical installation's endpoints
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-03-27 12:12:28.581
Updated: 2013-12-16 17:50:15.705
Resolved: 2012-05-18 10:45:08.429
        
Description: Take for example: http://staging.gbif.org:8080/registry-ws/technical_installation/1eb0d0bc-6ea2-11e1-a453-a4093f22ed41

Now try: http://staging.gbif.org:8080/registry-ws/technical_installation/1eb0d0bc-6ea2-11e1-a453-a4093f22ed41/endpoint

The results is:

java.lang.NullPointerException
	org.gbif.registry.service.EndpointSupport.buildFromServices(EndpointSupport.java:47)
	org.gbif.registry.service.EndpointSupport.listEndpoints(EndpointSupport.java:59)
	org.gbif.registry.service.NetworkEntityServiceImpl.listEndpoints(NetworkEntityServiceImpl.java:113)
	org.gbif.registry.service.TechnicalInstallationServiceImpl.listEndpoints(TechnicalInstallationServiceImpl.java:14)
	org.gbif.registry.service.NetworkEntityServiceImpl.listEndpoints(NetworkEntityServiceImpl.java:27)
	org.gbif.registry.ws.resources.NetworkEntityResource.listEndpoints(NetworkEntityResource.java:153)
	org.gbif.ws.interceptor.NullResponseInterceptor.invoke(NullResponseInterceptor.java:17)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
	com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
	com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
	com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
	com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
	com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
	com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
	com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
	com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
	com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
	com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
	com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
	com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
	com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)]]>
    


Author: kbraak@gbif.org
Created: 2012-05-18 10:45:08.461
Updated: 2012-05-18 10:45:08.461
        
The UUID quoted in the issue no longer exists. I believe it it no longer an issue though, please see: http://staging.gbif.org:8080/registry-ws/technical_installation/74136510-55a0-11de-a510-9b557f3fcfbd/endpoint

Closing issue.