org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke void fish.payara.micro.cdi.ClusteredCDIEventBus.postConstruct() on fish.payara.micro.cdi.ClusteredCDIEventBus@8f589d7

GitHub | grommitz | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    can't deploy

    GitHub | 1 year ago | grommitz
    org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke void fish.payara.micro.cdi.ClusteredCDIEventBus.postConstruct() on fish.payara.micro.cdi.ClusteredCDIEventBus@8f589d7

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at fish.payara.micro.cdi.ClusteredCDIEventBus.postConstruct()
    2. fish.payara.micro
      ClusteredCDIEventBus.postConstruct
      1. fish.payara.micro.cdi.ClusteredCDIEventBus.postConstruct(ClusteredCDIEventBus.java:83)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. Weld Implementation
      ProxyMethodHandler.getInstance
      1. org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:98)
      2. org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:81)
      3. org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:126)
      4. org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:171)
      5. org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)
      6. org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)
      7. org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141)
      8. org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)
      9. org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
      10. org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:125)
      10 frames
    5. fish.payara.micro
      ClusteredCDIEventBus$Proxy$_$$_WeldClientProxy.initialize
      1. fish.payara.micro.cdi.ClusteredCDIEventBus$Proxy$_$$_WeldClientProxy.initialize(Unknown Source)
      1 frame
    6. fish.payara.examples
      EventsServlet.init
      1. fish.payara.examples.payaramicro.event.receiver.EventsServlet.init(EventsServlet.java:50)
      1 frame
    7. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:244)
      1 frame
    8. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1583)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1382)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5732)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:5977)
      4 frames
    9. Glassfish
      WebModule.start
      1. com.sun.enterprise.web.WebModule.start(WebModule.java:691)
      1 frame
    10. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
      2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
      3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
      3 frames
    11. Glassfish
      WebApplication.start
      1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286)
      2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
      3. com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
      3 frames
    12. Private APIs of Glassfish
      ApplicationInfo.start
      1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
      2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
      3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
      3 frames
    13. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
      2 frames
    14. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
      1 frame
    15. Kernel Classes
      CommandRunnerImpl$2$1.run
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
      2 frames
    16. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:360)
      2 frames
    17. Kernel Classes
      CommandRunnerImpl$3.run
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
      3 frames
    18. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:360)
      2 frames
    19. Kernel Classes
      CommandRunnerImpl$ExecutionContext.execute
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
      5 frames
    20. admin-cli
      DeployerImpl.deploy
      1. com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:134)
      1 frame
    21. fish.payara.micro
      PayaraMicro.main
      1. fish.payara.micro.PayaraMicro.deployAll(PayaraMicro.java:922)
      2. fish.payara.micro.PayaraMicro.bootStrap(PayaraMicro.java:708)
      3. fish.payara.micro.PayaraMicro.main(PayaraMicro.java:105)
      3 frames