nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Handa <anujha...@gmail.com>
Subject Not a Valid JSON content
Date Thu, 09 Jun 2016 20:22:22 GMT
Hi ,

I am getting the below error of not a valid JSON content

a text file containing XML was sconverted to JSON.

2016-06-09 16:10:11,765 ERROR [Timer-Driven Process Thread-10]
o.a.n.p.standard.EvaluateJsonPath
EvaluateJsonPath[id=475d43ec-549b-4378-81d5-778041558781] FlowFile
StandardFlowFileRecord[uuid=f238fd6d-ab1b-4d4b-b85d-77ade6102e18,claim=StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1464296313030-621,
container=default, section=621], offset=116652,
length=2039],offset=0,name=xml1.txt,size=2039] did not have valid JSON
content.
2016-06-09 16:10:11,771 ERROR [Timer-Driven Process Thread-6]
o.a.n.p.standard.EvaluateJsonPath
EvaluateJsonPath[id=475d43ec-549b-4378-81d5-778041558781] FlowFile
StandardFlowFileRecord[uuid=75ef7876-fb50-48f5-a651-c97212524e8a,claim=StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1464296313030-621,
container=default, section=621], offset=118691,
length=2214],offset=0,name=xml1.txt,size=2214] did not have valid JSON
content.
2016-06-09 16:10:11,779 ERROR [Timer-Driven Process Thread-8]
o.a.n.p.standard.EvaluateJsonPath
EvaluateJsonPath[id=475d43ec-549b-4378-81d5-778041558781] FlowFile
StandardFlowFileRecord[uuid=bc6855fb-8bc4-44ef-9196-41bab14c7aab,claim=StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1465502918815-4632,
container=default, section=536], offset=531630,
length=2226],offset=0,name=xml1.txt,size=2226] did not have valid JSON
content.

this is the properties of evaluate json content

[image: Inline image 1]

and ia m usig folloring XSLT to convert XML to JSON

https://community.hortonworks.com/articles/29474/nifi-converting-xml-to-json.html

ANuj

Mime
View raw message