java.lang.IllegalArgumentException: While attempting to resolve the dependencies of de.moss.ems.rest.factory.ProjectFactory errors were found

Stack Overflow | Sebastian Frey | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    HK2 failure has been detected in a code that does not run in an active Jersey Error scope

    Stack Overflow | 7 months ago | Sebastian Frey
    java.lang.IllegalArgumentException: While attempting to resolve the dependencies of de.moss.ems.rest.factory.ProjectFactory errors were found

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      While attempting to resolve the dependencies of de.moss.ems.rest.factory.ProjectFactory errors were found

      at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies()
    2. ServiceLocator Default Implementation
      SystemDescriptor.dispose
      1. org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:246)
      2. org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
      3. org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      4. org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:70)
      5. org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2022)
      6. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      7. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
      8. org.jvnet.hk2.internal.FactoryCreator.dispose(FactoryCreator.java:175)
      9. org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
      9 frames
    3. Jersey Core
      RequestScope$Instance.release
      1. org.glassfish.jersey.process.internal.RequestScope$Instance.remove(RequestScope.java:532)
      2. org.glassfish.jersey.process.internal.RequestScope$Instance.release(RequestScope.java:549)
      2 frames
    4. jersey-core-server
      ServerRuntime$AsyncResponder.resume
      1. org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:968)
      2. org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:922)
      2 frames
    5. de.moss.ems
      AbstractCatalogResource.lambda$asyncGetRequest$0
      1. de.moss.ems.rest.resource.AbstractBaseResource.send(AbstractBaseResource.java:118)
      2. de.moss.ems.rest.resource.AbstractBaseResource.resume(AbstractBaseResource.java:165)
      3. de.moss.ems.rest.resource.catalog.CatalogsResource.handleGet(CatalogsResource.java:49)
      4. de.moss.ems.rest.resource.catalog.AbstractCatalogResource.lambda$asyncGetRequest$0(AbstractCatalogResource.java:44)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames