-
Notifications
You must be signed in to change notification settings - Fork 92
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
ClassCastException in ReactiveAbstractSelectionQuery #1682
Comments
Here is the error message we've got from the IllegalAccessError:
|
I'm not sure Hibernate Reactive should deal with these kind of error. I'm not familiar with TeamCity, is it possible that some dependencies in your project have not been updated? |
Thanks, I checked build with local maven repo cleaned. Unfortunately, the situation is the same. Of course, it's hard to say how to repro and fix the if ( t instanceof RuntimeException ) {
throw getSession().getExceptionConverter().convert( (RuntimeException) t, getLockOptions() );
}
throw getSession().getExceptionConverter().convert( new RuntimeException(t), getLockOptions() ); Even better, of course, would be to refactor |
@oleg-alexeyev Would you like to send a fix for this issue? I think you are right that we shouldn't have a This solution seems fine to me: if ( t instanceof RuntimeException ) {
throw getSession().getExceptionConverter().convert( (RuntimeException) t, getLockOptions() );
}
throw getSession().getExceptionConverter().convert( new RuntimeException(t), getLockOptions() ); |
OK, I'll do. |
@oleg-alexeyev because we want to do a release today, I have fixed the problem in #1704. |
Fixed. |
We're observing the following exception:
Unfortunately it's not clear how to reproduce this. But it's evident that the following code doesn't account for
java.lang.Error
subclasses:The text was updated successfully, but these errors were encountered: