Jump to content
Changes to the Jaspersoft community edition download ×

scottward

Recommended Posts

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: START
scheduled jobs value=/reports/DailySales
ExportImportCommand: - running PROD Env mode
ExportResource: top of process()
----- Processing Values:
mProcessAll=false
mProcessUriOnly=false
mProcessUserRoleOnly=false
mProcessReportJobsOnly=true
mProcessNothing=false
Exception 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

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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...