java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Glassfish start issue with the most recent update
    via by user12154507,
    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) Caused by: com.sun.enterprise.module.ResolveError: Failed to start Bundle Id [218] State [INSTALLED] [org.glassfish.main.common.glassfish-mbeanserver(Glassfish MBeanServer support):3.1.2] at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:177) at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:344) at com.sun.hk2.component.LazyInhabitant.loadClass(LazyInhabitant.java:124) at com.sun.hk2.component.LazyInhabitant.type(LazyInhabitant.java:99) at org.jvnet.hk2.component.Habitat$SelfListener.inhabitantIndexChanged(Habitat.java:1142) at org.jvnet.hk2.component.Habitat$3.inhabitantChanged(Habitat.java:601) at org.jvnet.hk2.component.Habitat$4.run(Habitat.java:642) at org.jvnet.hk2.component.SameThreadExecutor.execute(SameThreadExecutor.java:80) at org.jvnet.hk2.component.Habitat.doNotify(Habitat.java:632) at org.jvnet.hk2.component.Habitat.notify(Habitat.java:619) at org.jvnet.hk2.component.Habitat.notify(Habitat.java:605) at org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:431) at org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:424) at com.sun.hk2.component.InhabitantsParser.addIndex(InhabitantsParser.java:243) at com.sun.hk2.component.InhabitantsParser.add(InhabitantsParser.java:222) at com.sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:174) at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.parseInhabitants(OSGiModuleImpl.java:376) at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.parseInhabitants(OSGiModulesRegistryImpl.java:321) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:156) at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:459) at org.jvnet.hk2.osgiadapter.HK2Main.createHabitat(HK2Main.java:96) at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime.newGlassFish(EmbeddedOSGiGlassFishRuntime.java:89) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:113) ... 6 more Caused by: 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(Felix.java:3826) at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944) at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:169) ... 28 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    28 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    16 more bugmates