springwolf-core icon indicating copy to clipboard operation
springwolf-core copied to clipboard

NullPointerException: An error was encountered: setTitle(String)" because "schema" is null

Open timonback opened this issue 1 year ago • 1 comments

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

timonback avatar Apr 30 '24 09:04 timonback

Resolved in https://github.com/springwolf/springwolf-core/pull/740

timonback avatar May 03 '24 12:05 timonback

The change is available in the latest release. 🎉

Thank you for the report/contribution and making Springwolf better!

github-actions[bot] avatar May 31 '24 16:05 github-actions[bot]