-
-
Notifications
You must be signed in to change notification settings - Fork 74
Plugin causing crash and stopping pushing to bitbucket after upgrading. #251
Comments
Bitbucket version is 5.0.5 and plugin version is 3.14 I've created this ticket here: https://getsupport.atlassian.com/servicedesk/customer/portal/24/SSP-25324 if you'd like me to add you. |
You should be able to find a longer stack trace in the server log. There is probably a very long stack trace with repeating methods. |
2017-10-05 09:48:32,384 ERROR [https-jsse-nio-8443-exec-6] 46858 @47LJ2Zx588x460x13 7ra829 10.8.0.70 "GET /rest/prnfb-admin/1.0/settings/buttons/repository/1271/pullrequest/156 HTTP/1.1" o.s.t.i.TransactionInterceptor Application exception overridden by rollback exception |
If that is the only stack trace available, then the stack overflow is not in the plugin. Looking at the statistics I see 126 installations using Stash 3.x and 1624 using Bitbucket Server 4.x or 5.x. I might just remove the legacy code here and stop trying to migrate the old settings from 3.x. I will give it some thought and perhaps do that tomorrow. A quick fix might be to just remove the settings directly from the database. You can find the key(s) with:
And the settings are stored in:
I think you can just delete that row to reset the plugin settings. |
We've since uninstalled the plugin. Will the settings still be in the db? This is our production instance so I'll have to get the DBA to run that query. |
The behaviour before the crash was that no push operations were able to happen and there were hundreds of git processes hung on the server. The plugin is integral to how we work so we want to find a fix soon |
I get "You do not have permission to view this request." when I try to view the ticket. |
Here is a build wihtout the legacy code: You may try installing that one by manual upload to Bitbucket Server. |
Thanks for the speedy responses! I can test that tomorrow but will it still require the settings to be removed? There's more info in the atlassian ticket. If you log in I can get you added to see logs etc. as I can't seem to upload them here. Atlassian have gotten back with the below: I see you have already pulled the relevant stacktrace from the logs and you are already in contact with Tomas in this bug report: #251. |
I dont think you need to remove the settings if you use that build. Removing the settings is also another possible solution if the new build does not work. |
Hi Tomas, That link to download the new build doesn't seem to be working. Would you be able to re-upload? Thanks, |
Initial testing looks good, I'll keep an eye on it and let you know. |
After a day of testing, that looks to have resolved the problem. |
Removing code that looks for, and migrates, legacy settings (Stash 3.x) to Bitbucket Server (4.x and 5.x).
Released in 3.15 now. |
When trying to configure plugin after upgrade from gitstash 3.8.0 to bitbucket 5.0.5 it's causing it to crash.
2017-10-05 18:54:31,845 ERROR [https-jsse-nio-8443-exec-52] 56602 @9MA5APx1133x241598x38 9e70mb 10.8.0.70 "POST /rest/prnfb-admin/1.0/settings HTTP/1.1" o.s.t.i.TransactionInterceptor Application exception overridden by rollback exception
java.lang.StackOverflowError: null
The text was updated successfully, but these errors were encountered: