Hi All,

When we try to serialize a RuleBase in a Remote EJB Call We are getting a java.lang.StackOverflowError.

This problem only happens in HPUX, in local dev in windows works fine!

I have no idea why or what is the problems...

Any Ideas?

Thanks in advance for any help.

regards,

Pedro Costa.


java.lang.StackOverflowError
    at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
    ... LOTS ....
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
    at org.drools.common.AbstractRuleBase.doWriteExternal(AbstractRuleBase.java:195)
    at org.drools.reteoo.ReteooRuleBase.writeExternal(ReteooRuleBase.java:138)
    at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)