Getting error in word import on Confluence, using "Import word Document"
Asked by prateek86:

I am running on [Atlassian Confluence](http://www.atlassian.com/software/confluence) 6.3.4

My file contains three tables along with Macros on and tracking is activated for the file, each time I try to import my file, server puts error page with "Oops - an error has occurred" message and some log details which I am printing below:

### Cause {#toc-hId-1592405074}

org.hibernate.AssertionFailure: null id in com.atlassian.confluence.impl.journal.JournalEntry entry (don't flush the Session afterQuery an exception occurs)  
at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:60)

#### Stack Trace:\[hide\] {#toc-hId--1156265392}

```
org.hibernate.AssertionFailure: null id in com.atlassian.confluence.impl.journal.JournalEntry entry (don't flush the Session afterQuery an exception occurs)	at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:60)	at org.hibernate.event.internal.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:175)	at org.hibernate.event.internal.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:135)	at org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:216)	at org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:85)	at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:44)	at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1366)	at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1451)	at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1426)	at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1398)	at com.atlassian.confluence.mail.notification.persistence.dao.hibernate.HibernateNotificationDao.lambda$findNotificationByUserAndContent$0(HibernateNotificationDao.java:105)	at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:359)	at org.springframework.orm.hibernate5.HibernateTemplate.execute(HibernateTemplate.java:313)	at com.atlassian.confluence.mail.notification.persistence.dao.hibernate.HibernateNotificationDao.findNotificationByUserAndContent(HibernateNotificationDao.java:99)	at com.atlassian.confluence.mail.notification.persistence.dao.hibernate.HibernateNotificationDao.isWatchingContent(HibernateNotificationDao.java:237)	at com.atlassian.confluence.impl.mail.notification.persistence.CachingNotificationDao.lambda$isWatchingContent$0(CachingNotificationDao.java:39)	at com.atlassian.confluence.cache.ThreadLocalCacheAccessor.get(ThreadLocalCacheAccessor.java:58)	at com.atlassian.confluence.impl.mail.notification.persistence.CachingNotificationDao.isWatchingContent(CachingNotificationDao.java:38)	at com.atlassian.confluence.mail.notification.DefaultNotificationManager.isWatchingContent(DefaultNotificationManager.java:142)	at com.atlassian.confluence.mail.notification.DefaultNotificationManager.addContentNotification(DefaultNotificationManager.java:99)	at sun.reflect.GeneratedMethodAccessor2422.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)
```

Any update is appeciated.


Answers:
author: Gauresh Chavan
body: I am facing a similar error right now while uploading documents. Has anybody found a definite solution to this?


author: prateek86
body: It is a bug reported in the ticket [CONFSERVER-18509](https://jira.atlassian.com/browse/CONFSERVER-18509) that since Confluence is not yet supported the utf8mb4 collation,

The only workaround for now is to remove the emoticon from word file and then upload it.

Thanks.


author: Steven Rothberg
body: Anyone get anywhere with this?


author: prateek86
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) Please share workaround if you have any for this issue.Thanks.

comments: author: Nic Brough -Adaptavist-
body: Probably need to see the whole error, as this is just the top part of the message


author: prateek86
body: ![ss1.png](https://community.atlassian.com/t5/image/serverpage/image-id/14089i4EF6F451D30AF520/image-size/large?v=v2&px=999 "ss1.png")![ss2.png](https://community.atlassian.com/t5/image/serverpage/image-id/14086i34CF6C210A55A3C1/image-size/large?v=v2&px=999 "ss2.png")![ss3.png](https://community.atlassian.com/t5/image/serverpage/image-id/14088i48C5ED0DFDF0CE27/image-size/large?v=v2&px=999 "ss3.png")![ss4.png](https://community.atlassian.com/t5/image/serverpage/image-id/14087i8703C09AF0F95DA7/image-size/large?v=v2&px=999 "ss4.png")