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

Unsatisfied dependency error resolving raw producer type to parameterized injection point

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 2.0.0.Beta6
    • Fix Version/s: None
    • Component/s: Resolution
    • Labels:
      None

      Description

      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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jharting Jozef Hartinger
                Reporter:
                kmukher Kaushik Mukherjee
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: