What is the replacement of GlideURI API ?

Anmol6
Mega Contributor

Hi, 

What is the replacement of GlideURI API, since it's is generating warning logs - Null Pointer exception error can't convert null to an object so do we have replacement of it so that we can avoid those logs. I have used it in my BR.

 

 

 

 

Thanks,

Anmol

 

1 ACCEPTED SOLUTION

Hello Anmol,

 

This is the expected behaviour and ServiceNow suggests that it should not be executed during export or any background job.

Please check the article I've posted in the above thread.

 

Hope this helps. 

 

Regards

Omkar Mone

View solution in original post

9 REPLIES 9

Hello Anmol,

 

This is the expected behaviour and ServiceNow suggests that it should not be executed during export or any background job.

Please check the article I've posted in the above thread.

 

Hope this helps. 

 

Regards

Omkar Mone

Hi Omkar,

I totally understand but can we use any other thing for achieving the functionality?

 

 

Thanks,

Anmol

Hi Anmol,

I remember those lines giving warning or error in logs when you use them in BR

But is that stopping the functionality from working as expected?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

No it's not stopping the functionality but getting logs.

 

 

Thanks,

Anmol

Hi,

I don't think any workaround for this exists; I couldn't find anywhere in blogs

Probably raise a HI ticket with ServiceNow and check what they provide as an update

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader