Support Center > Search Results > SecureKnowledge Details
Cannot delete Gateway and references to a deleted access policy Technical Level
Symptoms
  • Users cannot delete an object from SmartConsole
  • Error message appears in $MDS_FWDIR/log/cpm.elg:
    java.lang.NullPointerException
    	at com.checkpoint.management.dleserver.coresvc.internal.ClassicLinkLogicAdapterSvcImpl.removeLink(ClassicLinkLogicAdapterSvcImpl.java:61)
Cause

The code attempts to unlink the object from all its candidates and objects linked to it.
In this scenario shown in the $MDS_FWDIR/log/cmp.elg logs, one of its candidates has related_objects null in the database.  It attempts to return this NULL value and perform the Remove function. This subsequently causes the NullPointerException, which prevents the deletion.


Solution
Note: To view this solution you need to Sign In .