Problems Importing and Exporting Data from the Repository

Exporting a Repository That Contains UTF-8

You may see the following errors when you have international characters in repository objects, for example, in user IDs.

Error During Export

An Upgrade usually requires exporting your database. If you're using MySQL and getting this null pointer exception, it may be caused by an incorrect character in the js.jdbc.properties file:

java.lang.NullPointerException

ResourceExporter.exportResource(ResourceExporter.java:258)

Check the URL in this file in <js-install>buildomatic/build_conf/default/; it should look like this:

jdbc:mysql://localhost:3306/jasperserver?useUnicode=true&characterEncoding=UTF-8

Note the ampersand &. It's incorrect if it appears as &amp;. The &amp; is correct only in an HTML or XML context. It's incorrect in a properties file.