Importing TRAC to JIRA Cloud > Unexpected exception: JDBC driver class not found: com.mysql.jdbc.Driver

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When attempting to import a TRAC installation into JIRA Cloud, you encounter the following error message during the import:

Unexpected exception: JDBC driver class not found: com.mysql.jdbc.Driver
An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getValueCountForField' in class com.atlassian.jira.plugins.importer.imports.config.ValueMappingHelperImpl threw exception java.lang.NullPointerException at com.atlassian.jira.plugins.jira-importers-plugin:actions//templates/admin/views/common/importerFieldMappingsPage.vm[line 25, column 60] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at 

<...more stacktrace...>

Cause

At this time, only Trac with SQLite databases are supported for importing into JIRA Cloud as per the Importing Issues documentation.

Resolution

Migrate from MySQL to SQLite

(info) You may need to explore alternatives, famous converters are as below:

http://www.sqlite.org/cvstrac/wiki?p=ConverterTools

(warning) The link above relates to another 3rd party platforms. Consequently, Atlassian cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.