org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener

Oracle Community | rcbandit | 5 years ago
  1. 0

    Cannot use CDI into WAB on Glassfish 3.1.2

    Stack Overflow | 5 years ago | user1285928
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener
  2. 0

    Cannot use CDI into WAB

    Oracle Community | 5 years ago | rcbandit
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.jboss.weld.servlet.WeldListener
  3. 0

    OSGI wab deploy fails with "Inconsistent Module State" exception (glassfish 3.1) | Java.net

    java.net | 1 year ago
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OSGI wab deploy fails with "Inconsistent Module State" exception (glassfish 3.1)

    Oracle Community | 5 years ago | okna2000
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
  6. 0

    Changing requestscoped to sessionscoped gives an error

    Stack Overflow | 5 years ago | Klaasvaak
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class org.glassfish.webservices.WSServletContextListener

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean()
    2. Container Common
      InjectionManagerImpl.createManagedObject
      1. com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:477)
      2. com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:420)
      3. com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:299)
      3 frames
    3. Glassfish
      WebModule.createListenerInstance
      1. com.sun.enterprise.web.WebContainer.createListenerInstance(WebContainer.java:761)
      2. com.sun.enterprise.web.WebModule.createListenerInstance(WebModule.java:1987)
      2 frames
    4. Glassfish Core
      StandardContext.loadListener
      1. org.apache.catalina.core.StandardContext.createListener(StandardContext.java:2851)
      2. org.apache.catalina.core.StandardContext.loadListener(StandardContext.java:4806)
      2 frames
    5. Glassfish
      WebModule.loadListener
      1. com.sun.enterprise.web.WebModule.loadListener(WebModule.java:1599)
      1 frame
    6. Glassfish Core
      StandardContext.addApplicationListener
      1. org.apache.catalina.core.StandardContext.addListener(StandardContext.java:2740)
      2. org.apache.catalina.core.StandardContext.addApplicationListener(StandardContext.java:1966)
      2 frames
    7. Glassfish
      WebModuleContextConfig.lifecycleEvent
      1. com.sun.enterprise.web.TomcatDeploymentConfig.configureApplicationListener(TomcatDeploymentConfig.java:235)
      2. com.sun.enterprise.web.TomcatDeploymentConfig.configureWebModule(TomcatDeploymentConfig.java:94)
      3. com.sun.enterprise.web.WebModuleContextConfig.start(WebModuleContextConfig.java:274)
      4. com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:172)
      4 frames
    8. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:149)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:5329)
      2 frames
    9. Glassfish
      WebModule.start
      1. com.sun.enterprise.web.WebModule.start(WebModule.java:498)
      1 frame
    10. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
      2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
      3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
      3 frames
    11. Glassfish
      WebApplication.start
      1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2018)
      2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
      3. com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
      3 frames
    12. Private APIs of Glassfish
      ApplicationInfo.start
      1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
      2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
      3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
      3 frames
    13. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      2 frames
    14. Embedded GlassFish Web
      JavaEEExtender$HybridBundleTrackerCustomizer$1.call
      1. org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
      2. org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
      3. org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
      4. org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
      5. org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107)
      6. org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
      7. org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151)
      8. org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148)
      8 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5. java.lang.Thread.run(Thread.java:722)
      5 frames