# java.lang.NullPointerException

**URL:** <https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security\
**Created:** [October 28, 2024, 4:16pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199 "2024-10-28T16:16:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![WM2021](https://avatars.discourse-cdn.com/v4/letter/w/96bed5/32.png) [@WM2021](https://developer.sailpoint.com/discuss/u/WM2021)\
**Post date:** [October 28, 2024, 4:16pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/1 "2024-10-28T16:16:53Z")

</div>

Navigating to the Identities list, then selecting the “Identities with Errors” tab, we have a list of employees that have this error. Is there a way to resolve (or figure out what is causing this) for our identities with errors?

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [October 28, 2024, 4:27pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/2 "2024-10-28T16:27:20Z")

</div>

Hi @WM2021

Welcome to SailPoint Developer Community.

You will see an error icon next to Identity name, click on it. It will display the error in which Identity attribute the problem/error is from for that identity.

**Possiblities**

- If Identity doesn’t have lastname or email, because these are mandatory attributes.
- If the Transform threw an error

– Krish

---

<div class="post-metadata">

**Author:** ![shekhardas1825](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shekhardas1825/32/20889_2.png) [@shekhardas1825](https://developer.sailpoint.com/discuss/u/shekhardas1825)\
**Post date:** [October 28, 2024, 4:35pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/3 "2024-10-28T16:35:13Z")

</div>

Hi @WM2021,

Along with what Krish mentioned, validate if any transform is failing to evaluate it’s value.

To validate that you can navigate to Identity Profile → mapping and click on preview.

Select that user and see which attributes are throwing an error.

You will find a i button where yo can see the more information about error.

Check if required attributes are passed, check values are coming as expected from authoritative source and make sure to handle null checks to avoid errors in transforms.

Hope this will help!

---

<div class="post-metadata">

**Author:** ![gourab](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/gourab/32/18650_2.png) [@gourab](https://developer.sailpoint.com/discuss/u/gourab)\
**Post date:** [October 28, 2024, 4:45pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/4 "2024-10-28T16:45:57Z")

</div>

Hi @WM2021 ,  
Adding with @shekhardas1825 ,This kind of issue can be seen incase of errors in transforms. If you are using nested transforms and some value is coming as null then ISC shows this kind of error. To handle this situation add “FirstValid” logic in your transform.  
Apart from this make sure if you are using any identity attribute rule

---

<div class="post-metadata">

**Author:** ![WM2021](https://avatars.discourse-cdn.com/v4/letter/w/96bed5/32.png) [@WM2021](https://developer.sailpoint.com/discuss/u/WM2021)\
**Post date:** [October 28, 2024, 5:01pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/5 "2024-10-28T17:01:12Z")

</div>

First of all, thank you all for quick responses. How would I determine the transform that is causing the issue. All we get is a trackingId, with a long string of numbers. I’m not sure how to translate this to determine what item(s) is causing the error, transform or not.

---

<div class="post-metadata">

**Author:** ![gourab](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/gourab/32/18650_2.png) [@gourab](https://developer.sailpoint.com/discuss/u/gourab)\
**Post date:** [October 28, 2024, 5:03pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/6 "2024-10-28T17:03:45Z")

</div>

Hi @WM2021 ,  
Go to identity profiles, open the mappings of the id profile associated with identities. There you will see preview option, on preview select an identity (who has errors) , check all the values , mostly the error will be shown with associated identity attribute. from there you can identify the transform

---

<div class="post-metadata">

**Author:** ![WM2021](https://avatars.discourse-cdn.com/v4/letter/w/96bed5/32.png) [@WM2021](https://developer.sailpoint.com/discuss/u/WM2021)\
**Post date:** [October 28, 2024, 5:22pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/7 "2024-10-28T17:22:18Z")

</div>

I have gone the Identity Profile, then the source, then mappings, did “Preview” and selected a person that was on our list of identities with errors. Then went down the whole list of attributes to see if there was an error, but I don’t see any of the attributes with an error. Is there something else I’m missing?

---

<div class="post-metadata">

**Author:** ![shekhardas1825](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shekhardas1825/32/20889_2.png) [@shekhardas1825](https://developer.sailpoint.com/discuss/u/shekhardas1825)\
**Post date:** [October 28, 2024, 5:27pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/8 "2024-10-28T17:27:59Z")

</div>

@WM2021 try process identity. This will evaluate the identity details again.

Navigate to identity list search for the identity and you will find options from there you can do that.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [December 27, 2024, 5:28pm UTC](https://developer.sailpoint.com/discuss/t/java-lang-nullpointerexception/87199/9 "2024-12-27T17:28:32Z")

</div>

Closed on December 27, 2024, 5:28pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
