springwolf-core
springwolf-core copied to clipboard
NullPointerException: An error was encountered: setTitle(String)" because "schema" is null
Describe the bug There is a null pointer exception in the latest release.
Related to https://github.com/springwolf/springwolf-core/pull/726/files#r1581879204
Dependencies and versions used
For example, springwolf-kafka version 1.2.0.
Stack trace and error logs
An error was encountered during operation scanning with io.github.springwolf.core.asyncapi.scanners.operations.SpringAnnotationOperationsScanner@20bd3082: Cannot invoke "io.github.springwolf.asyncapi.v3.model.schema.SchemaObject.setTitle(String)" because "schema" is null
Resolved in https://github.com/springwolf/springwolf-core/pull/740
The change is available in the latest release. 🎉
Thank you for the report/contribution and making Springwolf better!