java.lang.nullpointerexception servicenow portal

Arun87
Giga Contributor

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.

find_real_file.png

11 REPLIES 11

SumanthDosapati
Mega Sage
Mega Sage

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 :

  1. Go to item_option_new.list from the navigator filter
  2. Do a filter search with the following parameters:
    • Catalog item is <name of catalog item having issue>
    • Map to field is true

  3. 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

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.

Hitoshi Ozawa
Giga Sage
Giga Sage

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".

 

 

Hi, 

I don't see any error in the mentioned navigation