36
Views
3
Comments
[Diff JSON] DiffJson method throws a Invalid Textline exception for some JSons being compared
Question
Forge component by Pedro Costa
5
Published on 12 Sep 2018

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

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

Rank: #38266

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

Champion
Rank: #158

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