"There is a JavaScript error in your browser console" is showing in Employee Center Portal

asinmar
Tera Contributor

"There is a JavaScript error in your browser console" keep showing in Employee Center Portal every time I open and reload the portal after we upgraded the instance from Vancouver to Washington.

 

This is the Source: 

 

com.glide.ui.ServletErrorListener

 

This is the Error message:

 

Cannot invoke "com.glide.monitor.AbstractBucketCollector.getName()" because "ac" is null: java.lang.NullPointerException: Cannot invoke "com.glide.monitor.AbstractBucketCollector.getName()" because "ac" is null: com.glide.ui.monitor.BucketStats.write(BucketStats.java:31)
com.glide.ux.metrics.stats.ApplicationCollector.lambda$write$2(ApplicationCollector.java:52)
java.base/java.util.HashMap.forEach(HashMap.java:1421)
com.glide.ux.metrics.stats.ApplicationCollector.write(ApplicationCollector.java:49)
com.glide.ux.metrics.stats.ClientInteractionXmlStatsProvider.write(ClientInteractionXmlStatsProvider.java:28)
com.glide.sys.stats.Statistician.write(Statistician.java:48)
com.glide.sys.stats.Statistician.createDocument(Statistician.java:101)
com.glide.ui.XMLStats.toDocumentWithInclude(XMLStats.java:68)
com.glide.ui.XMLStats.stats(XMLStats.java:42)
com.glide.processors.XMLStatsProcessor.process0(XMLStatsProcessor.java:12)
com.glide.processors.AAdminProcessor.process(AAdminProcessor.java:21)
com.glide.processors.AProcessor.runProcessor(AProcessor.java:762)
com.glide.processors.AProcessor.processTransaction(AProcessor.java:313)
com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:187)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:175)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:58)
com.glide.sys.Transaction.run(Transaction.java:2734)
com.glide.ui.HTTPTransaction.run(HTTPTransaction.java:35)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base/java.lang.Thread.run(Thread.java:840)
8 REPLIES 8

Harish KM
Kilo Patron
Kilo Patron

Hi @asinmar how many widgets do you have in the portal page? you can debug step by step to find out which widget is causing the issue.

Remove header menu and test see if the error comes,

Remove other widgets one by one to findout which widget is causing this error, once you find then can troubleshoot.

Regards
Harish

Thank you for your response. We contacted the HI support, and they will apply fixes in the upcoming patch.

Hi @asinmar could you please provide the reason what caused this issue and the work around provided by HI?

Regards
Harish

aholiday
ServiceNow Employee
ServiceNow Employee

hello @asinmar were any details provided, prb# or patch # shared related to fixes?