Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error while importing project

Encounter an issue with error output:

com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: not null property references a null or transient value: com.atlassian.crowd.model.user.InternalUserAttribute.user

2 answers

0 votes
AhmadDanial Atlassian Team Jul 25, 2018

Hi, Jackchan.

Since the error that you shared is related to Confluence, I went ahead and added a Confluence tag to this question for clarity. I hope you are fine with that.

Meanwhile, the error shown during the import indicates that the property user is missing from the class InternalUserAttribute within the package com.atlassian.crowd.model.user. 

In the XML backup, I noticed that there are a few XML backup that does not contain the user property. An example of a broken class:

<object class="InternalUserAttribute" package="com.atlassian.crowd.model.user">
<id name="id">10977281</id>
<property name="directory" class="DirectoryImpl" package="com.atlassian.crowd.model.directory"><id name="id">294914</id>
</property>
<property name="name"><![CDATA[invalidPasswordAttempts]]></property>
<property name="value"><![CDATA[14]]></property>
<property name="lowerValue"><![CDATA[14]]></property>
</object>

On the other hand, an example with the user property will look like this:

<object class="InternalUserAttribute" package="com.atlassian.crowd.model.user">
<id name="id">9011201</id>
<property name="user" class="InternalUser" package="com.atlassian.crowd.model.user"><id name="id">426023</id>
</property>
<property name="directory" class="DirectoryImpl" package="com.atlassian.crowd.model.directory"><id name="id">294914</id>
</property>
<property name="name"><![CDATA[invalidPasswordAttempts]]></property>
<property name="value"><![CDATA[4]]></property>
<property name="lowerValue"><![CDATA[4]]></property>
</object>

Notice the absence of user in the first example.

Moving forward, can you go through the entities.xml file to locate the missing attribute and remove the whole object class for each bad entry and try to import again?

<object class="InternalUserAttribute" package="com.atlassian.crowd.model.user"> 
...
...
...
until
</object>

Let me know it goes on your end. Thanks.

Is this te ONLY resolution there is?

0 votes
AhmadDanial Atlassian Team Jul 25, 2018

Hi, Jackchan.

Since the error that you shared is related to Confluence, I went ahead and added a Confluence tag to this question for clarity. I hope you are fine with that.

Meanwhile, the error shown during the import indicates that the property user is missing from the class InternalUserAttribute within the package com.atlassian.crowd.model.user. 

In the XML backup, I noticed that there are a few XML backup that does not contain the user property. An example of a broken class:

<object class="InternalUserAttribute" package="com.atlassian.crowd.model.user">
<id name="id">10977281</id>
<property name="directory" class="DirectoryImpl" package="com.atlassian.crowd.model.directory"><id name="id">294914</id>
</property>
<property name="name"><![CDATA[invalidPasswordAttempts]]></property>
<property name="value"><![CDATA[14]]></property>
<property name="lowerValue"><![CDATA[14]]></property>
</object>

On the other hand, an example with the user property will look like this:

<object class="InternalUserAttribute" package="com.atlassian.crowd.model.user">
<id name="id">9011201</id>
<property name="user" class="InternalUser" package="com.atlassian.crowd.model.user"><id name="id">426023</id>
</property>
<property name="directory" class="DirectoryImpl" package="com.atlassian.crowd.model.directory"><id name="id">294914</id>
</property>
<property name="name"><![CDATA[invalidPasswordAttempts]]></property>
<property name="value"><![CDATA[4]]></property>
<property name="lowerValue"><![CDATA[4]]></property>
</object>

Notice the absence of user in the first example.

Moving forward, can you go through the entities.xml file to locate the missing attribute and remove the whole object class for each bad entry and try to import again?

<object class="InternalUserAttribute" package="com.atlassian.crowd.model.user">... 
...
...
...
</object>

Let me know it goes on your end. Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

233 views 12 14
View question

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you