You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2017/12/18 09:22:00 UTC

[jira] [Commented] (NIFI-4703) Unable to use EL for Hostname and Port on PutTCP processor

    [ https://issues.apache.org/jira/browse/NIFI-4703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16294684#comment-16294684 ] 

Pierre Villard commented on NIFI-4703:
--------------------------------------

Hi [~glisignoli],

How did you configure the processor? Where is located the variable you want to use?

Please remember that expression language is enabled against variables defined in the variable registry or via java/environment variables. This cannot be used against attributes from incoming flow files.

> Unable to use EL for Hostname and Port on PutTCP processor
> ----------------------------------------------------------
>
>                 Key: NIFI-4703
>                 URL: https://issues.apache.org/jira/browse/NIFI-4703
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.4.0
>            Reporter: Gino Lisignoli
>            Priority: Minor
>         Attachments: PutTCP-EL.xml
>
>
> Although https://github.com/apache/nifi/pull/1361 was merged into master, it doesn't seem to function.
> When setting a dynamic port in the PutTCP processor, the processor produces the error: 
> PutTCP[id=01601006-15cf-1651-ca50-f9597b0f303f] PutTCP[id=01601006-15cf-1651-ca50-f9597b0f303f] failed to process session due to java.lang.NumberFormatException: For input string: "": For input string: ""
> See attached dataflow



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)