-
Notifications
You must be signed in to change notification settings - Fork 46
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
Cannot invoke "java.util.Map.size()" because "map" is null #116
Comments
Same issue here |
Same here |
Ah got it, used already jakarta but this plugin searches for javax :/ |
@ataraxus seems to be quite annoying, anybody knows about someone fixing this ? |
@ataraxus so this library can't be used to generate for jakarta apis.Did you got any other plugin to generate open api spec |
I wrote a custom plugin. My API Definitions are in a separate Module and my plugin, stubs them all during compiletime and generates the openApi spec using this plugin. |
I do not know if this is the exact issue we ran into, but it sounds so similar that maybe this info helps. We saw this exact same error and the reason seems to be that when there are no classes with At first I thought the workaround was adding more <useResourcePackagesChildren>true</useResourcePackagesChildren> |
Could you share that custom plugin that you wrote or atleast a working example. I am running into this issue now and it seems like the fix hasn't been merged yet by the mainainer. |
I tried this but it didn't work for me unfortunantly. |
Same issue in JDK 17 |
wildfly 27. Using swagger maven plugin, with JDK 21, and getting the above error.
io.openapitools.swagger
swagger-maven-plugin
The text was updated successfully, but these errors were encountered: