glassfish
  1. glassfish
  2. GLASSFISH-18664

WebServiceDeployer.unload throws NullPointerException on EAR deployment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 3.1.2_b23
    • Fix Version/s: None
    • Component/s: web_services
    • Labels:
      None

      Description

      A NullPointerException with the following stack trace is thrown when deploying an EAR with multiple modules (EJB, WAR) to Glassfish. The EAR originally contained 4 projects having stateless EJBs with a @WebService annotation. However, removing these projects from the EAR does not resolve the problem. I didn't succeed creating a test case yet but my main project keeps failing (unfortunately I can't share that).

      [#|2012-04-26T15:50:32.309+0200|FINE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=61;_ThreadName=Thread-2;ClassName=org.glassfish.api.ActionReport;MethodName=failure;|Exception while shutting down application container
      java.lang.NullPointerException
      	at org.glassfish.webservices.WebServicesDeployer.unload(WebServicesDeployer.java:770)
      	at org.glassfish.webservices.WebServicesDeployer.unload(WebServicesDeployer.java:99)
      	at org.glassfish.internal.data.EngineRef.unload(EngineRef.java:150)
      	at com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:287)
      	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:465)
      	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
      	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
      	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
      	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
      	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
      	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
      	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
      	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
      	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
      	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      	at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
      	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      	at java.lang.Thread.run(Thread.java:722)
      |#]
      
      [#|2012-04-26T15:50:32.310+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=61;_ThreadName=Thread-2;|Exception while shutting down application container|#]
      

        Activity

        Hide
        Martin Grebac added a comment -

        Can't proceed without any testcase or better description on how to reproduce the issue.

        Show
        Martin Grebac added a comment - Can't proceed without any testcase or better description on how to reproduce the issue.

          People

          • Assignee:
            Lukas Jungmann
            Reporter:
            sisirhc
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: