Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1371

Unsatisfied dependency error resolving raw producer type to parameterized injection point

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.0.0.Beta6
    • Resolution
    • None

      This injection resolves in the 1.1.8.Final version

      @Inject
      StepContext<Integer, Externalizable> stepCtx;

      ....

      @Produces
      @Dependent
      public StepContext getStepContext()

      { return ProxyFactory.getInjectionReferences().getStepContext(); }

      but fails to resolve in any of the Weld 2.0.0 builds, including the latest Beta6 build.

      org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [StepContext<Integer, Externalizable>] with qualifiers [@Default] at injection point [[BackedAnnotatedField
      ] @Inject com.ibm.jbatch.tck.artifacts.specialized.ChunkOnErrorCheckpointListener.stepCtx]
      at java.lang.Throwable.<init>(Throwable.java:67)
      at javax.enterprise.inject.spi.DeploymentException.<init>(DeploymentException.java:36)
      at org.jboss.weld.exceptions.DeploymentException.<init>(DeploymentException.java:44)
      at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:380)
      at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:313)
      at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:176)
      at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:207)
      at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:501)
      at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:69)
      at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:67)
      at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
      at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)

              rhn-engineering-jharting Jozef Hartinger
              kmukher Kaushik Mukherjee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: