com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,13175][stringvalue,//jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/][issue,11103][parentkey,null][customfield,10165] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xC2\x97BIC/...' for column 'STRINGVALUE' at row 1))

JIRA | Geurts null | 8 years ago
  1. 0

    Got the following stack trace when trying to create an issue. Customfield = QTP Test Results Path (Text Field (< 255 characters) ) {noformat} value trying to insert = //jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/ javax.mail.MessagingException: Unhandled Exception. Unable to process mail from eric.geurts@dieteren.be : org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,13175][stringvalue,//jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/][issue,11103][parentkey,null][customfield,10165] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xC2\x97BIC/...' for column 'STRINGVALUE' at row 1)); nested exception is: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,13175][stringvalue,//jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/][issue,11103][parentkey,null][customfield,10165] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xC2\x97BIC/...' for column 'STRINGVALUE' at row 1)) at com.dolby.atlassian.jira.service.util.handler.EMHCreateIssueHandler.handleMessage(EMHCreateIssueHandler.java:137) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:171) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}

    JIRA | 8 years ago | Geurts null
    com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,13175][stringvalue,//jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/][issue,11103][parentkey,null][customfield,10165] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xC2\x97BIC/...' for column 'STRINGVALUE' at row 1))
  2. 0

    Got the following stack trace when trying to create an issue. Customfield = QTP Test Results Path (Text Field (< 255 characters) ) {noformat} value trying to insert = //jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/ javax.mail.MessagingException: Unhandled Exception. Unable to process mail from eric.geurts@dieteren.be : org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,13175][stringvalue,//jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/][issue,11103][parentkey,null][customfield,10165] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xC2\x97BIC/...' for column 'STRINGVALUE' at row 1)); nested exception is: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,13175][stringvalue,//jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/][issue,11103][parentkey,null][customfield,10165] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xC2\x97BIC/...' for column 'STRINGVALUE' at row 1)) at com.dolby.atlassian.jira.service.util.handler.EMHCreateIssueHandler.handleMessage(EMHCreateIssueHandler.java:137) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:171) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {noformat}

    JIRA | 8 years ago | Geurts null
    com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,13175][stringvalue,//jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/][issue,11103][parentkey,null][customfield,10165] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xC2\x97BIC/...' for column 'STRINGVALUE' at row 1))
  3. 0

    h3. Summary When entering data into a single line text field in a Service Desk request, and this data exceeds the limit, you receive a message {{There was an error initialising the workflow}} h3. Environment * JIRA 7.0.0 * Service Desk 2.6.0 h3. Steps to Reproduce # Create a custom text field (single line) # Add this field on the Create Issue screen for a JIRA Project that is associated with a Service Desk. # Update the Service Desk customer portal to request this field. # Create a request on that Service Desk, while pasting the following paragraph into the custom field: {quote}Integer sagittis nisi vel rhoncus molestie. Aenean vehicula, ipsum id hendrerit sollicitudin, leo risus porttitor odio, eget ullamcorper dui tellus et magna. Mauris vitae justo ac neque pellentesque ultricies non sed libero. Maecenas sit amet neque ac arcu tristique elementum. Integer diam sapien, vestibulum eget accumsan nec, ultricies sit amet nisl. Vivamus et nisi nec risus laoreet suscipit at et erat. Ut a nisl a nibh imperdiet molestie vulputate id libero. Ut tincidunt sagittis ultricies. Praesent sit amet magna sagittis, volutpat magna ut, convallis orci. Mauris quam quam, gravida id quam non, accumsan finibus risus. Aenean diam neque, varius a neque non, auctor congue dui. Maecenas placerat lectus velit, in tincidunt nunc rutrum eu. Curabitur mollis ipsum ac nisi convallis vestibulum. Maecenas porta ex non enim dignissim, eget ultricies arcu finibus. Etiam commodo, turpis nec scelerisque volutpat, dolor magna aliquam nisl, non elementum mauris purus sit amet urna. Vivamus vel odio sed mauris vestibulum tincidunt rhoncus ut tortuur.{quote} # Submit. h3. Expected Results Error should say that it exceeds the character limit. h3. Actual Results Error displays at top of Service Desk request: !Screen Shot 2015-08-20 at 14.59.58.jpg|thumbnail! In logs: {noformat}@4000000055d448b90638a4cc 2015-08-19 12:13:19,084 ajp-nio-127.0.0.104-8009-exec-1 ERROR ####### 733x26422x1 wid9cd 109.186.171.142,104.192.140.178 /servicedesk/customer/portal/2/create/5 [c.a.s.i.f.customer.request.ServiceDeskWorkflowInitializationManager] Error initializing workflow @4000000055d448b90638b084 com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][parentkey,null][customfield,10033][issue,10307][stringvalue,Since the introduction of AutoCAD in 1982, Autodesk has become a leader in 3D design, engineering, and entertainment software. Today, Autodesk’s product portfolio spans more than 100 products, available in 18 different languages. The company employs over 2,000 software engineers, plus product and project managers who rely on JIRA to plan, collaborate, and ship great products.][id,10518] (SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255))) @4000000055d448b90638eb1c at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:398) @4000000055d448b90638eb1c at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.createValue(WrappingOfBizDelegator.java:219) @4000000055d448b90638ef04 at com.atlassian.jira.issue.customfields.persistence.OfBizCustomFieldValuePersister.createValuesInt(OfBizCustomFieldValuePersister.java:128) @4000000055d448b90638ef04 at com.atlassian.jira.issue.customfields.persistence.OfBizCustomFieldValuePersister.updateValues(OfBizCustomFieldValuePersister.java:148) ... @4000000055d448b9063af2a4 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) @4000000055d448b9063af2a4 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) @4000000055d448b9063af68c at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) @4000000055d448b9063afa74 at java.lang.Thread.run(Thread.java:745) @4000000055d448b9063afa74 Caused by: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][parentkey,null][customfield,10033][issue,10307][stringvalue,Since the introduction of AutoCAD in 1982, Autodesk has become a leader in 3D design, engineering, and entertainment software. Today, Autodesk’s product portfolio spans more than 100 products, available in 18 different languages. The company employs over 2,000 software engineers, plus product and project managers who rely on JIRA to plan, collaborate, and ship great products.][id,10518] (SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255))) @4000000055d448b9063b0dfc at org.ofbiz.core.entity.GenericDAO.singleInsert(GenericDAO.java:213) @4000000055d448b9063b11e4 at org.ofbiz.core.entity.GenericDAO.insert(GenericDAO.java:178) ... @4000000055d448b9063b15cc at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:393) @4000000055d448b9063b1d9c ... 388 more @4000000055d448b9063b1d9c Caused by: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255)) @4000000055d448b9063b2954 at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:684) @4000000055d448b9063b2954 at org.ofbiz.core.entity.GenericDAO.singleInsert(GenericDAO.java:205) @4000000055d448b9063b2d3c ... 394 more @4000000055d448b9063b3124 Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) @4000000055d448b9063b3124 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2077) ... @4000000055d448b9063b4894 at org.apache.tomcat.dbcp.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) @4000000055d448b9063b5064 at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:674) @4000000055d448b9063b544c ... 395 more {noformat} h3. Workaround Reduce the length of the data in the custom text fields.

    Atlassian JIRA | 1 year ago | Shannon Mackie [Atlassian]
    com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][parentkey,null][customfield,10033][issue,10307][stringvalue,Since the introduction of AutoCAD in 1982, Autodesk has become a leader in 3D design, engineering, and entertainment software. Today, Autodesk’s product portfolio spans more than 100 products, available in 18 different languages. The company employs over 2,000 software engineers, plus product and project managers who rely on JIRA to plan, collaborate, and ship great products.][id,10518] (SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255))) @4000000055d448b90638eb1c at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:398) @4000000055d448b90638eb1c at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.createValue(WrappingOfBizDelegator.java:219)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary When entering data into a single line text field in a Service Desk request, and this data exceeds the limit, you receive a message {{There was an error initialising the workflow}} h3. Environment * JIRA 7.0.0 * Service Desk 2.6.0 h3. Steps to Reproduce # Create a custom text field (single line) # Add this field on the Create Issue screen for a JIRA Project that is associated with a Service Desk. # Update the Service Desk customer portal to request this field. # Create a request on that Service Desk, while pasting the following paragraph into the custom field: {quote}Integer sagittis nisi vel rhoncus molestie. Aenean vehicula, ipsum id hendrerit sollicitudin, leo risus porttitor odio, eget ullamcorper dui tellus et magna. Mauris vitae justo ac neque pellentesque ultricies non sed libero. Maecenas sit amet neque ac arcu tristique elementum. Integer diam sapien, vestibulum eget accumsan nec, ultricies sit amet nisl. Vivamus et nisi nec risus laoreet suscipit at et erat. Ut a nisl a nibh imperdiet molestie vulputate id libero. Ut tincidunt sagittis ultricies. Praesent sit amet magna sagittis, volutpat magna ut, convallis orci. Mauris quam quam, gravida id quam non, accumsan finibus risus. Aenean diam neque, varius a neque non, auctor congue dui. Maecenas placerat lectus velit, in tincidunt nunc rutrum eu. Curabitur mollis ipsum ac nisi convallis vestibulum. Maecenas porta ex non enim dignissim, eget ultricies arcu finibus. Etiam commodo, turpis nec scelerisque volutpat, dolor magna aliquam nisl, non elementum mauris purus sit amet urna. Vivamus vel odio sed mauris vestibulum tincidunt rhoncus ut tortuur.{quote} # Submit. h3. Expected Results Error should say that it exceeds the character limit. h3. Actual Results Error displays at top of Service Desk request: !Screen Shot 2015-08-20 at 14.59.58.jpg|thumbnail! In logs: {noformat}@4000000055d448b90638a4cc 2015-08-19 12:13:19,084 ajp-nio-127.0.0.104-8009-exec-1 ERROR ####### 733x26422x1 wid9cd 109.186.171.142,104.192.140.178 /servicedesk/customer/portal/2/create/5 [c.a.s.i.f.customer.request.ServiceDeskWorkflowInitializationManager] Error initializing workflow @4000000055d448b90638b084 com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][parentkey,null][customfield,10033][issue,10307][stringvalue,Since the introduction of AutoCAD in 1982, Autodesk has become a leader in 3D design, engineering, and entertainment software. Today, Autodesk’s product portfolio spans more than 100 products, available in 18 different languages. The company employs over 2,000 software engineers, plus product and project managers who rely on JIRA to plan, collaborate, and ship great products.][id,10518] (SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255))) @4000000055d448b90638eb1c at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:398) @4000000055d448b90638eb1c at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.createValue(WrappingOfBizDelegator.java:219) @4000000055d448b90638ef04 at com.atlassian.jira.issue.customfields.persistence.OfBizCustomFieldValuePersister.createValuesInt(OfBizCustomFieldValuePersister.java:128) @4000000055d448b90638ef04 at com.atlassian.jira.issue.customfields.persistence.OfBizCustomFieldValuePersister.updateValues(OfBizCustomFieldValuePersister.java:148) ... @4000000055d448b9063af2a4 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) @4000000055d448b9063af2a4 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) @4000000055d448b9063af68c at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) @4000000055d448b9063afa74 at java.lang.Thread.run(Thread.java:745) @4000000055d448b9063afa74 Caused by: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][parentkey,null][customfield,10033][issue,10307][stringvalue,Since the introduction of AutoCAD in 1982, Autodesk has become a leader in 3D design, engineering, and entertainment software. Today, Autodesk’s product portfolio spans more than 100 products, available in 18 different languages. The company employs over 2,000 software engineers, plus product and project managers who rely on JIRA to plan, collaborate, and ship great products.][id,10518] (SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255))) @4000000055d448b9063b0dfc at org.ofbiz.core.entity.GenericDAO.singleInsert(GenericDAO.java:213) @4000000055d448b9063b11e4 at org.ofbiz.core.entity.GenericDAO.insert(GenericDAO.java:178) ... @4000000055d448b9063b15cc at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:393) @4000000055d448b9063b1d9c ... 388 more @4000000055d448b9063b1d9c Caused by: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255)) @4000000055d448b9063b2954 at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:684) @4000000055d448b9063b2954 at org.ofbiz.core.entity.GenericDAO.singleInsert(GenericDAO.java:205) @4000000055d448b9063b2d3c ... 394 more @4000000055d448b9063b3124 Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) @4000000055d448b9063b3124 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2077) ... @4000000055d448b9063b4894 at org.apache.tomcat.dbcp.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:97) @4000000055d448b9063b5064 at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:674) @4000000055d448b9063b544c ... 395 more {noformat} h3. Workaround Reduce the length of the data in the custom text fields.

    Atlassian JIRA | 1 year ago | Shannon Mackie [Atlassian]
    com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][parentkey,null][customfield,10033][issue,10307][stringvalue,Since the introduction of AutoCAD in 1982, Autodesk has become a leader in 3D design, engineering, and entertainment software. Today, Autodesk’s product portfolio spans more than 100 products, available in 18 different languages. The company employs over 2,000 software engineers, plus product and project managers who rely on JIRA to plan, collaborate, and ship great products.][id,10518] (SQL Exception while executing the following:INSERT INTO public.customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255))) @4000000055d448b90638eb1c at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:398) @4000000055d448b90638eb1c at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.createValue(WrappingOfBizDelegator.java:219)
  6. 0

    When adding a comment that contains Unicode characters outside the BMP (e.g.- ⚔✏Ṣᴔᖲ⋂𒟤ၽ긄ְ𳨒𝴠㧁㸏㱠嫖㰾) JIRA throws the following error (Oops - an error has occurred): {noformat} ... Cause: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Action][id,10030][body,?????????????????][author,admin][level,null][updated,2010-05-04 15:04:55.046][created,2010-05-04 15:04:55.046][issue,10011][rolelevel,null][type,comment][updateauthor,admin] (SQL Exception while executing the following:INSERT INTO jiraaction (ID, issueid, AUTHOR, actiontype, actionlevel, rolelevel, actionbody, CREATED, UPDATEAUTHOR, UPDATED, actionnum) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xF0\x92\x9F\xA4\xE1\x81...' for column 'actionbody' at row 1)) ... com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Action][id,10031][body,?????????????????][author,admin][level,null][updated,2010-05-04 15:07:43.156][created,2010-05-04 15:07:43.156][issue,10011][rolelevel,null][type,comment][updateauthor,admin] (SQL Exception while executing the following:INSERT INTO jiraaction (ID, issueid, AUTHOR, actiontype, actionlevel, rolelevel, actionbody, CREATED, UPDATEAUTHOR, UPDATED, actionnum) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xF0\x92\x9F\xA4\xE1\x81...' for column 'actionbody' at row 1)) at com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:202) at com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:170) at com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:164) at com.atlassian.jira.bc.issue.comment.DefaultCommentService.create(DefaultCommentService.java:156) ... {noformat} It is *IMPORTANT* to note that this error may also crop up when the MySQL server and/or JIRA connection to it are mis-configured. In this case JIRA may also fail for characters in the Unicode BMP (see https://confluence.atlassian.com/display/JIRAKB/SQL+Exception+when+Entering%2C+Updating+or+Importing+an+Issue+in+JIRA+with+MySQL+Due+to+Encoding). In this case this issue does not apply and its just a configuration problem. This problem only happens in *MySQL* environment. MySQL has a [known limitation|http://jira.atlassian.com/browse/JRA-21224?focusedCommentId=217291&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-217291] in that it is unable to store 4 byte UTF-8 characters in MySQL before 5.5.3. I think we should: # Add a startup warning admins when JIRA connects to a MySQL database with these problems. # Update the documentation of MySQL database configuration to indicate this problem. # Sanatising the input so that this error does not occur when connected to MySQL before 5.5.3. This will probably be much harder than it sounds because JIRA can get input data from anywhere (e.g. CSV, E-Mail, HTTP, SOAP etc). We will probably have to choose our battles. # Update out documentation to indicate this is the database that gets around this problem. # Update the upgrade guide once we work out an upgrade path.

    Atlassian JIRA | 7 years ago | Joachim Ooi [Atlassian]
    com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Action][id,10031][body,?????????????????][author,admin][level,null][updated,2010-05-04 15:07:43.156][created,2010-05-04 15:07:43.156][issue,10011][rolelevel,null][type,comment][updateauthor,admin] (SQL Exception while executing the following:INSERT INTO jiraaction (ID, issueid, AUTHOR, actiontype, actionlevel, rolelevel, actionbody, CREATED, UPDATEAUTHOR, UPDATED, actionnum) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xF0\x92\x9F\xA4\xE1\x81...' for column 'actionbody' at row 1))

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.jira.exception.DataAccessException

      org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,13175][stringvalue,//jupiter.dpc.dieteren.be/ctg/CTG/Framework/02-FrameworkMyTeam—BIC/Developement framework/05-Results/Release_v00.2.260/Execution/2008-11-6_15h17_58/][issue,11103][parentkey,null][customfield,10165] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xC2\x97BIC/...' for column 'STRINGVALUE' at row 1))

      at com.dolby.atlassian.jira.service.util.handler.EMHCreateIssueHandler.handleMessage()
    2. com.dolby.atlassian
      CreateOrCommentHandler.handleMessage
      1. com.dolby.atlassian.jira.service.util.handler.EMHCreateIssueHandler.handleMessage(EMHCreateIssueHandler.java:137)
      2. com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:171)
      2 frames
    3. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190)
      2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67)
      3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
      3 frames
    4. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      2 frames