Skip to content

Infinite Recursion #1099

@esfomeado

Description

@esfomeado

Describe the bug

I have a class that contains a protobuf Message.

Fixture Monkey is not able to generate this type out of the box which is fine.

I´ve tried ignoring that field, added the package to the exclusion list, added an arbitrary generator but nothing stopped Fixture Monkey from going into a infinite recursion.

Your environment

Fixture Monkey 1.1.3
Java 21

Steps to reproduce

https://github.com/esfomeado/fixture-monkey-bug/blob/master/src/test/java/com/example/bug/FixtureMonkeyTest.java#L212

Expected behaviour

It should stop trying to generate the field

Actual behaviour

It never stops

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions