java.lang.nullpointerexception servicenow portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 05:38 AM
Hi Team,
I am getting the error which is mentioned in the screenshot. I tried to create a catalog item request via service portal and by clicking add to cart and then i am proceeding to checkout at that point of time i am getting the error as per the mentioned screenshot.
Can anyone please help me why i am getting the error for this catalog item only. Remaining other catalog item i am not facing the issue.
Kindly help me on the same.
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 05:48 AM
Hi Arun,
There might be two possibilities :
First is :
Catalog item is unavailable or active is false
Second possibility :
due to a mapped variable(s) where the "Field" does not have any value selected.
To solve that :
- Go to item_option_new.list from the navigator filter
- Do a filter search with the following parameters:
- Catalog item is <name of catalog item having issue>
- Map to field is true
- Look for any records where the Field has an empty value and update it with the correct column to mapped to
If it solves mark as correct and helpful.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 11:22 AM
Hi Sumanth,
If i am setting the map to field is true then the values what we are passing while submitting the catalog request via service portal are cleared in the RITM.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 06:06 AM
Did you make any customization?
>Can anyone please help me why i am getting the error for this catalog item only.
So the problem is only with 1 catalog item and you know which one it is. Is the item something that you've created?
If it is a custom service you've created,
1. open "Maintain Items" from Navigation
2. search for the item
3. Open it up and see if there are any errors. It should be "active"
Go through the "Iten Details", "Process Engine", "Pricing", and "Portal Settings".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 11:23 AM
Hi,
I don't see any error in the mentioned navigation