Generating a POJO with a OffsetDateTime throws RuntimeException
- Dominant language
- Java
- Stars
- 6
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Attempted to use your awesome lib, and don't know if it's a mistake from my end but don't know where i made a wrong turn.
## I read your documentation, but, despite you're incredible control of the English language and ability to converse about complex Java stuffs via sarcastic comments, I'm incapable of understanding how this thing should work.
Using version 0.9.0 and invoking as below:
```
private Customer createCustomer() {
PojoGenerator pojoGenerator = new PojoGeneratorBuilder<>(Customer.class).build();
return pojoGenerator.generatePojo();
}
```
Customer class has some inner classes and some primitive types.
After running the code it would break with a RuntimeException. Following the stack trace, here are the debug prints to help framing:


Would love to help out or even push a PR, but would need to know where to start or the path to follow.
Ideas? If other version works, please share a guideline for me to try out if possible.
Thank you.
Contributor guide
Research direction
Start by reproducing the failure with the PojoGeneratorBuilder example on version 0.9.0, focusing on the Customer class's inner classes, primitive types, and OffsetDateTime field. Inspect the linked stack-trace images to identify the failing generation path; done means generation no longer throws the reported RuntimeException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100