[
https://issues.apache.org/jira/browse/ACCUMULO-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158751#comment-13158751
]
Billie Rinaldi commented on ACCUMULO-189:
-----------------------------------------
Jason, thanks for the patches and for finding this bug. I very, very recently
made some changes to the RegExFilter and some other user iterators that
involved removing their constructors and using their static configuration
methods for testing (see ACCUMULO-167). For example:
RegExFilter rei = new RegExFilter();
IteratorSetting is = new IteratorSetting(1, RegExFilter.class);
RegExFilter.setRegexs(is, ".*2", null, null, null, false);
rei.init(new SortedMapIterator(tm), is.getProperties(), new
DefaultIteratorEnvironment());
Also, I moved the RegExFilterTest to the ...iterators.user package. Could you
do an svn update and recreate your patches, using the new syntax above for the
test?
> RegExFilter deepCopy NullPointerException
> -----------------------------------------
>
> Key: ACCUMULO-189
> URL: https://issues.apache.org/jira/browse/ACCUMULO-189
> Project: Accumulo
> Issue Type: Bug
> Components: client, tserver
> Reporter: Jason Trost
> Assignee: Jason Trost
> Priority: Minor
> Labels: patch
> Fix For: 1.4.0, 1.5.0
>
> Attachments: RegExFilter-test.patch, RegExFilter.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> If any of the regex matcher objects are null (i.e. for example, if you only
> specify a regex for the column family), the deepCopy call will throw a
> NullPointerException.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira