java.lang.NullPointerException

Oracle Community | thecid | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.sun.enterprise.web.WebContainer.createJKConnector()
  2. Glassfish
    WebContainer.postConstruct
    1. com.sun.enterprise.web.WebContainer.createJKConnector(WebContainer.java:965)
    2. com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:554)
    2 frames
  3. Inversion of Control / Autodependency mechanism
    ConstructorCreator$1.run
    1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
    2. com.sun.hk2.component.ConstructorCreator$1.run(ConstructorCreator.java:86)
    2 frames
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  5. Inversion of Control / Autodependency mechanism
    AbstractInhabitantImpl.get
    1. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:83)
    2. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
    3. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
    4. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
    5. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
    5 frames
  6. Private APIs of Glassfish
    EngineInfo.getContainer
    1. org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:93)
    1 frame
  7. Kernel Classes
    ApplicationLifecycle.setupContainerInfos
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:955)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:684)
    2 frames
  8. Deployment Related JavaEE Full Profile Classes
    EarDeployer.prepare
    1. org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:282)
    2. org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)
    3. org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141)
    4. org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138)
    5. org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215)
    6. org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224)
    7. org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:253)
    8. org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138)
    8 frames
  9. Kernel Classes
    ApplicationLifecycle.deploy
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:870)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
    3. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
    3 frames
  10. Embedded GlassFish Web
    InstanceDeployCommand.execute
    1. org.glassfish.deployment.admin.InstanceDeployCommand.execute(InstanceDeployCommand.java:186)
    1 frame
  11. Kernel Classes
    AdminAdapter.service
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1048)
    4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
    5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
    6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
    7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
    8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
    8 frames
  12. Grizzly WS
    GrizzlyAdapter.service
    1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
    1 frame
  13. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
    2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
    2 frames
  14. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    13 frames
  15. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame