Yacc plugin crashes: Unexpected response received. Status code: 400

Yacc plugin crashes out with the following error (Bitbucket 4.4.x)

 

2016-06-16 14:47:50,277 ERROR [threadpool:thread-4] XXXXXX @53SVO6x887x4389x1 10.120.24.31 "POST /scm/ac/ipipe.git/git-receive-pack HTTP/1.1" c.i.stash.plugin.YaccServiceImpl unexpected exception while trying to validate JIRA issuecom.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 400            at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:19) ~[na:na]            at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:13) ~[na:na]            at com.atlassian.applinks.oauth.auth.OAuthApplinksReturningResponseHandler.handle(OAuthApplinksReturningResponseHandler.java:53) ~[na:na]            at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:96) ~[sal-core-3.0.5.jar:na]            at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.executeAndReturn(ApplicationLinkRequestAdaptor.java:61) ~[na:na]            at com.atlassian.applinks.oauth.auth.OAuthRequest.executeAndReturn(OAuthRequest.java:75) ~[na:na]            at com.atlassian.applinks.core.auth.AbstractApplicationLinkRequest.execute(AbstractApplicationLinkRequest.java:135) ~[na:na]            at com.isroot.stash.plugin.JiraServiceImpl.executeJqlQuery(JiraServiceImpl.java:147) ~[plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]            at com.isroot.stash.plugin.JiraServiceImpl.doesIssueMatchJqlQuery(JiraServiceImpl.java:108) ~[plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]            at com.isroot.stash.plugin.YaccServiceImpl.checkJiraIssue(YaccServiceImpl.java:219) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]            at com.isroot.stash.plugin.YaccServiceImpl.checkJiraIssues(YaccServiceImpl.java:201) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]            at com.isroot.stash.plugin.YaccServiceImpl.checkCommit(YaccServiceImpl.java:91) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]            at com.isroot.stash.plugin.YaccServiceImpl.checkRefChange(YaccServiceImpl.java:56) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]            at com.isroot.stash.plugin.YaccHook.onReceive(YaccHook.java:70) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]            at com.atlassian.stash.internal.hook.repository.PreReceiveRepositoryHookAdapter$1.visit(PreReceiveRepositoryHookAdapter.java:38) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.repository.PreReceiveRepositoryHookAdapter$1.visit(PreReceiveRepositoryHookAdapter.java:33) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService$RepositoryHookPagedTransactionCallback.doInTransaction(DefaultRepositoryHookService.java:573) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService$RepositoryHookPagedTransactionCallback.doInTransaction(DefaultRepositoryHookService.java:549) [bitbucket-service-impl-4.4.1.jar:na]            at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]            at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService.visitEnabledHooks(DefaultRepositoryHookService.java:279) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider$1.invoke(OsgiSafeProxyProvider.java:93) [bitbucket-platform-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.repository.PreReceiveRepositoryHookAdapter.onReceive(PreReceiveRepositoryHookAdapter.java:33) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.DefaultBuiltInHookHandlerFactory$1.handle(DefaultBuiltInHookHandlerFactory.java:45) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.DefaultHookService.doHandleRequest(DefaultHookService.java:342) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.DefaultHookService.handleRequest(DefaultHookService.java:328) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.DefaultHookService.handleRawRequest(DefaultHookService.java:236) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.hook.DefaultHookService$1$1.run(DefaultHookService.java:202) [bitbucket-service-impl-4.4.1.jar:na]            at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:70) [bitbucket-platform-4.4.1.jar:na]            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_66]            at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_66]            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.8.0_66]            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_66]            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_66]            at java.lang.Thread.run(Unknown Source) [na:1.8.0_66]            ... 37 frames trimmed

 

2016-06-16 14:47:50,277 ERROR [threadpool:thread-4] XXXXXXX @53SVO6x887x4389x1 10.120.24.31 "POST /scm/ac/ipipe.git/git-receive-pack HTTP/1.1" c.i.stash.plugin.YaccServiceImpl unexpected exception while trying to validate JIRA issue

com.atlassian.sal.api.net.ResponseStatusException: Unexpected response received. Status code: 400

            at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:19) ~[na:na]

            at com.atlassian.applinks.core.auth.ApplicationLinksStringReturningResponseHandler.handle(ApplicationLinksStringReturningResponseHandler.java:13) ~[na:na]

            at com.atlassian.applinks.oauth.auth.OAuthApplinksReturningResponseHandler.handle(OAuthApplinksReturningResponseHandler.java:53) ~[na:na]

            at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:96) ~[sal-core-3.0.5.jar:na]

            at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.executeAndReturn(ApplicationLinkRequestAdaptor.java:61) ~[na:na]

            at com.atlassian.applinks.oauth.auth.OAuthRequest.executeAndReturn(OAuthRequest.java:75) ~[na:na]

            at com.atlassian.applinks.core.auth.AbstractApplicationLinkRequest.execute(AbstractApplicationLinkRequest.java:135) ~[na:na]

            at com.isroot.stash.plugin.JiraServiceImpl.executeJqlQuery(JiraServiceImpl.java:147) ~[plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]

            at com.isroot.stash.plugin.JiraServiceImpl.doesIssueMatchJqlQuery(JiraServiceImpl.java:108) ~[plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]

            at com.isroot.stash.plugin.YaccServiceImpl.checkJiraIssue(YaccServiceImpl.java:219) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]

            at com.isroot.stash.plugin.YaccServiceImpl.checkJiraIssues(YaccServiceImpl.java:201) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]

            at com.isroot.stash.plugin.YaccServiceImpl.checkCommit(YaccServiceImpl.java:91) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]

            at com.isroot.stash.plugin.YaccServiceImpl.checkRefChange(YaccServiceImpl.java:56) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]

            at com.isroot.stash.plugin.YaccHook.onReceive(YaccHook.java:70) [plugin_2215924450562883272_yacc-1.11_1456735052696.jar:na]

            at com.atlassian.stash.internal.hook.repository.PreReceiveRepositoryHookAdapter$1.visit(PreReceiveRepositoryHookAdapter.java:38) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.repository.PreReceiveRepositoryHookAdapter$1.visit(PreReceiveRepositoryHookAdapter.java:33) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService$RepositoryHookPagedTransactionCallback.doInTransaction(DefaultRepositoryHookService.java:573) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService$RepositoryHookPagedTransactionCallback.doInTransaction(DefaultRepositoryHookService.java:549) [bitbucket-service-impl-4.4.1.jar:na]

            at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]

            at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService.visitEnabledHooks(DefaultRepositoryHookService.java:279) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider$1.invoke(OsgiSafeProxyProvider.java:93) [bitbucket-platform-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.repository.PreReceiveRepositoryHookAdapter.onReceive(PreReceiveRepositoryHookAdapter.java:33) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.DefaultBuiltInHookHandlerFactory$1.handle(DefaultBuiltInHookHandlerFactory.java:45) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.DefaultHookService.doHandleRequest(DefaultHookService.java:342) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.DefaultHookService.handleRequest(DefaultHookService.java:328) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.DefaultHookService.handleRawRequest(DefaultHookService.java:236) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.hook.DefaultHookService$1$1.run(DefaultHookService.java:202) [bitbucket-service-impl-4.4.1.jar:na]

            at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:70) [bitbucket-platform-4.4.1.jar:na]

            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_66]

            at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_66]

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.8.0_66]

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_66]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_66]

            at java.lang.Thread.run(Unknown Source) [na:1.8.0_66]

            ... 37 frames trimmed

1 answer

1 accepted

0 votes
Accepted answer

Apparently I managed to add an invalid JQL query

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

325 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you