Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run jDeodorant on Jgroups-2.10.0 System #4

Closed
sergiotp opened this issue Mar 31, 2016 · 3 comments
Closed

Unable to run jDeodorant on Jgroups-2.10.0 System #4

sergiotp opened this issue Mar 31, 2016 · 3 comments

Comments

@sergiotp
Copy link

Hi,

I'm trying to run jDeodorant (feature envy) on jgroups-2.10.0.zip but i'm getting StackOverFlow errors. The error occurs in Linux and MacOs.

If anyone knows what is going on or have any idea about what is causing the problem, please help.

Thank you!

@tsantalis
Copy link
Owner

Thank you for reporting this issue.
This was an infinite recursion bug occurring when the delegate method is the same as the delegator method.

Such a case is method
org.jgroups.stack.Protocol.down(org.jgroups.Event):java.lang.Object
where method down() delegates to itself through field down_prot (Protocol self-reference)

public Object down(Event evt) {
    return down_prot.down(evt);
}

The bug was fixed and a new version will be released soon.

@sergiotp
Copy link
Author

sergiotp commented Apr 6, 2016

Thank you!

@tsantalis
Copy link
Owner

New release 5.0.56 just came out!
You can update through Eclipse Marketplace client or by simply checking for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants