Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. TypeExtractor.getUnaryOperatorReturnType() has thrown an InvalidTypesException
    Unsorted
    2
    2
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.apache.flink.api.common.functions.InvalidTypesException: The generic type parameters of 'Tuple3' are missing. It seems that your compiler has not stored them into the .class file. Currently, only the Eclipse JDT compiler preserves the type information necessary to use the lambdas feature type-safely. See the documentation for more information about how to compile jobs containing lambda expressions.
1 matching frame hidden
    at org.apache.flink.api.java.typeutils.TypeExtractor.validateLambdaGenericParameters(TypeExtractor.java:1302)
    at org.apache.flink.api.java.typeutils.TypeExtractor.getUnaryOperatorReturnType(TypeExtractor.java:346)
    at org.apache.flink.api.java.typeutils.TypeExtractor.getUnaryOperatorReturnType(TypeExtractor.java:304)
    at org.apache.flink.api.java.typeutils.TypeExtractor.getMapReturnTypes(TypeExtractor.java:119)
2 frames hidden

External results for this pattern (4)

  1. The generic type parameters of 'Map' are missing. It seems that your compiler has not stored them into the .class file. Currently, only the Eclipse JDT compiler preserves the type information necessary to use the lambdas feature type-safely. See the documentation for more information about how to compile jobs containing lambda expressions.
    Show stack trace
  2. c-valvia GitHub4 months ago
    The generic type parameters of 'Map' are missing. It seems that your compiler has not stored them into the .class file. Currently, only the Eclipse JDT compiler preserves the type information necessary to use the lambdas feature type-safely. See the documentation for more information about how to compile jobs containing lambda expressions.
    Show stack trace
  3. hasanvia Stack Overflow6 months ago
    The return type of function 'retrieve(ReplyGraph.java:33)' could not be determined automatically, due to type erasure. You can give type information hints by using the returns(...) method on the result of the transformation call, or by letting your function implement the 'ResultTypeQueryable' interface.
    Show stack trace
  4. itsBenvia GitHub1 year ago
    The generic type parameters of 'Map' are missing. It seems that your compiler has not stored them into the .class file. Currently, only the Eclipse JDT compiler preserves the type information necessary to use the lambdas feature type-safely. See the documentation for more information about how to compile jobs containing lambda expressions.
    Show stack trace