You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Stefan Wachter (Jira)" <ji...@apache.org> on 2021/07/06 16:57:00 UTC

[jira] [Created] (BEAM-12578) Illegal parameter type: OnWindowExpirationContextParameter

Stefan Wachter created BEAM-12578:
-------------------------------------

             Summary: Illegal parameter type: OnWindowExpirationContextParameter
                 Key: BEAM-12578
                 URL: https://issues.apache.org/jira/browse/BEAM-12578
             Project: Beam
          Issue Type: Bug
          Components: beam-model
    Affects Versions: 2.29.0
            Reporter: Stefan Wachter


{{OnWindowsExpirationContext}} can not be used as a parameter for {{DoFn}} methods annotated by {{@OnWindowExpiration}}. The following exception is raised:
{code:java}
 java.lang.IllegalArgumentException: org.opennms.nephron.cortex.PaneAccumulator$PaneCombinerFn: Illegal parameter type: OnWindowExpirationContextParameter{}{code}

As a workaround a parameter of type {{OutputReceiver}} can be used, though.



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