The error "java.lang.NullPointerException" appear when I import XML into Jira 3.10.2

Group A use Jira 3.10.2 ,the language is Chinese Traditional,the database use PostgreSql 8.2

I export xml from Jira 3.10.2, named xz.xml

Then I build a Testing environment , I install Jira 3.10.2 ,the language is English ,the database use PostgreSql 8.2. I import xz.xml into Jira 3.10.2 of the Testing environment.

Before I import xml to jira 3.10.2 of the Testing environment,I don't create any project

AfterI import xml to jira 3.10.2 of the Testing environment, there is not any project to be created.

1. The error is :

System Error

A system error has occurred.

If this problem persists - please notify your JIRA administrator of this problem.

If you are an administrator, please try submitting this problem via the Support Request Page

Else, please create a support issue on our support system at with the following information:

a description of your problem

cut & paste the error and system information found below

attach the application server log file ( C:\WINDOWS\system32\atlassian-jira.log )



2. The page of "Restore Data from xml" also show :

Error importing data: org.apache.commons.lang.exception.NestableException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Issue][summary,EC??---------ECR Creator submit ECR????Leader?????????????"Function Leader review ECR"??,????"Function Leader review ECR"????????,??Reject?????????????????][status,5][votes,0][assignee,f3201228][resolution,3][type,1][id,10436][reporter,f2731697][project,10021][created,2007-12-15 14:43:28.671][updated,2007-12-15 15:56:04.656][workflowId,10436][priority,2][duedate,2007-12-15 00:00:00.0][key,WFCISG-237] (SQL Exception while executing the following:INSERT INTO public.jiraissue (ID, pkey, PROJECT, REPORTER, ASSIGNEE, issuetype, SUMMARY, DESCRIPTION, ENVIRONMENT, PRIORITY, RESOLUTION, issuestatus, CREATED, UPDATED, DUEDATE, VOTES, TIMEORIGINALESTIMATE, TIMEESTIMATE, TIMESPENT, WORKFLOW_ID, SECURITY, FIXFOR, COMPONENT) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: value too long for type character varying(255)))

(The ? in error 2 is Chinese character)

What's the problem cause this situation? How could I solve this problem?

1 answer

Hi Andrew,

In order to no have any problem with non-latin characters, make sure that your application is configured to use UTF-8 as in this page and your database is configured according this documentation.

I hope it helps.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,553 views 15 21
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