zman backup of ZRS reports fails with "Error: 11"

  • 7007852
  • 09-Feb-2011
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3 Business Objects Reporting
Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3 Zman

Situation

Need to backup ZRS reports prior to upgrade to ZCM 11
 
zman rpsv fails
 
C:\Documents and Settings\Administrator>zman rpsv "F:/report"
Username:Administrator
Password:************
Saving the Reports in the F:/report/reports folder, rights in the Rights.xml
and BOEObjects Ownership data in the OwnerShip.xml
Error:An internal error occurred. Please see the zman log for full stack trace.
ERROR: 11
Extract from zman.log
[DEBUG] [9/22/10 4:57:53 PM] [] [CommandRunner] []
[java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:592)
 at com.novell.zenworks.zman.CommandRunner.execute(CommandRunner.java:92)
 at com.novell.zenworks.zman.ZMan.executeRunner(ZMan.java:321)
 at com.novell.zenworks.zman.ZMan.main(ZMan.java:505)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:592)
 at com.novell.zenworks.zman.ZManLoader.loadZMan(ZManLoader.java:59)
 at com.novell.zenworks.zman.ZManLoader.main(ZManLoader.java:143)
Caused by: java.lang.NullPointerException
 at
com.novell.zenworks.reports.migration.utils.RightsExportManager.exportRightsToXML(RightsExportManager.java:513)
 at
com.novell.zenworks.reports.migration.utils.SourceBOEActions.execute(SourceBOEActions.java:133)
 at
com.novell.zenworks.zman.commands.ReportMigrationHandler.saveReports(ReportMigrationHandler.java:164)
 ... 13 more
] [] []

Resolution

This is fixed in version 10.3.2 - see KB 7007237 "ZENworks Configuration Management 10.3.2 - update information and list of fixes" which can be found at https://www.novell.com/support

Workaround: if it is not possible to upgrade to 10.3.2 at this time, in the interim, Novell has made a Patch available for testing, in the form of a Field Test File (FTF): it can be obtained at https://download.novell.com/Download?buildid=mAfr3W-Cbpo~ as " ZCM 10.3.0/10.3.1 - ZRS report backup fix - see KB 7007852 ". This Patch should only be applied if the symptoms above are being experienced, and are causing problems.

This Patch has had limited testing, and should not be used in a production system without first being checked in a test environment. Some Patches have specific requirements for deployment, it is very important to follow any instructions in the readme at the download site. Please report any problems encountered when using this Patch, by using the feedback link on this TID.