keystore-management icon indicating copy to clipboard operation
keystore-management copied to clipboard

bug on [email protected] with CQEngine

Open max402 opened this issue 4 years ago • 3 comments

Caused by: java.lang.IllegalStateException: Could not resolve sufficient generic type information from the given function of type: de.adorsys.keymanagement.core.view.EntryViewImpl$$Lambda$1355/000000002649A4F0, resolved: [class net.jodah.typetools.TypeResolver$Unknown, class net.jodah.typetools.TypeResolver$Unknown]. If the function you supplied was created from a lambda expression, then it's likely that the host JVM does not allow the generic type information to be read from lambda expressions. Alternatively, if you supplied a class-based implementation of the function, then you must ensure that you specified the generic types of the function when it was compiled. As a workaround, you can use the counterpart methods in QueryFactory which allow the generic types to be specified explicitly. at com.googlecode.cqengine.query.QueryFactory.validateSimpleFunctionGenericTypes(QueryFactory.java:1084) at com.googlecode.cqengine.query.QueryFactory.resolveSimpleFunctionGenericTypes(QueryFactory.java:1070) at com.googlecode.cqengine.query.QueryFactory.attribute(QueryFactory.java:848) at de.adorsys.keymanagement.core.view.EntryViewImpl.<clinit>(EntryViewImpl.java:35)

https://github.com/npgall/cqengine/blob/master/documentation/LambdaAttributes.md

max402 avatar Apr 22 '20 09:04 max402