When I was running the program, I got the data from the DB2 database, and then created the index through Solr. I found that the program was interrupted and the error log was
Report error as
Caught java.io.CharConversionException. See attached Throwable for details. ERRORCODE=-4220, SQLSTATE=null
There is no accurate sqlstate. After some investigation, we found a piece of data
When the program reads this data, it will report an error. It’s OK to get any field that is not this random code field. Delete. The problem is solved
Similar Posts:
- APP Report DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=4.17.29
- Python TypeError: __init__() missing 1 required positional argument: ‘on_delete’
- [Solved] string(81) “SQLSTATE[HY000]: General error: 1364 Field ‘content’ doesn’t have a default value”
- Solution of data truncated for column ‘xxx’ in MySQL
- Error in importing excel file from SQL Server
- How to quickly locate problems in error reporting of db2-407 sqlcode: – 407, sqlstate: 23502
- How to quickly locate problems in error reporting of db2-407 sqlcode: – 407, sqlstate: 23502
- [Solved] An error occurred while updating the entries. See the inner exception for details.
- [Solved] This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
- Laravel uses group by to report errors [How to Solve]