# Bundle Profile Relation Service Synchronizer error

**URL:** <https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763>\
**Category:** IIQ Discussion and Questions\
**Tags:** rules, identityiq\
**Created:** [August 28, 2023, 8:33am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763 "2023-08-28T08:33:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [August 28, 2023, 8:33am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/1 "2023-08-28T08:33:13Z")

</div>

Dear Community

I have a question currently running my local sailpoint as soon i start the server is start looping this error

```auto
ERROR BundleProfileRelationServiceSynchronizer sailpoint.server.BundleProfileRelationSynchronizer:226 - Unable to process events: null
java.lang.NullPointerException: null

at sailpoint.service.bundle.BundleProfileRelationUtil.copyManagedAttributeFields(BundleProfileRelationUtil.java:265) ~[identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.service.bundle.BundleProfileRelationUtil.addDirectProfile(BundleProfileRelationUtil.java:218) ~[identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.service.bundle.BundleProfileRelationUtil.addDirectProfiles(BundleProfileRelationUtil.java:187) ~[identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.service.bundle.BundleProfileRelationUtil.populateRelations(BundleProfileRelationUtil.java:123) ~[identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.service.bundle.BundleProfileRelationUtil.getBundleRelations(BundleProfileRelationUtil.java:85) ~[identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.service.bundle.BundleProfileRelationUtil.createBundleRelations(BundleProfileRelationUtil.java:395) ~[identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.service.bundle.BundleProfileRelationProcessor.generateBundleProfileRelations(BundleProfileRelationProcessor.java:162) ~[identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.server.BundleProfileRelationSynchronizer.createRecords(BundleProfileRelationSynchronizer.java:428) ~[identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.server.BundleProfileRelationSynchronizer.processEvents(BundleProfileRelationSynchronizer.java:190) [identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]
	at sailpoint.server.BundleProfileRelationSynchronizer.run(BundleProfileRelationSynchronizer.java:74) [identityiq.jar:8.3 Build f4b330b4da3-20220427-175259]

```

over and over, how and where i need to check this? to stop it

---

<div class="post-metadata">

**Author:** ![dheerajk27](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/dheerajk27/32/3514_2.png) [@dheerajk27](https://developer.sailpoint.com/discuss/u/dheerajk27)\
**Post date:** [August 28, 2023, 8:41am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/2 "2023-08-28T08:41:22Z")

</div>

Hi @fugitiva ,

After you start sailpoint service, sailpoint is starting? if so it there any task of link you click to reproduce this error.

The error suggest that somewhere its hitting Null Pointer exception, are you using any rule to bundle or ManagedAttribute?

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [August 28, 2023, 9:30am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/3 "2023-08-28T09:30:37Z")

</div>

Yes, sailpoint start, then when i check the logs the error is looping and looping… the UI sailpoint works fines. Im not using any rule to manage the attribute, only one rule to set default password, let me remove it, perhaps is that

---

<div class="post-metadata">

**Author:** ![dheerajk27](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/dheerajk27/32/3514_2.png) [@dheerajk27](https://developer.sailpoint.com/discuss/u/dheerajk27)\
**Post date:** [August 28, 2023, 9:32am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/4 "2023-08-28T09:32:23Z")

</div>

Sure, let me know if you find something.

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [August 28, 2023, 9:40am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/5 "2023-08-28T09:40:24Z")

</div>

no, still the error looping, where exactly i need to check about “any rule to bundle or ManagedAttribute?” as far i check i have nothing in identity mapping, or in correlation rule idenitty or manager

---

<div class="post-metadata">

**Author:** ![Jarin\_James](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/jarin_james/32/3372_2.png) [@Jarin\_James](https://developer.sailpoint.com/discuss/u/Jarin_James)\
**Post date:** [August 28, 2023, 4:54pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/6 "2023-08-28T16:54:05Z")

</div>

Hi @fugitiva

It appears that there are some bundles with constraints pointing to attributes that are no longer present in the application. Updating those bundles will fix the issue.

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [August 29, 2023, 7:41am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/7 "2023-08-29T07:41:44Z")

</div>

What logs i can enable to see the where exactly the error come from?

---

<div class="post-metadata">

**Author:** ![Remold](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/remold/32/3275_2.png) [@Remold](https://developer.sailpoint.com/discuss/u/Remold)\
**Post date:** [August 29, 2023, 9:51am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/8 "2023-08-29T09:51:49Z")

</div>

This is a well known issue. Most likely there is a role/bundle with a profile which is not a valid entitlement.

Take a look at:  
[https://community.sailpoint.com/t5/IdentityIQ-Forum/Upgrade-Error-when-upgraded-from-8-2P2-to-8-3/td-p/216087](https://community.sailpoint.com/t5/IdentityIQ-Forum/Upgrade-Error-when-upgraded-from-8-2P2-to-8-3/td-p/216087)

This contains, amongst others, a rule/script that iterates all the bundles and finds the one with non-existing attributes/entitlements.

– Remold

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [September 4, 2023, 9:27am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/9 "2023-09-04T09:27:09Z")

</div>

I already has version 8.3. What logs I can enable to see where exactly attribute I need to check

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [September 4, 2023, 9:36am UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/10 "2023-09-04T09:36:46Z")

</div>

I solve it, it was an application csv, The file path was not correct, or I rename the location of the csv, then the error was hapenning, I update the location of the csv, the problem is solve

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [October 13, 2023, 12:15pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/11 "2023-10-13T12:15:47Z")

</div>

@Remold thank you for your answer, i want to reopen this, becuase IM getting again this error,  
so far what I did is:  
Enable the logs:  
logger.bundleSyncer.name=sailpoint.server.BundleProfileRelationSynchronizer  
logger.bundleSyncer.level=debug  
logger.bundleProcessor.name=sailpoint.task.BundleProfileRelationProcessor  
logger.bundleProcessor.level=debug  
logger.relationUtil.name=sailpoint.service.bundle.BundleProfileRelationUtil  
logger.relationUtil.level=debug  
logger.roleEntAssociation.name=sailpoint.task.RoleEntitlementAssociationsExecutor  
logger.roleEntAssociation.level=debug

then run the task:  
Refresh Role-Entitlement Associations

then i get the fail one

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/0/0316529ce20e8eb048a276ba65efea1b98118592.png)

my question how to do solve this?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Remold](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/remold/32/3275_2.png) [@Remold](https://developer.sailpoint.com/discuss/u/Remold)\
**Post date:** [October 13, 2023, 12:18pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/12 "2023-10-13T12:18:08Z")

</div>

Hi Sara,

As mentioned in my previous reply:

> [@Remold](#):
>
> Take a look at:  
> [https://community.sailpoint.com/t5/IdentityIQ-Forum/Upgrade-Error-when-upgraded-from-8-2P2-to-8-3/td-p/216087](https://community.sailpoint.com/t5/IdentityIQ-Forum/Upgrade-Error-when-upgraded-from-8-2P2-to-8-3/td-p/216087)
> 
> This contains, amongst others, a rule/script that iterates all the bundles and finds the one with non-existing attributes/entitlements.

Let us know if this resolves your issue.

– Remold

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [October 13, 2023, 12:41pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/13 "2023-10-13T12:41:57Z")

</div>

HI @Remold I Read the article there is no solution there,maybe I’m missing where you want to point?

---

<div class="post-metadata">

**Author:** ![Remold](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/remold/32/3275_2.png) [@Remold](https://developer.sailpoint.com/discuss/u/Remold)\
**Post date:** [October 13, 2023, 1:02pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/14 "2023-10-13T13:02:51Z")

</div>

The article contains a script in the last reply.

```auto
QueryOptions qo = new QueryOptions();
Iterator it = context.search(Bundle.class, qo);

while(it.hasNext()) {
  Bundle bundle = it.next();
  
  List profiles = bundle.getProfiles();
  
  for (Profile profile : Util.safeIterable(profiles)) {
    List constraints = profile.getConstraints();
    
    for(Filter cons : Util.safeIterable(constraints)) {
      Application app = profile.getApplication();
      if(app != null) {
        Schema accountSchema = app.getAccountSchema();
        
        if(accountSchema != null) {
          if(cons instanceof Filter.LeafFilter) {
            String property = cons.getProperty(); 
            
            Object map = accountSchema.getAttributeMap();
            
            if(map != null &amp;&amp; !map.containsKey(property)) {
              returnValue += String.format("%s\n", bundle.getName());
            }
          }
        }
      }
    }
  }
}

return returnValue;

```

You can create a new rule for this via debug and directly run it via debug.

To easily run this rule you can use the Rule Runner Plugin created by Identity Works LLC.  
Download via:

> **[Package Registry · pub / sailpoint-plugins / Rule Runner Public · GitLab](https://git.identityworksllc.com/pub/sailpoint-plugins/rule-runner-public/-/packages/155)**
>
> Identity Works LLC Gitlab Repository

Developer Day presentation on the Rule Run[ner by Zac:  
Identity Works LLC](https://developer.sailpoint.com/discuss/t/idw-rule-runner-plugin-rapid-development-and-troubleshooting-in-the-browser/8163)

– Remold

---

<div class="post-metadata">

**Author:** ![zac\_adams\_idw](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/zac_adams_idw/32/2839_2.png) [@zac\_adams\_idw](https://developer.sailpoint.com/discuss/u/zac_adams_idw)\
**Post date:** [October 13, 2023, 1:15pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/15 "2023-10-13T13:15:54Z")

</div>

Thanks for the ping on this Remold!

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [October 13, 2023, 1:22pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/16 "2023-10-13T13:22:58Z")

</div>

HI @Remold I Read the article there is no solution there

---

<div class="post-metadata">

**Author:** ![Remold](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/remold/32/3275_2.png) [@Remold](https://developer.sailpoint.com/discuss/u/Remold)\
**Post date:** [October 13, 2023, 1:36pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/17 "2023-10-13T13:36:00Z")

</div>

Hi Sara,

Can you run the script (see above) ?

This script should not return any data. If it returns the mentioned bundle/role contains an entitlement which does not exist in the entitlement-catalogue.

– Remold

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [October 13, 2023, 2:17pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/18 "2023-10-13T14:17:23Z")

</div>

Hi @Remold thank you for your help

The ouput is the below:

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/2/22f0f49c5131b062c7911b8048ab34090b289144.png)  
asia\_pacific read entitlement  
 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/b/b66a764efc9cdd325fc54c1cc338501801b8cf08.png)  
europe\_read  
 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/5/54c304cdf70e74045553c301ab0f9dbdfff75467.png)

So those two entitlement exist

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/c/ca5201ee221074c7cb7505d80a14db01c2e566cd.png)

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/7/722ae08775615e67833d73283358190c94da5cac.png)

thanks in advance

---

<div class="post-metadata">

**Author:** ![Remold](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/remold/32/3275_2.png) [@Remold](https://developer.sailpoint.com/discuss/u/Remold)\
**Post date:** [October 13, 2023, 2:28pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/19 "2023-10-13T14:28:53Z")

</div>

The property type is different:

In the entitlement it is: groups **C** hat  
(capital C)

In the role (direct entitlement) it is: group **c** hat  
(lowercase c)

Sailpoint is almost 100% case-sensitive.

So if you change the role (direct entitlement) for both roles to uppercase C, the error should be gone 🙂

– Remold

---

<div class="post-metadata">

**Author:** ![fugitiva](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/fugitiva/32/3045_2.png) [@fugitiva](https://developer.sailpoint.com/discuss/u/fugitiva)\
**Post date:** [October 13, 2023, 3:09pm UTC](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763/20 "2023-10-13T15:09:03Z")

</div>

@Remold good catch, thank you for providing a answer for this. Finally solve

[Next page](https://developer.sailpoint.com/discuss/t/bundle-profile-relation-service-synchronizer-error/16763.md?page=2)
