Environment
Novell ZENworks Configuration Management 11.3 Policies
Situation
Editing an existing Group Policy in ZCC
An error is seen after the Upload button is clicked
The following could be seen in zcc.log:
ERROR:
Error: An error has occurred while saving the policy data.
java.lang.NullPointerException
at com.novell.zenworks.datamodel.session.hibernate.HibernateAbstractSession.getBasicInformation(HibernateAbstractSession.java:1202)
An error is seen after the Upload button is clicked
The following could be seen in zcc.log:
ERROR:
Error: An error has occurred while saving the policy data.
java.lang.NullPointerException
at com.novell.zenworks.datamodel.session.hibernate.HibernateAbstractSession.getBasicInformation(HibernateAbstractSession.java:1202)
Resolution
- Navigate to ZCC > Policies > [broken policy] > Settings
- Click the link for Primary Server Replication
- Make note of the custom content settings
- Click Revert to remove the custom settings
- Click OK
- Click the link for Satellite Server Replication
- Make note of the custom content settings
- Click Revert to remove the custom settings
- Click OK
- Reconfigure the custom content settings if necessary
Cause
A primary or satellite server had been removed from the zone, but
the server information was stuck in the content settings for the
policy.