[
https://issues.apache.org/jira/browse/NIFI-14829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-14829:
------------------------------------
Description:
With the changes in NIFI-14814, certain common classes were excluded from this
rule. Between the last two excluded classes there is a comma missing which is
causing in the logs message like
{code:java}
[WARNING] Exception applying rule LooseCoupling on file
nifi/nifi-commons/nifi-expression-language/src/main/java/org/apache/nifi/attribute/expression/language/StandardEvaluationContext.java,
continuing with next rule
org.apache.commons.lang3.exception.ContextedRuntimeException:
java.lang.IllegalArgumentException: Not a Java binary name
'org.apache.nifi.attribute.expression.language.ValueLookup
org.apache.nifi.processor.util.listen.queue.TrackingLinkedBlockingQueue'
Exception Context:
[1:Rule applied on node=!debug only! [ClassType:40:44]ValueLookup]{code}
was:
With the changes in NIFI-14814, exception were made to common classes. Between
the last two exceptions there is not a comma which is causing in the logs
{code:java}
[WARNING] Exception applying rule LooseCoupling on file
nifi/nifi-commons/nifi-expression-language/src/main/java/org/apache/nifi/attribute/expression/language/StandardEvaluationContext.java,
continuing with next rule
org.apache.commons.lang3.exception.ContextedRuntimeException:
java.lang.IllegalArgumentException: Not a Java binary name
'org.apache.nifi.attribute.expression.language.ValueLookup
org.apache.nifi.processor.util.listen.queue.TrackingLinkedBlockingQueue'
Exception Context:
[1:Rule applied on node=!debug only! [ClassType:40:44]ValueLookup]{code}
> Add Missing comma in PMD LooseCoupling rule exception
> ------------------------------------------------------
>
> Key: NIFI-14829
> URL: https://issues.apache.org/jira/browse/NIFI-14829
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> With the changes in NIFI-14814, certain common classes were excluded from
> this rule. Between the last two excluded classes there is a comma missing
> which is causing in the logs message like
> {code:java}
> [WARNING] Exception applying rule LooseCoupling on file
> nifi/nifi-commons/nifi-expression-language/src/main/java/org/apache/nifi/attribute/expression/language/StandardEvaluationContext.java,
> continuing with next rule
> org.apache.commons.lang3.exception.ContextedRuntimeException:
> java.lang.IllegalArgumentException: Not a Java binary name
> 'org.apache.nifi.attribute.expression.language.ValueLookup
>
> org.apache.nifi.processor.util.listen.queue.TrackingLinkedBlockingQueue'
> Exception Context:
> [1:Rule applied on node=!debug only!
> [ClassType:40:44]ValueLookup]{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)