Import fails with NumberFormatException


we try to export through the Webinterface from one server and import it on another server but always hit this error message:

Der Import ist fehlgeschlagen. Grund: For input string: "nu"  ---------> The Import has failed. Cause: For input string: "nu"


I then tried the js-input.bat with the following results:

Role ROLE_PCT already exists, skipping.
Role ROLE_PROJEKTMANAGER already exists, skipping.
Role ROLE_ZB_QSHE already exists, skipping.
Role ROLE_ARNSBERG_REKLA already exists, skipping.

Updated user anonymousUser
Updated user joeuser
Updated user****
Updated user michael.gros*****

java.lang.NumberFormatException: For input string: "nu"
java.lang.NumberFormatException: For input string: "nu"
        at java.lang.NumberFormatException.forInputString(
        at java.lang.Integer.parseInt(
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.Cipherer.dehexify(
        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.Cipherer.decode(
        at com.jaspersoft.jasperserver.export.modules.auth.beans.UserBean.copyTo(
        at com.jaspersoft.jasperserver.export.modules.auth.AuthorityImporter.createUser(
        at com.jaspersoft.jasperserver.export.modules.auth.AuthorityImporter.processUser(
        at com.jaspersoft.jasperserver.export.modules.auth.AuthorityImporter.importUsers(
        at com.jaspersoft.jasperserver.export.modules.auth.AuthorityImporter.process(
        at com.jaspersoft.jasperserver.export.ImporterImpl.process(
        at com.jaspersoft.jasperserver.export.ImporterImpl.performImport(
        at com.jaspersoft.jasperserver.export.ImportCommandImpl.process(
        at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(
        at com.jaspersoft.jasperserver.export.ImportCommand.main(

I already looked at the decompressed zip file but can't find the reason on this, i even removed the 2 latest users from the export but the issue still occurs.

Both Servers are:

Version: 5.5.0

Build: 20131024_0957


michael.wolf's picture
Joined: Aug 22 2013 - 3:37am
Last seen: 8 years 9 months ago

3 Answers:


michael.wolf's picture
Joined: Aug 22 2013 - 3:37am
Last seen: 8 years 9 months ago

I have faced a simuliar problem. In order to workaround i have opened the export zip file and removed all users references from file index.xml, and removed the users folder

Using the new export (without exported users i am hable to perform the import.

Jasper Reports Server : 5.5.0  Build: 20131024_0554
Java: Oracle Jave SE 7 Update 55
Application Server: Oracle WebLogic Server 10.3.6

Bruno Antunes

bruno.fs.antunes's picture
Joined: Feb 24 2014 - 1:44am
Last seen: 4 years 2 days ago

Reference to this page:

It really helps!



starrlingo's picture
Joined: Aug 23 2013 - 1:06am
Last seen: 5 years 6 days ago