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

# sk183370 - A "Null Pointer exception: null" error when provisioning Security Gateways with CME

| Property | Value |
|----------|-------|
| Solution ID | sk183370 |
| Date Created | 2025-04-17 |
| Last Modified | 2025-04-26 |
| Technical Level | Advanced |
| Products | Security Management Server, Cloud Firewall |
| Versions | R82, R81.20, R81.20, R82 |
| OS | Gaia |
| Platform | Open Server |

## Symptoms

- * When provisioning Security Gateways with Cloud Management Extension (CME), the following error appears in `api.elg`:   
  `{`  
  `
  "code" : "generic_error",`  
  `
  "message" : "Null Pointer exception: null"`  
  `
  }`  
  The error occurs after the CME API tries to execute a "`show-package`" command on a policy.
* When executing the command below and referencing the policy mentioned in `api.elg`, the same error is displayed:  
  `[Expert@abc-01:0]# mgmt_cli -r true show-package name `   

  code: "generic_error"  
  message: "Null Pointer exception: null"

## Cause

The error occurs because of null pointer exceptions in the database that prevent the system from properly reading the policy package, resulting in policy readiness failures.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# 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
