-
Notifications
You must be signed in to change notification settings - Fork 77
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
IllegalAccessError with springwolf-core 0.10.0 and kafka batch listener #132
Comments
@sam0r040 and I investigated and came to the conclusion that different java version are used. java8 in springwolf and java17 in the bug description. The IllegalAccessError indicated an issue with the introduced java modules. Related info: graphql-java-kickstart/graphql-java-tools#265 |
Add log message to indicate mismatch java versions Co-Authored-By: 93372330+sam0r040@users.noreply.github.com
Add log message to indicate mismatch java versions Co-Authored-By: 93372330+sam0r040@users.noreply.github.com
Resolved with |
Describe the bug
Unable to start springwolf-core 0.10.0 with Kafka BatchListener
Dependencies and versions used
springwolf-core 0.10.0
Code example
Stack trace and error logs
Possible solution in
SpringPayloadAnnotationTypeExtractor
:IllegalAccessError is not part of the caught Exception. Change catch block to Throwable?
Root cause:
((ParameterizedTypeImpl) method.getGenericParameterTypes()[parameterPayloadIndex]).getActualTypeArguments()[0].getTypeName()
->? extends io.cloudevents.CloudEvent
, which is not an actual classThe text was updated successfully, but these errors were encountered: