java.lang.reflect.InvocationTargetException

Stack Overflow | Jack BeNimble | 9 months 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

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. org.osgi.framework.BundleException

    Unresolved constraint in bundle org.glassfish.main.common.glassfish-mbeanserver [218]: Unable to resolve 218.1: missing requirement [218.1] osgi.wiring.package; (&(osgi.wiring.package=com.sun.enterprise.config.serverbeans)(version>=3.1.0)) [caused by: Unable to resolve 52.1: missing requirement [52.1] osgi.wiring.package; (&(osgi.wiring.package=com.sun.grizzly.config.dom)(version>=1.9.0)) [caused by: Unable to resolve 56.1: missing requirement [56.1] osgi.wiring.package; (&(osgi.wiring.package=com.sun.grizzly.arp)(version>=1.9.46)) [caused by: Unable to resolve 6.2: missing requirement [6.2] osgi.wiring.package; (&(osgi.wiring.package=com.sun.grizzly)(version>=1.9.50))]]]

    at org.apache.felix.framework.Felix.resolveBundleRevision()
  2. Apache Felix Framework
    BundleImpl.start
    1. org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
    2. org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
    3. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
    3 frames
  3. HK2 OSGi Adapter
    OSGiModuleImpl$2$1$1.loadClass
    1. org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:169)
    2. org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:344)
    2 frames
  4. Inversion of Control / Autodependency mechanism
    LazyInhabitant.type
    1. com.sun.hk2.component.LazyInhabitant.loadClass(LazyInhabitant.java:124)
    2. com.sun.hk2.component.LazyInhabitant.type(LazyInhabitant.java:99)
    2 frames
  5. HK2 Implementation Utilities
    Habitat.addIndex
    1. org.jvnet.hk2.component.Habitat$SelfListener.inhabitantIndexChanged(Habitat.java:1142)
    2. org.jvnet.hk2.component.Habitat$3.inhabitantChanged(Habitat.java:601)
    3. org.jvnet.hk2.component.Habitat$4.run(Habitat.java:642)
    4. org.jvnet.hk2.component.SameThreadExecutor.execute(SameThreadExecutor.java:80)
    5. org.jvnet.hk2.component.Habitat.doNotify(Habitat.java:632)
    6. org.jvnet.hk2.component.Habitat.notify(Habitat.java:619)
    7. org.jvnet.hk2.component.Habitat.notify(Habitat.java:605)
    8. org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:431)
    9. org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:424)
    9 frames
  6. Inversion of Control / Autodependency mechanism
    InhabitantsParser.parse
    1. com.sun.hk2.component.InhabitantsParser.addIndex(InhabitantsParser.java:243)
    2. com.sun.hk2.component.InhabitantsParser.add(InhabitantsParser.java:222)
    3. com.sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:174)
    3 frames
  7. HK2 OSGi Adapter
    OSGiModulesRegistryImpl.parseInhabitants
    1. org.jvnet.hk2.osgiadapter.OSGiModuleImpl.parseInhabitants(OSGiModuleImpl.java:376)
    2. org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.parseInhabitants(OSGiModulesRegistryImpl.java:321)
    2 frames
  8. HK2 core module
    Main.createHabitat
    1. com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:156)
    2. com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:459)
    2 frames
  9. HK2 OSGi Adapter
    HK2Main.createHabitat
    1. org.jvnet.hk2.osgiadapter.HK2Main.createHabitat(HK2Main.java:96)
    1 frame
  10. Appserver Core
    GlassFishMain$Launcher.launch
    1. com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime.newGlassFish(EmbeddedOSGiGlassFishRuntime.java:89)
    2. com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:113)
    2 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  12. Appserver Core
    ASMain.main
    1. com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
    2. com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
    2 frames