error in logs about mail handler Edited

There are a lot of same errors in logs below when the mail was handling.

I think it shoud be caused by a string error in handling mail, so how can I find this handling mail? I would like to delete it... Thanks.

Caused by: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:INSERT INTO jiraissue (ID, pkey, issuenum, PROJECT, REPORTER, ASSIGNEE, CREATOR, issuetype, SUMMARY, DESCRIPTION, ENVIRONMENT, PRIORITY, RESOLUTION, issuestatus, CREATED, UPDATED, DUEDATE, RESOLUTIONDATE, VOTES, WATCHES, TIMEORIGINALESTIMATE, TIMEESTIMATE, TIMESPENT, WORKFLOW_ID, SECURITY, FIXFOR, COMPONENT) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xF0\x9F\x98\x8A\x0A\x0A...' for column 'DESCRIPTION' at row 1)
at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(
at org.ofbiz.core.entity.GenericDAO.singleInsert(
... 46 more
Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x8A\x0A\x0A...' for column 'DESCRIPTION' at row 1

1 answer

1 votes

I am guessing, but I suspect you are using MySQL as the database for JIRA.

If my instincts are correct, you are getting this error when emails containing certain utf-8 characters arrive.  You should check your MySQL server is set up correctly for JIRA, but there's a known problem in that JIRA does not support the settings required to handle the full range of utf-8 characters, and if that's the case, your options are only really to stop sending them in the mail, or shift to useing PostGreSQL, which JIRA can use with the odd characters.

Yup, here is an article we have on that point.  Your datbase cannot store the characters present in the email body.  Options are as Nic indicates.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

890 views 5 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot