You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Burke (Jira)" <ji...@apache.org> on 2020/12/02 22:06:00 UTC

[jira] [Created] (BEAM-11385) Samza "[type.argument.type.incompatible] " error.

Robert Burke created BEAM-11385:
-----------------------------------

             Summary: Samza "[type.argument.type.incompatible] " error.
                 Key: BEAM-11385
                 URL: https://issues.apache.org/jira/browse/BEAM-11385
             Project: Beam
          Issue Type: Bug
          Components: runner-samza
    Affects Versions: 2.26.0
            Reporter: Robert Burke
            Assignee: Robert Burke
             Fix For: 2.26.0


Unable to build samza due to the following:

```

Task :runners:samza:compileJava /home/rebo/build_release_candidate/beam/runners/samza/src/main/java/org/apache/beam/runners/samza/runtime/KeyedTimerData.java:48: error: [type.argument.type.incompatible] incompatible type argument for type parameter K of KeyedTimerData. public class KeyedTimerData<K> implements Comparable<KeyedTimerData<K>> { ^ found : K[ extends @UnknownKeyFor Object super @KeyForBottom Void] required: [extends @UnknownKeyFor Object super @UnknownKeyFor null]

```

 

Suppressing "keyfor" for the class resolves the issue.

It's not clear why this isn't happening on master.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)