scottward Posted January 23, 2007 Share Posted January 23, 2007 For some reason, I can export all reports using:./ji-import-export.sh --export --uri=/reports --export-path=/root/Desktop/jasperintelligence-1.1.0/scripts/ji-catalog --export-file=ji-cat.xml But, I can't export schedules using this command:./ji-import-export.sh --export --scheduled-jobs=/reports/DailySales --export-path=/root/Desktop/jasperintelligence-1.1.0/scripts/ji-catalog --export-file=ji-cat.xml I get the following output:ExportImportCommand: STARTscheduled jobs value=/reports/DailySalesExportImportCommand: - running PROD Env modeExportResource: top of process()----- Processing Values: mProcessAll=false mProcessUriOnly=false mProcessUserRoleOnly=false mProcessReportJobsOnly=true mProcessNothing=falseException in thread "main" java.lang.NullPointerException at com.jaspersoft.jasperserver.util.ExportResource.processReportJobs(ExportResource.java:481) at com.jaspersoft.jasperserver.util.ExportResource.process(ExportResource.java:319) at com.jaspersoft.jasperserver.util.ExportImportCommand.runExport(ExportImportCommand.java:170) at com.jaspersoft.jasperserver.util.ExportImportCommand.main(ExportImportCommand.java:102) Unfortunately, there's not much information to go on as far as figuring out what's wrong. All I know is that there's a "NullPointer Exception". Where to from here? Your help is appreciated. Sincerely, Scott Link to comment Share on other sites More sharing options...
tkavanagh Posted February 2, 2007 Share Posted February 2, 2007 Scott, I believe that job schedules were not completely handled in 1.1. However, the good news is that this all works cleanly in the new release of JasperServer 1.2. If you look at the new Install Guide that comes with 1.2 you will also find a procedure for upgrading from 1.1 to 1.2 (or this might be a separate txt doc - I'll double check). -Tony 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