You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by "Joey Frazee (JIRA)" <ji...@apache.org> on 2016/10/21 17:13:59 UTC

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

    [ https://issues.apache.org/jira/browse/STREAMS-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15595408#comment-15595408 ] 

Joey Frazee edited comment on STREAMS-132 at 10/21/16 5:13 PM:
---------------------------------------------------------------

This was fixed for org.apache.streams.regex.RegexUtils in c7e7ad6 but the same bug is in org.apache.streams.util.RegexUtils


was (Author: jfrazee):
This was fixed for org.apache.streams.regex.RegexUtils in c7e7ad6 but the same bug is in org.apache.streams.regex.RegexUtils

> 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
>            Assignee: Joey Frazee
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.3.4#6332)