streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joey Frazee (JIRA)" <>
Subject [jira] [Commented] (STREAMS-132) RegexUtils does not ensure that content is non-null
Date Fri, 21 Oct 2016 15:22:58 GMT


Joey Frazee commented on STREAMS-132:

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:
>             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

View raw message