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 vote

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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

828 views 3 9
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