You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "Philipp Zehnder (Jira)" <ji...@apache.org> on 2020/07/07 13:13:00 UTC

[jira] [Created] (STREAMPIPES-170) NullPointer in JS Evaluator if no event is returned

Philipp Zehnder created STREAMPIPES-170:
-------------------------------------------

             Summary: NullPointer in JS Evaluator if no event is returned
                 Key: STREAMPIPES-170
                 URL: https://issues.apache.org/jira/browse/STREAMPIPES-170
             Project: StreamPipes
          Issue Type: Bug
          Components: Pipeline Elements
            Reporter: Philipp Zehnder
            Assignee: Philipp Zehnder
             Fix For: 0.67.0


Currently users must return an event. It should also be possible to filter events out of the data stream. In that case nothing should be returned. 

e.g.:

if (value > 5) {

   return event;

} 



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