streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Douglas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (STREAMS-132) RegexUtils does not ensure that content is non-null
Date Thu, 10 Jul 2014 23:11:04 GMT
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)

Mime
View raw message