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

Getting RecursiveOrCyclicStepLibraryReferenceException even after using @Steps(shared=true) #29

Open
push2212 opened this issue Jun 18, 2020 · 3 comments

Comments

@push2212
Copy link

push2212 commented Jun 18, 2020

Hello I am suddenly getting this exception for the code which was working 10 minutes ago. .Please help. Please find the attached related files.
java.zip
net.thucydides.core.steps.RecursiveOrCyclicStepLibraryReferenceException: A recursive or cyclic reference was detected for the @Steps-annotated field report in class utilities.ReportMessege. You may need to use @steps(shared=true) to ensure that the same step library instance is used everywhere.

I have used shared=true .

Please help me.

@push2212 push2212 changed the title G Getting RecursiveOrCyclicStepLibraryReferenceException even after using @Steps(shared=true) Jun 18, 2020
@wakaleo
Copy link
Member

wakaleo commented Jun 18, 2020

It means you have a step library that includes (directly or indirectly) another instance of that step library.

@push2212
Copy link
Author

As far as I know , I don't have such step library. If there is , how do I find it ? And where do I use shared =true , will that resolve my issue ?

@push2212
Copy link
Author

I have used @steps(shared=true) for every usage of the Step , however still the same issue ,
Please help

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