sebastian_2 Posted February 1, 2013 Share Posted February 1, 2013 I have been trying to use the js-import.sh tool to import a server backup that I created from another provisioned jasper server; however, when I try to use this js-import to load this backup in my new server I get the following error: 2013-02-01 11:46:04,945 ERROR BaseExportImportCommand:45 - java.lang.NullPointerExceptionjava.lang.NullPointerException at java.util.zip.ZipFile.getInputStream(ZipFile.java:180) at com.jaspersoft.jasperserver.export.io.ZipFileInput.getFileInputStream(ZipFileInput.java:70) at com.jaspersoft.jasperserver.export.ImporterImpl.getIndexInput(ImporterImpl.java:186) at com.jaspersoft.jasperserver.export.ImporterImpl.readIndexDocument(ImporterImpl.java:156) at com.jaspersoft.jasperserver.export.ImporterImpl.process(ImporterImpl.java:115) at com.jaspersoft.jasperserver.export.ImporterImpl.performImport(ImporterImpl.java:95) at com.jaspersoft.jasperserver.export.ImportCommandImpl.process(ImportCommandImpl.java:57) at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:93) at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43) Is there something wrong with my configuration of the jasper server? Or what should I do to fix this? Thank you Link to comment Share on other sites More sharing options...
kcollins Posted February 2, 2013 Share Posted February 2, 2013 Have you made sure the import/export utilities are properly configured? There is a section in the installation guide (should be the last chapter, you didn't post what version you were running) that explains how the utilities are configured. In short, you need to be sure you have a default_master.properties file in the buildomatic folder, and you need to be sure you have a database driver in /buildomatic/conf_source/iePro/lib. -Kris Link to comment Share on other sites More sharing options...
Solution tyzimmer Posted August 22, 2013 Solution Share Posted August 22, 2013 It turned out that the .zip was corrupted. Thanks for the response! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now