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

NullPointerException in Generators.randomBasedGenerator().generate() #5

Closed
oswaldo opened this issue Apr 1, 2011 · 2 comments
Closed

Comments

@oswaldo
Copy link

oswaldo commented Apr 1, 2011

Calling Generators.randomBasedGenerator().generate() in version 3.0 or 3.1 gives the following stacktrace:
java.lang.NullPointerException
at com.fasterxml.uuid.impl.RandomBasedGenerator.generate(RandomBasedGenerator.java:93)
...

@cowtowncoder
Copy link
Owner

That does not sound right.. thank you for reporting this.

@cowtowncoder
Copy link
Owner

Ah. So this passes first time around, fails second time, which is why unit tests didn't catch it. Bug is pretty silly, fixed, related to initialization logic.
Fixed in "3.0" branch (which is misnomer as it's really master, at 3.1.0); will be included in 3.1.1 patch release

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