Gitlab VCS integration failes

Hello

I try to integrate some Gitlab repos, but there seems to be a model problem, because i get the following exception (i am on Youtrack version 2018.2.44329):

12:10:46,514 WARN [@qtp443304492-41] [TransactionalResourceFilter ] [michel.werren@172.17.0.1] Can't commit rest transaction
jetbrains.youtrack.integration.github.rest.JerseyClientExceptionWrapper: javax.ws.rs.ClientErrorException: HTTP 422 Unprocessable Entity
at jetbrains.youtrack.integration.github.rest.BitBucketRest.post(BitBucketRest.java:203) ~[youtrack-github-integration-2018.2.jar:?]
at jetbrains.youtrack.integration.github.rest.GitLabRest.createHook(GitLabRest.java:89) ~[youtrack-github-integration-2018.2.jar:?]
at jetbrains.youtrack.integration.github.persistence.GitLabChangesProcessorImpl.doCreateHook(GitLabChangesProcessorImpl.java:39) ~[youtrack-github-integration-2018.2.jar:?]
at jetbrains.youtrack.integration.github.persistence.GithubCloneChangesProcessorImpl.createHook(GithubCloneChangesProcessorImpl.java:66) ~[youtrack-github-integration-2018.2.jar:?]
at jetbrains.youtrack.integration.github.persistence.GithubRepoChangesListener.addedSyncBeforeConstraints(GithubRepoChangesListener.java:30) ~[youtrack-github-integration-2018.2.jar:?]
at jetbrains.exodus.entitystore.EventsMultiplexer$handleChange$1.invoke(EventsMultiplexer.kt:205) ~[dnq-transient-store-1.1.375.jar:1.2.3408]
at jetbrains.exodus.entitystore.EventsMultiplexer$handleChange$1.invoke(EventsMultiplexer.kt:29) ~[dnq-transient-store-1.1.375.jar:1.2.3408]
at jetbrains.exodus.entitystore.EventsMultiplexer.visit(EventsMultiplexer.kt:230) ~[dnq-transient-store-1.1.375.jar:1.2.3408]
at jetbrains.exodus.entitystore.EventsMultiplexer.handleChange(EventsMultiplexer.kt:205) ~[dnq-transient-store-1.1.375.jar:1.2.3408]
at jetbrains.exodus.entitystore.EventsMultiplexer.handlePerEntityTypeChanges(EventsMultiplexer.kt:196) ~[dnq-transient-store-1.1.375.jar:1.2.3408]
at jetbrains.exodus.entitystore.EventsMultiplexer.fire$dnq_transient_store(EventsMultiplexer.kt:74) ~[dnq-transient-store-1.1.375.jar:1.2.3408]
at jetbrains.exodus.entitystore.EventsMultiplexer.beforeFlushBeforeConstraints(EventsMultiplexer.kt:52) ~[dnq-transient-store-1.1.375.jar:1.2.3408]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl$notifyBeforeFlushListeners$2.invoke(TransientSessionImpl.kt:786) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl$notifyBeforeFlushListeners$2.invoke(TransientSessionImpl.kt:44) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl$forAllListeners$1.invoke(TransientSessionImpl.kt:1340) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl$forAllListeners$1.invoke(TransientSessionImpl.kt:44) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientEntityStoreImpl.forAllListeners$dnq_transient_store(TransientEntityStoreImpl.kt:318) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.forAllListeners(TransientSessionImpl.kt:1338) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.notifyBeforeFlushListeners(TransientSessionImpl.kt:786) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.beforeFlush(TransientSessionImpl.kt:740) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flushChanges(TransientSessionImpl.kt:542) ~[dnq-transient-store-1.1.375.jar:?]
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flush(TransientSessionImpl.kt:189) ~[dnq-transient-store-1.1.375.jar:?]
at jetbrains.mps.webr.rpc.rest.filter.runtime.TransactionalResourceFilter.filter(TransactionalResourceFilter.java:71) [jetbrains.mps.webr.rpc.rest.filter.runtime-3434.jar:?]
at org.glassfish.jersey.server.ContainerFilteringStage$ResponseFilterStage.apply(ContainerFilteringStage.java:196) [jersey-server-2.22.2.jar:?]
at org.glassfish.jersey.server.ContainerFilteringStage$ResponseFilterStage.apply(ContainerFilteringStage.java:163) [jersey-server-2.22.2.jar:?]
at org.glassfish.jersey.process.internal.Stages.process(Stages.java:171) [jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:442) [jersey-server-2.22.2.jar:?]
at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) [jersey-server-2.22.2.jar:?]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) [jersey-server-2.22.2.jar:?]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [jersey-server-2.22.2.jar:?]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [jersey-server-2.22.2.jar:?]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [jersey-container-servlet-core-2.22.2.jar:?]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [jersey-container-servlet-core-2.22.2.jar:?]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [jersey-container-servlet-core-2.22.2.jar:?]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [jersey-container-servlet-core-2.22.2.jar:?]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [jersey-container-servlet-core-2.22.2.jar:?]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at jetbrains.youtrack.webapp.filters.SecurityResponseHeadersFilter.doFilter(SecurityResponseHeadersFilter.kt:18) [youtrack-webapp-2018.2.jar:?]
at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:25) [youtrack-webapp-2018.2.jar:?]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at jetbrains.youtrack.webapp.filters.LoggingServletRequestFilter.doFilter(LoggingServletRequestFilter.kt:33) [youtrack-webapp-2018.2.jar:?]
at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:25) [youtrack-webapp-2018.2.jar:?]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at jetbrains.youtrack.gaprest.filters.HttpContextAccessorFilter.doFilter(HttpContextAccessorFilter.kt:22) [youtrack-gap-rest-2018.2.jar:?]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at jetbrains.youtrack.webapp.filters.MdcProviderServletFilter.doFilter(MdcProviderServletFilter.kt:17) [youtrack-webapp-2018.2.jar:?]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at webr.framework.controller.BaseApplicationServletFilter.doFilter(BaseApplicationServletFilter.java:24) [jetbrains.mps.webr.runtime-3434.jar:?]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [jetty-security-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [jetty-servlet-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.Server.handle(Server.java:534) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [jetty-io-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [jetty-io-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.20.v20170531.jar:9.3.20.v20170531]
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.20.v20170531.jar:9.3.20.v20170531]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
Caused by: javax.ws.rs.ClientErrorException: HTTP 422 Unprocessable Entity
at org.glassfish.jersey.client.JerseyInvocation.createExceptionForFamily(JerseyInvocation.java:1044) ~[jersey-client-2.22.2.jar:?]
at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:995) ~[jersey-client-2.22.2.jar:?]
at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816) ~[jersey-client-2.22.2.jar:?]
at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92) ~[jersey-client-2.22.2.jar:?]
at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700) ~[jersey-client-2.22.2.jar:?]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[jersey-common-2.22.2.jar:?]
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696) ~[jersey-client-2.22.2.jar:?]
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:448) ~[jersey-client-2.22.2.jar:?]
at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:349) ~[jersey-client-2.22.2.jar:?]
at jetbrains.youtrack.integration.github.rest.BitBucketRest.post(BitBucketRest.java:201) ~[youtrack-github-integration-2018.2.jar:?]
... 80 more

 

2 comments
Comment actions Permalink
Official comment

Hello,

Please create a support ticket and attach all the log files and the description of the issue.

Please sign in to leave a comment.