1485 views

Description

Connect conversations JavaScript is plugging in undefined into API calls and throwing errors.

Browser shows it tried to call /api/now/connect/conversations/undefined
Errors in logs show
java.lang.IllegalArgumentException: Group undefined does not exist.: java.lang.RuntimeException: java.lang.IllegalArgumentException: Group undefined does not exist.: com.glide.rest.handler.impl.ServiceHandlerImpl.handleInvocationTargetException(ServiceHandlerImpl.java:79)
com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:50)
com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:228)
com.glide.processors.AProcessor.runProcessor(AProcessor.java:424)
com.glide.processors.AProcessor.processTransaction(AProcessor.java:195)
com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:179)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:168)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:49)
com.glide.sys.Transaction.run(Transaction.java:1962)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)

Debugger shows that is bring thrown from here
ConversationPersister.updateConversation(String, Map<String,Object>) line: 148
ConversationService.updateConversation(ServiceRequest) line: 116

Steps to Reproduce

  1. Clear out all live_group_member records on the instance.

  2. Navigate to $c.do.

  3. Switch to a different tab.

  4. Switch back to the $c.do tab.

    Note the HTTP request made to /api/now/connect/conversations/undefined.

 

Workaround

There is no known workaround for this issue. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.


Related Problem: PRB712385

Seen In

Helsinki Patch 3

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-09-07 11:44:48
Published:2016-10-18