You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Conrad Crampton <co...@SecData.com> on 2016/07/07 07:07:54 UTC

Possible bug in ReplaceTextWithMapping?

Hi,
I’m getting the following error
07:58:34 BST
ERROR
b5bfc24e-4aa3-317b-b4b7-8fcde58629fb
datanode1-cm1.mis-cds.local:9091
ReplaceTextWithMapping[id=b5bfc24e-4aa3-317b-b4b7-8fcde58629fb] ReplaceTextWithMapping[id=b5bfc24e-4aa3-317b-b4b7-8fcde58629fb] failed to process session due to java.lang.IllegalArgumentException: character to be escaped is missing: java.lang.IllegalArgumentException: character to be escaped is missing
07:58:34 BST
WARNING
b5bfc24e-4aa3-317b-b4b7-8fcde58629fb
datanode1-cm1.mis-cds.local:9091
ReplaceTextWithMapping[id=b5bfc24e-4aa3-317b-b4b7-8fcde58629fb] Processor Administratively Yielded for 1 sec due to processing failure

Reported in my logs occasionally for a regexp of ^.* cn1=(\d+?) cn2Label.*$ on the following snippet (abbreiviated)
…
cn1Label=DispositionCode cn1=1026 cn2Label=ScanDuration
…

I can’t see why I’d get an exception on trying to do the mapping from 1026 to my text file. The value to be looked up does exist in my mapping file.
Is this a bug?

Thanks
Conrad

[6 node cluster, v0.6.1)



SecureData, combating cyber threats
______________________________________________________________________ 
The information contained in this message or any of its attachments may be privileged and confidential and intended for the exclusive use of the intended recipient. If you are not the intended recipient any disclosure, reproduction, distribution or other dissemination or use of this communications is strictly prohibited. The views expressed in this email are those of the individual and not necessarily of SecureData Europe Ltd. Any prices quoted are only valid if followed up by a formal written quote.

SecureData Europe Limited. Registered in England & Wales 04365896. Registered Address: SecureData House, Hermitage Court, Hermitage Lane, Maidstone, Kent, ME16 9NT