Upgrade issues from 3.5 to 4.2.2

I recently ugraded confluence from 3.5 to 4.2.2 and now I cannot edit or copy pages of spaces which were originally done in 3.5.

When I try to copy, following error is thrown:

java.lang.UnsupportedOperationException: The body of this ContentEntityObject ('Service Management') was 'BodyType:WIKI' but was expected to be 'BodyType:XHTML'
at com.atlassian.confluence.core.ContentEntityObject.getBodyContent(ContentEntityObject.java:201)

When I try to edit, only the page title shows. Content is not visible for edit.

This doesn't apply to pages created in 4.2.2 itself.

Any idea what could have happened in the upgrade to cause the issue please?

2 answers

1 accepted

3 votes
Accepted answer


It sounds ike the migration from wiki to xhtml didn't complete properly. Have a look at Re-running Migration at https://confluence.atlassian.com/display/DOC/Migration+from+Wiki+Markup+to+XHTML-Based+Storage+Format for details on how to manually run the migration process again.

Hope that's of some help?


Thanks Andrew. It works :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

102 views 0 7
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