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

java.lang.NullPointerException with vague log #37

Open
nkuehnle opened this issue Oct 17, 2024 · 0 comments
Open

java.lang.NullPointerException with vague log #37

nkuehnle opened this issue Oct 17, 2024 · 0 comments

Comments

@nkuehnle
Copy link

I'm receiving a nullpointerexception pretty early on in the build process, using a local openapi.json file. This seems unrelated to #32 as there are no nullable enums (but are non-nullable enums).
openapi: 3.1.0
fastapi: 0.1.0

Exception in thread "main" java.lang.NullPointerException
        at java.util.HashSet.<init>(HashSet.java:118)
        at org.openapitools.codegen.config.CodegenConfigurator.toContext(CodegenConfigurator.java:408)
        at org.openapitools.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:453)
        at org.openapitools.codegen.cmd.Generate.run(Generate.java:407)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:60)
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

1 participant