Jump to content
We've recently updated our Privacy Statement, available here ×

NullPointer Exception when importing backup of reports


tyzimmer
Go to solution Solved by rsuddhala,

Recommended Posts

Running the  import script:

sudo ./js-import.sh --input-zip ~/jasperreports-server-cp-5.1.0/jasperbackup.zip[/code]

when in the `/buildomatic` folder

gives me the following message:
> Using CE setup Using Bundled version of Java First resource> path:/home/myname/jasperreports-server-cp-5.1.0/buildomatic/conf_source/ieCe/applicationContext-cascade.xml> Started to load resources Resource name: applicationContext.xml> Resource name: applicationContext-cascade.xml Resource name:> applicationContext-data-snapshots.xml Resource name:> applicationContext-events-logging.xml Resource name:> applicationContext-export-config.xml Resource name:> applicationContext-export-import.xml Resource name:> applicationContext-logging.xml Resource name:> applicationContext-olap-connection.xml Resource name:> applicationContext-report-scheduling.xml Resource name:> applicationContext-search.xml Resource name:> applicationContext-security.xml Resource name:> applicationContext-themes.xml Resource name:> applicationContext-virtual-data-source.xml Creating ActionModelService> object. Creating action model infrastructure.> java.lang.NullPointerException > java.lang.NullPointerException at> java.util.zip.ZipFile.getInputStream(ZipFile.java:180) at> com.jaspersoft.jasperserver.export.io.ZipFileInput.getFileInputStream(ZipFileInput.java:74) at> com.jaspersoft.jasperserver.export.ImporterImpl.getIndexInput(ImporterImpl.java:205) at> com.jaspersoft.jasperserver.export.ImporterImpl.readIndexDocument(ImporterImpl.java:175) at> com.jaspersoft.jasperserver.export.ImporterImpl.process(ImporterImpl.java:118) at> com.jaspersoft.jasperserver.export.ImporterImpl.performImport(ImporterImpl.java:98) at> com.jaspersoft.jasperserver.export.ImportCommandImpl.process(ImportCommandImpl.java:58) at>com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:94) at> com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43)

Java is updated so I'm not sure what I'm doing wrong.
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...