Am Dienstag 17 November 2009 schrieb Guillaume Nodet:
> How do you configure your <reference/> ? You need to specify
> javafx.scene.CustomNode as the interface if you want to be able to
> cast the proxies to this class.
[...]

net.sf.cglib.core.CodeGenerationException: 
java.lang.AbstractMethodError-->com.example.api.ModuleNode.create()Ljavafx/scene/Node;
        at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:235)
        at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:220)
        at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:216)
        at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:643)
        at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:538)
        at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:225)
        at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
        at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe$CgLibProxyFactory.createProxy(AbstractServiceReferenceRecipe.java:582)
        at 
org.apache.geronimo.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:244)
[…]

Abstract ModuleNode extends CustomNode and implements my ModuleView interface.
Same happens with FooNode which implements (overwrites) the create method.

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

Reply via email to