org.jvnet.hk2.component.UnsatisfiedDependencyException: injection failed on org.glassfish.virtualization.config.Virtualization$VirtResolver.virtualizations with interface org.glassfish.virtualization.config.Virtualizations


Solutions on the web1

Solution icon of oraclecommunity
via Oracle Community by piotr.tempes, 1 year ago
injection failed on org.glassfish.virtualization.config.Virtualization$VirtResolver.virtualizations with interface org.glassfish.virtualization.config.Virtualizations

Stack trace

org.jvnet.hk2.component.UnsatisfiedDependencyException: injection failed on org.glassfish.virtualization.config.Virtualization$VirtResolver.virtualizations with interface org.glassfish.virtualization.config.Virtualizations
	at org.jvnet.hk2.component.InjectionManager.syncDoInject(InjectionManager.java:211)
	at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:107)
	at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:127)
	at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:117)
	at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:84)
	at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
	at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:141)
	at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:135)
	at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1434)
	at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1384)
	at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:1016)
	at org.glassfish.config.support.GenericListCommand.execute(GenericListCommand.java:114)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:351)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:366)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1076)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:98)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1309)
	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1277)
	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:479)
	at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:223)
	at org.glassfish.grizzly.http.server.StaticHttpHandler.service(StaticHttpHandler.java:183)
	at com.sun.enterprise.v3.server.HK2Dispatcher.dispatch(HK2Dispatcher.java:113)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:236)
	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:163)
	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:161)
	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:286)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:223)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:155)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:134)
	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:829)
	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:103)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:111)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:131)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:508)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:488)
	at java.lang.Thread.run(Thread.java:662)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.