[jbossws-users] [JBossWS] - NullPointerException in ServiceEndpointManagerFactory

tweedledee do-not-reply at jboss.com
Tue Jul 3 09:38:05 EDT 2007


I'm currently running a fresh install of JBoss AS 4.2.0 and have installed JBossWS 1.2.1 using the installation notes i.e. via the Ant script.

I've tried to run the examples that come with the 1.2.1 release but I keep getting a NullPointerException within the ServiceEndpointManagerFactory class:


  | java.lang.NullPointerException
  | 	org.jboss.ws.core.server.ServiceEndpointManagerFactory.getServiceEndpointManager(ServiceEndpointManagerFactory.java:52)
  | 	org.jboss.ws.core.server.AbstractServiceEndpointServlet.initServiceEndpointManager(AbstractServiceEndpointServlet.java:135)
  | 	org.jboss.ws.core.server.AbstractServiceEndpointServlet.init(AbstractServiceEndpointServlet.java:60)
  | 	org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | 	org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | 	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | 	org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | 	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | 	org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | 	java.lang.Thread.run(Thread.java:619)
  | 
  | 

It appears that the code is trying to obtain a KernelRegistry object but is failing:

   public ServiceEndpointManager getServiceEndpointManager()
  |    {
  |       KernelRegistry registry = KernelLocator.getKernel().getRegistry();
  |       KernelRegistryEntry entry = registry.getEntry(ServiceEndpointManager.BEAN_NAME);
  |       return (ServiceEndpointManager)entry.getTarget();
  |    }

Does anyone know if this is an installation issue or a bug?

Regards.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059969#4059969

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059969



More information about the jbossws-users mailing list