You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by "Robert Douglas (JIRA)" <ji...@apache.org> on 2014/07/11 01:11:04 UTC

[jira] [Created] (STREAMS-132) RegexUtils does not ensure that content is non-null

Robert Douglas created STREAMS-132:
--------------------------------------

             Summary: RegexUtils does not ensure that content is non-null
                 Key: STREAMS-132
                 URL: https://issues.apache.org/jira/browse/STREAMS-132
             Project: Streams
          Issue Type: Bug
            Reporter: Robert Douglas


In the getMatches function of the RegexUtils class, the content object that gets passed in is not checked to ensure that it is non-null. When a null content is passed in, a RunTimeException is thrown and that stream is effectively blocked.

A solution to this problem is to check to see if the content is null before trying to find matches on it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)