You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (JIRA)" <ji...@apache.org> on 2019/04/02 20:54:00 UTC

[jira] [Created] (NIFI-6177) TestHBase_1_1_2_ListLookupService incorrectly uses TestRecordLookupProcessor

Bryan Bende created NIFI-6177:
---------------------------------

             Summary: 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
             Fix For: 1.10.0


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)