Issue Type: Bug Bug
Affects Versions: 2.0.0.Beta6
Assignee: Jozef Hartinger
Components: Resolution (Typesafe and by Name)
Created: 19/Mar/13 1:27 PM
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)

Project: Weld
Priority: Major Major
Reporter: Kaushik Mukherjee
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to