Zomis / Duga

Stack Exchange Chat bot
18 stars 6 forks source link

MissingMethodException on some hooks #141

Open Zomis opened 6 years ago

Zomis commented 6 years ago

http://192.168.0.110:8000/en-US/app/search/search?q=search%20index%3Dduga%20MissingMethodException&display.page.search.mode=verbose&dispatch.sample_ratio=1&earliest=-7d%40h&latest=now&sid=1523188584.12307

Vogel612 commented 4 years ago

This stacktrace I found in the GH logs for Duga deliveries seems relevant:

Error 500: Internal Server Error
URI /GithubHookSEChatService/hooks/github/payload
Class groovy.lang.MissingMethodException
Message null
Caused by No signature of method: net.zomis.duga.HookStringification.pull_request_review() is applicable for argument types: (java.util.ArrayList, org.grails.web.json.JSONObject) values: [[], [pull_request:[issue_url:https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/5258, ...], ...]]</dd></dl><h2>Trace</h2><pre class="stack">    Line | Method
-&gt;&gt; 1149 | runWorker in java.util.concurrent.ThreadPoolExecutor
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    624 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    748 | run . . . in java.lang.Thread

Caused by MissingMethodException: No signature of method: net.zomis.duga.HookStringification.pull_request_review() is applicable for argument types: (java.util.ArrayList, org.grails.web.json.JSONObject) values: [[], [pull_request:[issue_url:https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/5258, ...], ...]]
-&gt;&gt;  375 | postGithub in net.zomis.duga.HookStringification
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|     28 | hook      in net.zomis.duga.GithubHookController
|   1149 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    624 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    748 | run . . . in java.lang.Thread