You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary - Sometimes, when a bot tries to call a function of another las2peer service, the Social Bot Manager can not find the las2peer bot agent
Bug Details
What? - Sometimes, the bot agent of single bots can not be found anymore. This results in an exception, when the bot tries to call a function of a las2peer service. A resubmit of the bot does not fix it. Currently, it can only be fixed by changing the name of the bot and then resubmit it.
Where? - Good question. But it could also correlate with the webconnector of las2peer
When?/How often? - The assumption is, that it happens sometimes after the SBM is restarted. However, it seems to be quite rarely and random.
How?/Current state - Maybe here the log stating the missing agent and the following exception:
2022-06-28T16:38:32.578Z | mentoring/suggestions/getSuggestion ; {"msg":"any suggestions?","entities":{} ...
2022-06-28T16:38:32.578Z | Request: POST URI: mentoring/suggestions/getSuggestion Content: {"msg":"any suggestions? ...
2022-06-28T16:38:32.599Z | Connect Success
2022-06-28T16:38:32.599Z | agent not found
2022-06-28T16:38:32.599Z | java.lang.ClassCastException: class java.lang.String cannot be cast to class net.minidev.json.JSONObject (java.lang.String is in module java.base of loader 'bootstrap'; net.minidev.json.JSONObject is in unnamed module of loader 'app')
2022-06-28T16:38:32.599Z | at i5.las2peer.services.socialBotManagerService.SocialBotManagerService.performTrigger(SocialBotManagerService.java:1529)
2022-06-28T16:38:32.599Z | at i5.las2peer.services.socialBotManagerService.SocialBotManagerService.performIntentTrigger(SocialBotManagerService.java:1249)
2022-06-28T16:38:32.599Z | at i5.las2peer.services.socialBotManagerService.SocialBotManagerService$BotResource$4.run(SocialBotManagerService.java:990)
2022-06-28T16:38:32.599Z | at java.base/java.lang.Thread.run(Thread.java:831)
The text was updated successfully, but these errors were encountered:
Summary - Sometimes, when a bot tries to call a function of another las2peer service, the Social Bot Manager can not find the las2peer bot agent
Bug Details
2022-06-28T16:38:32.578Z | mentoring/suggestions/getSuggestion ; {"msg":"any suggestions?","entities":{} ...
2022-06-28T16:38:32.578Z | Request: POST URI: mentoring/suggestions/getSuggestion Content: {"msg":"any suggestions? ...
2022-06-28T16:38:32.599Z | Connect Success
2022-06-28T16:38:32.599Z | agent not found
2022-06-28T16:38:32.599Z | java.lang.ClassCastException: class java.lang.String cannot be cast to class net.minidev.json.JSONObject (java.lang.String is in module java.base of loader 'bootstrap'; net.minidev.json.JSONObject is in unnamed module of loader 'app')
2022-06-28T16:38:32.599Z | at i5.las2peer.services.socialBotManagerService.SocialBotManagerService.performTrigger(SocialBotManagerService.java:1529)
2022-06-28T16:38:32.599Z | at i5.las2peer.services.socialBotManagerService.SocialBotManagerService.performIntentTrigger(SocialBotManagerService.java:1249)
2022-06-28T16:38:32.599Z | at i5.las2peer.services.socialBotManagerService.SocialBotManagerService$BotResource$4.run(SocialBotManagerService.java:990)
2022-06-28T16:38:32.599Z | at java.base/java.lang.Thread.run(Thread.java:831)
The text was updated successfully, but these errors were encountered: