> Source: [sk150793](https://support.checkpoint.com/results/sk/sk150793)

# sk150793 - Upgrade of Security Management server fails 

| Property | Value |
|----------|-------|
| Solution ID | sk150793 |
| Date Created | 2019-04-07 |
| Last Modified | 2021-12-08 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * In some scenarios, Management Server upgrade may fail.

* The cpm_for_cpdb.elg file shows following error:

  ```
  
  DATE TIME,PID INFO threat.schema_changes.MultipleThreatEmulationSchemaChanges 
  [main]: isChangeListElementOnGatewayRelevant relevant SPECIFIC_GW 
  07/01/19 18:37:14,780  INFO threat.schema_changes.MultipleThreatEmulationSchemaChanges [main]: handelForGatewayTeSettings: with id: f69600b4-2302-4850-8b85-87863cf00dab
    name:TESettings_4402D83D-10CC-4B74-AACB-0DB6755884F9
   emulationLocation:SPECIFIC_GW
   emulationGw:null
  
  DATE TIME,PID ERROR coresvc.internal.ObjectCrudSvcImpl [main]: new collection contains null as value, fieldPath: emulationGwList
  
  com.checkpoint.management.cpm.commands.SchemaChangesCommand.run(SchemaChangesCommand.java:120)
  com.checkpoint.management.cpm.Cpm.main(Cpm.java:184)
  DATE TIME,PID ERROR cpm.commands.SchemaChangesCommand [main]: Exception thrown during running schema changes command
  java.lang.RuntimeException: com.checkpoint.management.dleserver.DleServerException: Found a collection with null as value.
  at com.checkpoint.management.threat.schema_changes.MultipleThreatEmulationSchemaChanges.updateObjects(MultipleThreatEmulationSchemaChanges.java:55)
  at com.checkpoint.management.threat.schema_changes.MultipleThreatEmulationSchemaChanges.handelForGatewayTeSettings_aroundBody0(MultipleThreatEmulationSchemaChanges.java:15)
  ```

* The gateway does not exist in the Database. The gateway ID is in the TE settings name, after the string "TESettings_" - TESettings_4402D83D-10CC-4B74-AACB-0DB6755884F9

## Cause

Schema change failed due to invalid Threat Emulation settings related to non-existing gateways.

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk153152) from Take 71
* [Jumbo Hotfix Accumulator for R80.20](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk137592) from Take 80
* [Check Point R80.20](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk122485) fom Take 117

For **other [supported](http://www.checkpoint.com/support-services/support-life-cycle-policy/index.html) versions** , Check Point can supply a **Hotfix** . [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
