[
http://jira.jboss.com/jira/browse/JBRULES-960?page=all ]
zhou yanming updated JBRULES-960:
---------------------------------
Attachment: Main.java
I encount this when insert a spring scoped-proxy bean into workingmemory,
and this simple test program throw this exception also
WorkingMemory cannot insert proxy object
----------------------------------------
Key: JBRULES-960
URL:
http://jira.jboss.com/jira/browse/JBRULES-960
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.MR3
Reporter: zhou yanming
Assigned To: Edson Tirelli
Priority: Critical
Fix For: 4.0.0.MR4
Attachments: Main.java
object was proxied by CGLIB,and works fine with 4.0.0.MR2,but when I upgrade to
4.0.0.MR3,It raise a exception
Caused by: java.lang.VerifyError: model.Order$$EnhancerByCGLIB$$d6d596a8ShadowProxy
overrides final method ?0ó*h=+.?0ó*h=+
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at org.drools.rule.MapBackedClassLoader.fastFindClass(MapBackedClassLoader.java:40)
at org.drools.rule.MapBackedClassLoader.loadClass(MapBackedClassLoader.java:59)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.drools.reteoo.Rete$ObjectTypeConf.<init>(Rete.java:352)
at org.drools.reteoo.Rete.assertObject(Rete.java:152)
at org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:190)
at org.drools.reteoo.ReteooWorkingMemory.doInsert(ReteooWorkingMemory.java:70)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:772)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:584)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira