'JSONObject [ <object> ] not found' when running schedule for connector

David Registro shared this problem 7 years ago
Resolved

When using a 3rd party connector, the connect comes with an XML import.

This also includes a schedule that runs to return the data from the connector. In cases where you see this schedule fail due to not handling UTF8 characters, you will see something like below.


f648a64ee180d7a246d31396276e28b9

Replies (1)

photo
1

To resolve this issue, you will need to ensure that your Java is using UTF8 encoding to handle these characters.

You can check your file encoding via the info.jsp.

E.g. UTF8

91c007798018e8e63f030be84091fa21


ANSI

4f5d9d98e88bf4c42be335a3846619da


You can tell YF to force UTF8 by modifying the catalina.bat (located under \yellowfin\appserver\bin . Just add the line below:

set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF8


Here is an example with the line added.

eefff0444ec2e55d5d22a9cc84bd10cd


Once you have made the change, you will need to ;

1. Restart YF

2. Remove current data sources using the connector

3. Re-create the connection.


If this does not resolve your issue, please let us know.


Regards,

David

Leave a Comment
 
Attach a file