118
Views
3
Comments
[Diff JSON] DiffJson method throws a Invalid Textline exception for some JSons being compared
Question
diff-json
Web icon
Forge asset by Truewind

The DiffJson method is throwing me a Runtime Exception of Invalid TextLine when trying to compare 2 Json data. This issue is seen when comparing certain JSon only. Please let me know how to bypass/get this issue fixed.

Have attached a text file containing the 2 records that are being compared.

InvalidTextlineComparisonIssueDiffJSon.txt
2021-07-19 14-21-08
Carlos Alfradique

Saurabh Chimulkar wrote:

The DiffJson method is throwing me a Runtime Exception of Invalid TextLine when trying to compare 2 Json data. This issue is seen when comparing certain JSon only. Please let me know how to bypass/get this issue fixed.

Have attached a text file containing the 2 records that are being compared.

Hi there Saurabh. How are you doing?

Tries to decrease the size of the fields: 

"PRINT_NOTES_TEXT",  "PRINT_POS_NOTES_TEXT" and "SET_NOTES".

I recently had a problem with the size of the fields.

Best Regards,

Carlos Alfradique

UserImage.jpg
Beatriz Clarke

Hi Saurabh - did you find a solution for this? we are having the same problem 

2022-07-12 16-41-57
Pedro Costa

Hi,

I did several tests using the text file that you sent, and I identified that the problem is in the value of the PRINT_NOTES_TEXT key. When I delete your content, the comparison works normally.


Is it some special character? or the data size?


Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.