dev@glassfish.java.net

Urgent : QL failures JAXWS and gmbal

From: Bhakti Mehta <Bhakti.Mehta_at_Sun.COM>
Date: Mon, 13 Jul 2009 11:40:56 -0700

Hi,
Kumar noticed QL started failing after his commit today morning however
the error which is showing up in the server log is

java.lang.NullPointerException
    at
com.sun.xml.ws.server.WSEndpointImpl.createManagedObjectManager(WSEndpointImpl.java:385)
    at com.sun.xml.ws.server.WSEndpointImpl.<init>(WSEndpointImpl.java:153)
    at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:229)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:514)
   
Full stacktrace below

I have integrated metro 2.0 b12 on jun 23 and see gmbal integrated on
jun 30. We are not sure how this failures are showing up today but want
some input here.
 looking at the code

// TBD: Decide final root name.
            // Most likely it will be "metro" when running inside GlassFish,
            // (under the AMX node), and "com.sun.metro" otherwise.
            final ManagedObjectManager managedObjectManager =
                ManagedObjectManagerFactory.createStandalone("metro");

            if (typelibDebug != -1) {
                managedObjectManager.setTypelibDebug(typelibDebug);
            }
            if (registrationDebug.equals("FINE")) {
               
managedObjectManager.setRegistrationDebug(ManagedObjectManager.RegistrationDebugLevel.FINE);
            } else if (registrationDebug.equals("NORMAL")) {
               
managedObjectManager.setRegistrationDebug(ManagedObjectManager.RegistrationDebugLevel.NORMAL);
            } else {
----->>
managedObjectManager.setRegistrationDebug(ManagedObjectManager.RegistrationDebugLevel.NONE);
            }

Seems managedObjectManager is null.

Harold/Others,
Would that ever be null?

I have commented the QL tests for now .

Regards,
Bhakti




java.lang.NullPointerException
    at
com.sun.xml.ws.server.WSEndpointImpl.createManagedObjectManager(WSEndpointImpl.java:385)
    at com.sun.xml.ws.server.WSEndpointImpl.<init>(WSEndpointImpl.java:153)
    at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:229)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:514)
   

at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
    at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
    at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5066)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5793)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:507)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:693)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1771)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1459)
    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:93)
    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
    at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:193)
    at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:304)
    at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:174)
    at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:427)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:437)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:524)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:157)
    at
org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:121)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:529)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:415)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:347)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:332)
    at
org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:200)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
|#]

[#|2009-07-13T11:11:00.345-0700|INFO|glassfish|javax.enterprise.resource.webservices.assembler|_ThreadID=17;_ThreadName=Thread-1;|Default
metro-default.xml configuration file located at:
'bundle://201.0:1/META-INF/metro-default.xml'|#]

[#|2009-07-13T11:11:06.244-0700|SEVERE|glassfish|javax.enterprise.resource.webservices.jaxws.server.http|_ThreadID=17;_ThreadName=Thread-1;|WSSERVLET11:
failed to parse runtime descriptor: java.lang.NullPointerException
java.lang.NullPointerException
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:517)
    at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
    at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
    at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5066)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5793)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:507)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:693)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1771)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1459)
    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:93)
    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
    at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:193)
    at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:304)
    at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:174)
    at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:427)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:437)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:524)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:157)
    at
org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:121)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:529)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:415)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:347)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:332)
    at
org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:200)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
|#]

[#|2009-07-13T11:11:06.249-0700|WARNING|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-1;|com.sun.xml.ws.transport.http.servlet.WSServletException:
WSSERVLET11: failed to parse runtime descriptor:
java.lang.NullPointerException
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11:
failed to parse runtime descriptor: java.lang.NullPointerException
    at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:118)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5066)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5793)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:507)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:693)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1771)
    at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1459)
    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:93)
    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:215)
    at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:193)