JIRA JRULE-750 created.
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Edson Tirelli
Sent: 23 March 2007 14:30
To: Rules Users List
Subject: Re: [rules-users] 3.1-M1: java.lang.VerifyError: Shadow Fact
problem?
Michael,
Plz, do.
Thank you again.
[]s
Edson
Anstis, Michael (M.) wrote:
Hi,
It never rains it pours!
Given a very simple rule:-
package drools.debug
rule "Test1"
when
$m : Machine ( )
then
System.out.println("--> DEBUG!");
end
Throws a very unfriendly error:-
Exception in thread "main" java.lang.VerifyError: (class:
drools/debug/MachineShadowProxy, method: setProperty signature:
(Ljava/lang/String;JLjava/lang/String;)V) Register 3 contains wrong
type
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at org.drools.base.ClassObjectType.getShadow(ClassObjectType.java:123)
at
org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:148)
at org.drools.reteoo.Rete.assertObject(Rete.java:121)
at
org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:196)
at
org.drools.reteoo.ReteooWorkingMemory.doAssertObject(ReteooWorkingMemory
.java:68)
>
at
org.drools.common.AbstractWorkingMemory.assertObject(AbstractWorkingMemo
ry.java:724)
>
at
org.drools.common.AbstractWorkingMemory.assertObject(AbstractWorkingMemo
ry.java:543)
at drools.debug.Setup.main(Setup.java:42)
The Machine Class does extend another that has assessors for a Class
that has lots and lots of constructors...
Complete, self contained JAR, file available on request (a new JIRA?)
Thanks,
Mike
-----------------------------------------------------------------------
-
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @
www.jboss.com
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users