[rules-users] StackOverflow when serializing KieBase

Mark Proctor mproctor at codehaus.org
Fri Aug 1 11:07:24 EDT 2014


We will not be able to help you, without a unit test that demonstrates your problem.

Mark
On 1 Aug 2014, at 15:38, Federico Bertola <federico.bertola88 at gmail.com> wrote:

> I'll try to investigating a bit (or at least I'll try to make something reproducible). Meanwhile, this is the stack trace. It seems to me that is not the case as https://issues.jboss.org/browse/JBRULES-2335.
> Any help is appreciated.
> 
> Federico.
> 
> 
> On 07/31/2014 01:25 AM, Mark Proctor wrote:
>> It should work, there should not be too much recursion. I’d suggest digging deeper to see if you can point us to the references that are suspect.
>> 
>> Mark
>> On 30 Jul 2014, at 17:28, Federico Bertola <federico.bertola88 at gmail.com> wrote:
>> 
>>> Hi all,
>>> when I try to serialize a rather large KieBase I constantly get the
>>> aforementioned error. After a bit of tracking I see that the error seems
>>> to appear when the KnowledgeBase try to serialize the Rete object.
>>> I belive this is not an infinite loop because it seems that the graph is
>>> quite deep and the serializer recursively calls writeExternal in a (sort
>>> of) depth-first fashion.
>>> 
>>> Increasing the stack size didn't really help, so I'm asking if there's a
>>> better way or if I should give up.
>>> 
>>> Thanks :)
>>> 
>>> Federico.
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>> 
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> <stacktrace.txt>_______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list