com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class test.TestServlet

Oracle Community | echizen | 6 years ago
  1. 0

    Deploying simple servlet fails

    Oracle Community | 6 years ago | echizen
    com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class test.TestServlet
  2. 0

    Deploying simple servlet fails

    Oracle Community | 6 years ago | echizen
    com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class test.TestServlet
  3. 0

    CONFIGURATION FAILED! Must have a Constructor that takes in a BehaviorConfig

    icesoft.org | 8 months ago
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Must have a Constructor that takes in a BehaviorConfig
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to create an instance if a inner class with getConstructor()

    Stack Overflow | 6 years ago | Train5spotting
    java.lang.NoSuchMethodException: Outer$Inner.<init>(java.lang.Integer)

  1. bluebunnty 1 times, last 2 weeks ago
  2. Aria Pahlavan 1 times, last 2 weeks ago
  3. bmacedo 3 times, last 2 weeks ago
  4. Alexandru Popa 4 times, last 2 weeks ago
  5. filpgame 10 times, last 3 weeks ago
22 more registered users
24 unregistered visitors
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.NoSuchMethodException

    test.TestServlet.<init>()

    at java.lang.Class.getConstructor0()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getConstructor0(Class.java:2706)
    2. java.lang.Class.getConstructor(Class.java:1657)
    2 frames
  3. Container Common
    InjectionManagerImpl.createManagedObject
    1. com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:301)
    1 frame
  4. Glassfish
    WebModule.createServletInstance
    1. com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:709)
    2. com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1937)
    2 frames
  5. Glassfish Core
    StandardPipeline.invoke
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1252)
    2. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1059)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    5 frames
  6. Glassfish
    PESessionLockingStandardPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    2 frames
  7. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
    3 frames
  8. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    1 frame
  9. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    13 frames
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame