We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Illegal access to method addYearsLocalTime(number) in class com.glide.glideobject.GlideDateTime

Manal  AQUIL
Tera Contributor

Hi Community Members,

 

When I am opening a knowledge article of specific knowledge base in published state, I am getting below error message :

 

Illegal access to method addYearsLocalTime(number) in class com.glide.glideobject.GlideDateTime

 

Please help me navigate why this issue is coming .

 

I have checked BR, Clients scripts whether addYearsLocalTime() is being used or not and there is no such script . 

 

Thanks,

Manal 

1 REPLY 1

Ivan Betev
Mega Sage

Hi @Manal Aquil 

 

Look in UI Macros and UI Pages responsible for displaying KB content.

You can also use SN Utils tool perform a code search.

 

Regards, Ivan