On 29.05.2013 16:02, Alessio Gambi wrote:
> TraceGenerator generator = (SineTraceGenerator) registry
>                               .getService("SineTraceGenerator", 
> TraceGenerator.class);


> DEBUG org.apache.tapestry5.ioc.Registry: [  1] <-- Creating proxy for service 
> SineTraceGenerator [6.48 ms]
> Exception in thread "main" java.lang.ClassCastException: 
> $TraceGenerator_28566c0cafeac cannot be cast to 
> org.gambi.experiments.services.impl.SineTraceGenerator
>    at 
> org.gambi.experiments.ExperimentAutomation.main(ExperimentAutomation.java:50) 

Omit the cast to (SineTraceGenerator).

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to