System error when trying to access migration assistant
Asked by Timothy Medeiros:

When trying to access /admin/migration.action I get the following error (URLs to my confluence snipped for security):

Oops - an error has occurred {#toc-hId--549009931}
--------------------------------------------------

[](http://confluence.tigerdragonsupport.com:8090/)System Error {#toc-hId-1938502902}
------------------------------------------------------------------------------------

A system error has occurred --- our apologies!

For immediate troubleshooting, consult our **[knowledge base](https://confluence.atlassian.com/confkb)** for a solution.

If you would like to receive support from Atlassian's support team, ask your **[Confluence administrator](http://[snip]/contactadministrators.action)** to create a support issue on [Atlassian's support system](https://support.atlassian.com/) with the following information:

1. a description of your problem and what you were doing at the time it occurred
2. a copy of the error and system information found below
3. a copy of the application logs (if possible).

Your Confluence administrator can use the **[support request form](http://[snip]/admin/raisesupportrequest.action)** to create a support ticket which will include this information.

We will respond as promptly as possible.  
Thank you!

[**Return to site homepage...**](http://[snip]/)

### Cause {#toc-hId--1665902920}

Invocation of method 'getInitialState' in class com.atlassian.migration.agent.web.AppAction threw exception com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.ClassCastException: class java.time.LocalDateTime cannot be cast to class java.lang.String (java.time.LocalDateTime and java.lang.String are in module java.base of loader 'bootstrap') at /templates/app.vm\[line 21, column 44\]

java.lang.ClassCastException: class java.time.LocalDateTime cannot be cast to class java.lang.String (java.time.LocalDateTime and java.lang.String are in module java.base of loader 'bootstrap')

class java.time.LocalDateTime cannot be cast to class java.lang.String (java.time.LocalDateTime and java.lang.String are in module java.base of loader 'bootstrap')

### Referer URL {#toc-hId-821609913}

http://\[snip\]/admin/viewgeneralconfig.action


Answers:
author: AAMIR ANSARI
body: Hi [@Timothy Medeiros](/t5/user/viewprofilepage/user-id/504698)

Thank you for reaching out to Atlassian Community.

I understand you see errors when using the migration assistant plugin.

Looking at the error below, I can confirm that it is caused due to MySQL driver version.

```
java.lang.ClassCastException: class java.time.LocalDateTime cannot be cast to class java.lang.String (java.time.LocalDateTime and java.lang.String are in module java.base of loader 'bootstrap')
```

Please check the below bug which details this issue.

[MySQL 8 driver causes class java.time.LocalDateTime cannot be cast to class java.lang.String error](https://jira.atlassian.com/browse/MIG-603) {#toc-hId--549009872}
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

As of now, the only workaround is to downgrade to **MySQL 8.0.22 driver.**

I hope this helps!

Thanks,

Aamir

comments: author: Timothy Medeiros
body: Thank you, this did the trick!


Tags: confluence-server

server