{"action":"created","issue":{"url":"https://api.github.com/repos/rampatra/jbot/issues/100","repository_url":"https://api.github.com/repos/rampatra/jbot","labels_url":"https://api.github.com/repos/rampatra/jbot/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/rampatra/jbot/issues/100/comments","events_url":"https://api.github.com/repos/rampatra/jbot/issues/100/events","html_url":"https://github.com/rampatra/jbot/issues/100","id":330231303,"node_id":"MDU6SXNzdWUzMzAyMzEzMDM=","number":100,"title":"conversation is not stable for Facebook","user":{"login":"hoangphhut","id":20478379,"node_id":"MDQ6VXNlcjIwNDc4Mzc5","avatar_url":"https://avatars1.githubusercontent.com/u/20478379?v=4","gravatar_id":"","url":"https://api.github.com/users/hoangphhut","html_url":"https://github.com/hoangphhut","followers_url":"https://api.github.com/users/hoangphhut/followers","following_url":"https://api.github.com/users/hoangphhut/following{/other_user}","gists_url":"https://api.github.com/users/hoangphhut/gists{/gist_id}","starred_url":"https://api.github.com/users/hoangphhut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoangphhut/subscriptions","organizations_url":"https://api.github.com/users/hoangphhut/orgs","repos_url":"https://api.github.com/users/hoangphhut/repos","events_url":"https://api.github.com/users/hoangphhut/events{/privacy}","received_events_url":"https://api.github.com/users/hoangphhut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-07T11:29:19Z","updated_at":"2018-06-08T13:07:47Z","closed_at":"2018-06-08T13:07:47Z","author_association":"NONE","body":"Hi\r\nI tried Facebook jbot-example with conversation and it works well. Once I add another conversation, it raises an exception at function startConversation(). Then I try to delete all the conversation-related methods in example (but keep mine), then it work. However, after awhile, startConversation() raises exception again as below. It's seem that Anotation in conversation has something wrong. Anybody can have any suggestion please?\r\n\r\nThanks\r\n-------------------\r\n2018-06-07 18:22:35.615 ERROR 4047 --- [nio-8080-exec-7] me.ramswaroop.jbot.core.facebook.Bot     : Error invoking controller: \r\n\r\njava.lang.reflect.InvocationTargetException: null\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]\r\n\tat java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]\r\n\tat me.ramswaroop.jbot.core.facebook.Bot.invokeMethods(Bot.java:298) [jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.facebook.Bot.setupWebhookEndpoint(Bot.java:145) [jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) ~[na:na]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]\r\n\tat java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]\r\n\r\n.......\r\n Caused by: java.lang.StackOverflowError: null\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\tat me.ramswaroop.jbot.core.common.BaseBot.formConversationQueue(BaseBot.java:154) ~[jbot-4.0.2-SNAPSHOT.jar:4.0.2-SNAPSHOT]\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rampatra/jbot/issues/comments/395755271","html_url":"https://github.com/rampatra/jbot/issues/100#issuecomment-395755271","issue_url":"https://api.github.com/repos/rampatra/jbot/issues/100","id":395755271,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTc1NTI3MQ==","user":{"login":"rampatra","id":2862724,"node_id":"MDQ6VXNlcjI4NjI3MjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2862724?v=4","gravatar_id":"","url":"https://api.github.com/users/rampatra","html_url":"https://github.com/rampatra","followers_url":"https://api.github.com/users/rampatra/followers","following_url":"https://api.github.com/users/rampatra/following{/other_user}","gists_url":"https://api.github.com/users/rampatra/gists{/gist_id}","starred_url":"https://api.github.com/users/rampatra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rampatra/subscriptions","organizations_url":"https://api.github.com/users/rampatra/orgs","repos_url":"https://api.github.com/users/rampatra/repos","events_url":"https://api.github.com/users/rampatra/events{/privacy}","received_events_url":"https://api.github.com/users/rampatra/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T13:07:47Z","updated_at":"2018-06-08T13:07:47Z","author_association":"OWNER","body":"Hi @hoangphhut, yes this is one of the limitations in the current version of JBot. Currently, conversations are backed by a `List` data structure which needs to be replaced with a graph probably to support going back and forth. Having said that, I am unfortunately not free for the next 6 months to contribute to this epic. I am closing this issue for now."}}
{"actor":{"display_login":"rampatra"}}