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

Oracle Community | piotr.tempes | 5 years ago
  1. 0

    virtualization plugin, dependency injection and OSGI

    Oracle Community | 5 years ago | piotr.tempes
    org.jvnet.hk2.component.UnsatisfiedDependencyException: injection failed on org.glassfish.virtualization.config.Virtualization$VirtResolver.virtualizations with interface org.glassfish.virtualization.config.Virtualizations
  2. 0

    Embedded Glassfish and security questions

    Oracle Community | 6 years ago | nickdegraeve
    java.lang.Exception: Failed to create user : message PlainTextActionReporterFAILUREorg.jvnet.hk2.component.UnsatisfiedDependencyException: injection failed on com.sun.enterprise.security.cli.CreateFileUser.userpassword with class java.lang.StringDescription: create-file-user commandCannot find userpassword in create-file-user command model, file a bug Usage: create-file-user [--authrealmname <authrealm_name>] [--target target] [--groups user_groups[:user_groups]*] [-?|--help[=<help(default:false)>]] username
  3. 0

    virtualization plugin, dependency injection and OSGI

    Oracle Community | 5 years ago | piotr.tempes
    org.jvnet.hk2.component.UnsatisfiedDependencyException: injection > failed on > org.glassfish.virtualization.config.Virtualization$VirtResolver.virtualizations > > with interface org.glassfish.virtualization.config.Virtualizations > 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) > >
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. HK2 Implementation Utilities
      InjectionManager.inject
      1. org.jvnet.hk2.component.InjectionManager.syncDoInject(InjectionManager.java:211)
      2. org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:107)
      2 frames
    3. Inversion of Control / Autodependency mechanism
      AbstractInhabitantImpl.get
      1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:127)
      2. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:117)
      3. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:84)
      4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
      5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:141)
      6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:135)
      6 frames
    4. HK2 Implementation Utilities
      Habitat.getComponent
      1. org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1434)
      2. org.jvnet.hk2.component.Habitat.getByType(Habitat.java:1384)
      3. org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:1016)
      3 frames
    5. admin-config-api
      GenericListCommand.execute
      1. org.glassfish.config.support.GenericListCommand.execute(GenericListCommand.java:114)
      1 frame
    6. Kernel Classes
      AdminAdapter.onMissingResource
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:351)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:366)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1076)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:98)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1309)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1277)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:479)
      8. com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:223)
      8 frames
    7. Grizzly Server
      StaticHttpHandler.service
      1. org.glassfish.grizzly.http.server.StaticHttpHandler.service(StaticHttpHandler.java:183)
      1 frame
    8. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispatch(HK2Dispatcher.java:113)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:236)
      2 frames
    9. Grizzly Server
      HttpServerFilter.handleRead
      1. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:163)
      2. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:161)
      2 frames
    10. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:286)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:223)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:155)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:134)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:829)
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:103)
      9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:111)
      10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:131)
      12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:508)
      13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:488)
      13 frames
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame