java.lang.VerifyError org/drools/reteoo/ReteooRuleBase, method: setupRete signature: ()V

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

java.lang.VerifyError org/drools/reteoo/ReteooRuleBase, method: setupRete signature: ()V

ivonne
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] java.lang.VerifyError org/drools/reteoo/ReteooRuleBase, method: setupRete signature: ()V

Davide Sottara
You mean that it used to work with your combination (jboss 4.2 + drools
5.4.0)
and then it suddenly started throwing the exception?
It seems strange.. do you have other applications deployed on the same
instance
of jboss? Maybe it's picking up a different version of the jars from
somewhere else
Davide

On 05/26/2014 10:10 AM, ivonne wrote:

> Hi
>
> I am using jboss 4.2 and drools core 5.4.0.Final. The application was
> working fine but without any change it started to throw an error when spring
> bean for kbase is created. This is the error:
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'kbase': Invocation of init method failed; nested exception is
> java.lang.VerifyError: (class: org/drools/reteoo/ReteooRuleBase, method:
> setupRete signature: ()V) Incompatible argument to function
>
> If I run the application using jetty it works fine.
>
> I've been looking about the error with any sucess.
>
> Thanks
>
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/java-lang-VerifyError-org-drools-reteoo-ReteooRuleBase-method-setupRete-signature-V-tp4029694.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users
>

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] java.lang.VerifyError org/drools/reteoo/ReteooRuleBase, method: setupRete signature: ()V

ivonne
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] java.lang.VerifyError org/drools/reteoo/ReteooRuleBase, method: setupRete signature: ()V

Davide Sottara
I can't tell for sure... 5.4.0 is relatively old, and there is not much that can be done with the released jars.
I suspect that you had some duplicate, incompatible classes on the classpath (having BOTH drools-all and the others
seems suspicious), and the classloader was 'almost always' picking up the one that made it work. Out of pure luck.
Davide

On 05/26/2014 11:45 AM, Ivo Escamilla wrote:

Thanks for your answer. It is the unique application in the server. The server is on my local. Right, it was working fine and then started throwing the exception.

In the pom I had drools-core, drools-spring and drools-all-jdk5 version 5.4.0.Final. I deleted all and use only drools- spring 5.4.0.Final and I solve the issue. I don't know why it works. I tried many things like new versions, deleted from my local and installed them again, with any success. It works using jetty but not with jboss. But using only that dependency fixed the issue. Do you know why?

El may 26, 2014 11:02 AM, "Davide Sottara" <[hidden email]> escribió:
You mean that it used to work with your combination (jboss 4.2 + drools
5.4.0)
and then it suddenly started throwing the exception?
It seems strange.. do you have other applications deployed on the same
instance
of jboss? Maybe it's picking up a different version of the jars from
somewhere else
Davide

On 05/26/2014 10:10 AM, ivonne wrote:

> Hi
>
> I am using jboss 4.2 and drools core 5.4.0.Final. The application was
> working fine but without any change it started to throw an error when spring
> bean for kbase is created. This is the error:
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'kbase': Invocation of init method failed; nested exception is
> java.lang.VerifyError: (class: org/drools/reteoo/ReteooRuleBase, method:
> setupRete signature: ()V) Incompatible argument to function
>
> If I run the application using jetty it works fine.
>
> I've been looking about the error with any sucess.
>
> Thanks
>
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/java-lang-VerifyError-org-drools-reteoo-ReteooRuleBase-method-setupRete-signature-V-tp4029694.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users
>

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users



To unsubscribe from java.lang.VerifyError org/drools/reteoo/ReteooRuleBase, method: setupRete signature: ()V, click here.
NAML


_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users