Support Questions
Find answers, ask questions, and share your expertise

Default Value Error by NIFI AvroReader

New Contributor

@Bryan Bende I am getting the below exception for the schema :

{

"name ":"application ",

"type ":{

"type ":"record ",

"name ":"data ",

"fields ":[

{

"name ":"name ",

"type ":"string ",

"doc ":"Name of the application ",

"default ":" "

}

]

},

"doc ":"t information ",

"default ":{


}

}

java.lang.IllegalArgumentException: Cannot set the deafult value for field 'Application' to [{}] because this is not a valid value for Data Type [RECORD]. Any idea what is wrong?

1 REPLY 1

The above question was previously posted to the

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
; ;