[
https://issues.apache.org/jira/browse/NIFI-6177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-6177:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> TestHBase_1_1_2_ListLookupService incorrectly uses TestRecordLookupProcessor
> ----------------------------------------------------------------------------
>
> Key: NIFI-6177
> URL: https://issues.apache.org/jira/browse/NIFI-6177
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Minor
> Labels: Java11
> Fix For: 1.10.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> This test uses the TestRecordLookupProcessor because the mock framework needs
> a processor to create a test runner, but the test really isn't using the
> processor.
> When the test runs, the processor has a List<Record> but this lookup service
> returns List, so it ends up adding List to List<Record> , which apparently
> Java 8 allows.
> In Java 11 it throws a class cast exception.
> Same problem exists in the 2.x version of the HBase stuff.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)