# SmartConsole's "Where Used" and search options fail in the Read-only mode

## Product
SmartConsole

## Version
R81 (EOS), R81.10 (EOS), R81.20

## OS
Gaia

## Last Modified
2023-11-23

## Symptoms

- In the Read-only mode in SmartConsole, the "Where used failed" error appears when you right-click an object in the security policy and select "Where Used" from the drop-down menu or using the "where-used" Management API command.

The issue occurs starting in these Jumbo Hotfix Takes:

- R81 JHF Take 87
  - R81.10 JHF Take 110
  - R81.20 JHF Take 26

- When you search for an object, the search fails with this error:

"An error occurred while searching."

- The _cpm.elg_ file contains these lines:

```
13/09/23 15:29:47,671 ERROR infrastructure.logging.DefaultExceptionLoggerHandlerImpl [qtp-952388053-18508]: incident [59e62b89-055a-4010-a235-c20fce2d7d81]:
java.lang.NullPointerException
          at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:947)
          at com.checkpoint.management.access.dle.beans.LayersManager.getCachedData(LayersManager.java:710)
          at com.checkpoint.management.access.dle.beans.LayersManager.extendSearchMatchInfo(LayersManager.java:596)
          at com.checkpoint.management.dleserver.coresvc.internal.LinksManagerSvcImpl.getExtendedSearchMatchInfo(LinksManagerSvcImpl.jav
a:316)
          at com.checkpoint.management.dleserver.coresvc.internal.LinksManagerSvcImpl.buildResultListFromUsageMap(LinksManagerSvcImpl.ja
va:1283)
          at com.checkpoint.management.dleserver.coresvc.internal.LinksManagerSvcImpl.whereUsedInternal_aroundBody74(LinksManagerSvcImpl.java:1359)
          at com.checkpoint.management.dleserver.coresvc.internal.LinksManagerSvcImpl$AjcClosure75.run(LinksManagerSvcImpl.java:1)
          at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
          at com.checkpoint.management.dleserver.coresvc.internal.TransactionRetrySvcImpl.proceed(TransactionRetrySvcImpl.java:143)
          at com.checkpoint.management.dle.aspects.TransactionRetryAspect.aroundOperation(TransactionRetryAspect.java:21)
          at com.checkpoint.management.dleserver.coresvc.internal.LinksManagerSvcImpl.whereUsedInternal(LinksManagerSvcImpl.java:477)
          at com.checkpoint.management.dleserver.coresvc.internal.LinksManagerSvcImpl.whereUsed(LinksManagerSvcImpl.java:51)
          at com.checkpoint.management.access.dle.beans.CompositeObjectsSearchProvider.extendSearchMatchInfo(CompositeObjectsSearchProvi
der.java:2)
          at com.checkpoint.management.dleserver.coresvc.internal.LinksManagerSvcImpl.getExtendedSearchMatchInfo(LinksManagerSvcImp
```

## Solution

This problem was fixed. The fix is included in:

- [Jumbo Hotfix Accumulator for R81.20](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.20/Default.htm) starting from Take 38
- [Jumbo Hotfix Accumulator for R81.10](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/Default.htm) starting from Take 128
- [Jumbo Hotfix Accumulator for R81](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81/Default.htm) starting from Take 89

If you choose not to upgrade, 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.

**Hotfix installation instructions:**

Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

#### NOTE
This solution has been verified for the specific scenario, described by the combination of Product, Version and Symptoms. It may not work in other scenarios.

## Article Properties
Access Level: General

Status: Approved by TAC

Date Created: 2023-09-13

Last Modified: 2023-11-23

Was this page helpful? Yes No
