org.artifactory.storage.StorageException: Could not insert build Build{version='1.0.1', name='Tradenity', number='22', type=GENERIC, buildAgent=Generic/Generic, agent=hudson/1.648, started='2016-03-01T12:05:06.642+0200', durationMillis=18018, principal='anonymous', artifactoryPrincipal='admin', artifactoryPluginVersion='2.4.7', url='http://localhost:8088/job/Tradenity/22/', parentName='null', parentNumber='null', vcsRevision='7fdaa715b604d2a27eed956af5560a06a1d6ebe8', vcsUrl='null', parentBuildId='null', licenseControl=org.jfrog.build.api.LicenseControl@399632b2, buildRetention=org.jfrog.build.api.BuildRetention@26e7505f, runParameters=null, modules=[org.jfrog.build.api.Module@39c3f4dc], statuses=null, buildDependencies=[], issues=null, governance=org.jfrog.build.api.Governance@533a0edd}

JFrog JIRA | Joseph Fouad | 9 months ago
  1. 0

    Jenkins Cannot deploy to artifactory (database constraint error)

    Stack Overflow | 9 months ago | Joseph
    org.artifactory.storage.StorageException: Could not insert build Build{version='1.0.1', name='Tradenity', number='22', type=GENERIC, buildAgent=Generic/Generic, agent=hudson/1.648, started='2016-03-01T12:05:06.642+0200', durationMillis=18018, principal='anonymous', artifactoryPrincipal='admin', artifactoryPluginVersion='2.4.7', url='http://localhost:8088/job/Tradenity/22/', parentName='null', parentNumber='null', vcsRevision='7fdaa715b604d2a27eed956af5560a06a1d6ebe8', vcsUrl='null', parentBuildId='null', licenseControl=org.jfrog.build.api.LicenseControl@399632b2, buildRetention=org.jfrog.build.api.BuildRetention@26e7505f, runParameters=null, modules=[org.jfrog.build.api.Module@39c3f4dc], statuses=null, buildDependencies=[], issues=null, governance=org.jfrog.build.api.Governance@533a0edd}
  2. 0

    Hi I am using Artifactory OSS v4.5.1, Jenkins v1.648, Gradle v2.9, on Ubuntu 14.04 I am using artifactory plugin for jenkins v2.4.7 to deploy an artifact generated by gradle build script When I run gradle artifactoryPublish by hand, everything is ok, but when i try to deploy from jenkins, the jar file deploys fine, but the build info cause an error here is jenkins console output: Jenkins Artifactory Plugin version: 2.4.7 Jenkins Artifactory Plugin version: 2.4.7 [Gradle] - Launching build. [workspace] $ gradle jar artifactoryPublish [buildinfo] Properties file found at '/tmp/buildInfo1752901429055581915.properties' :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar UP-TO-DATE :generatePomFileForMavenJavaPublication :artifactoryPublish Deploying artifact: http://localhost:8081/artifactory/gradle-local/org/commerceforge/estore/0.0.1/estore-0.0.1.jar Deploying build descriptor to: http://localhost:8081/artifactory/api/build Build successfully deployed. Browse it in Artifactory under http://localhost:8081/artifactory/webapp/builds/Tradenity/21 BUILD SUCCESSFUL Total time: 11.237 secs This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.9/userguide/gradle_daemon.html Build step 'Invoke Gradle script' changed build result to SUCCESS Deploying build info to: http://localhost:8081/artifactory/api/build ERROR: Could not publish build-info: Failed to send build descriptor : HTTP response code: 500. HTTP response message: Internal Server Error java.io.IOException: Could not publish build-info: Failed to send build descriptor : HTTP response code: 500. HTTP response message: Internal Server Error at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.sendBuildInfo(ArtifactoryBuildInfoClient.java:244) at org.jfrog.hudson.generic.GenericBuildInfoDeployer.deploy(GenericBuildInfoDeployer.java:62) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:344) at hudson.model.Build$BuildExecution.doRun(Build.java:173) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Finished: FAILURE when i refer to artifactory log, it seems like a database eror: 2016-03-01 12:05:22,150 [http-nio-8081-exec-3] [INFO ] (o.a.e.UploadServiceImpl:453) - Deploy to 'gradle-local:org/commerceforge/estore/0.0.1/estore-0.0.1.jar' Content-Length: 0 2016-03-01 12:05:24,120 [http-nio-8081-exec-1] [INFO ] (o.a.r.r.c.BuildResource:296) - Adding build 'Tradenity #22' 2016-03-01 12:05:24,302 [http-nio-8081-exec-1] [INFO ] (o.a.r.r.c.BuildResource:313) - Added build 'Tradenity #22' 2016-03-01 12:05:24,686 [http-nio-8081-exec-2] [INFO ] (o.a.r.r.c.BuildResource:296) - Adding build 'Tradenity #22' 2016-03-01 12:05:24,749 [http-nio-8081-exec-2] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Could not insert build Build{version='1.0.1', name='Tradenity', number='22', type=GENERIC, buildAgent=Generic/Generic, agent=hudson/1.648, started='2016-03-01T12:05:06.642+0200', durationMillis=18018, principal='anonymous', artifactoryPrincipal='admin', artifactoryPluginVersion='2.4.7', url='http://localhost:8088/job/Tradenity/22/', parentName='null', parentNumber='null', vcsRevision='7fdaa715b604d2a27eed956af5560a06a1d6ebe8', vcsUrl='null', parentBuildId='null', licenseControl=org.jfrog.build.api.LicenseControl@399632b2, buildRetention=org.jfrog.build.api.BuildRetention@26e7505f, runParameters=null, modules=[org.jfrog.build.api.Module@39c3f4dc], statuses=null, buildDependencies=[], issues=null, governance=org.jfrog.build.api.Governance@533a0edd} org.artifactory.storage.StorageException: Could not insert build Build{version='1.0.1', name='Tradenity', number='22', type=GENERIC, buildAgent=Generic/Generic, agent=hudson/1.648, started='2016-03-01T12:05:06.642+0200', durationMillis=18018, principal='anonymous', artifactoryPrincipal='admin', artifactoryPluginVersion='2.4.7', url='http://localhost:8088/job/Tradenity/22/', parentName='null', parentNumber='null', vcsRevision='7fdaa715b604d2a27eed956af5560a06a1d6ebe8', vcsUrl='null', parentBuildId='null', licenseControl=org.jfrog.build.api.LicenseControl@399632b2, buildRetention=org.jfrog.build.api.BuildRetention@26e7505f, runParameters=null, modules=[org.jfrog.build.api.Module@39c3f4dc], statuses=null, buildDependencies=[], issues=null, governance=org.jfrog.build.api.Governance@533a0edd} at org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:122) ~[artifactory-storage-db-4.5.1.jar:na] at org.artifactory.build.BuildServiceImpl.addBuild(BuildServiceImpl.java:193) ~[artifactory-core-4.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) ~[artifactory-storage-common-4.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy98.addBuild(Unknown Source) ~[na:na] at org.artifactory.build.BuildServiceImpl.addBuild(BuildServiceImpl.java:172) ~[artifactory-core-4.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) ~[artifactory-storage-common-4.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy98.addBuild(Unknown Source) ~[na:na] at org.artifactory.rest.resource.ci.BuildResource.addBuild(BuildResource.java:305) ~[artifactory-rest-4.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$VoidOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:167) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198) [artifactory-web-application-4.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89) [artifactory-web-application-4.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:334) [artifactory-web-application-4.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:234) [artifactory-web-application-4.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190) [artifactory-web-application-4.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156) [artifactory-web-application-4.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65) [artifactory-web-application-4.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109) [artifactory-web-application-4.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.22] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.22] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.22] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.22] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.22] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) [catalina.jar:8.0.22] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) [tomcat-coyote.jar:8.0.22] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) [tomcat-coyote.jar:8.0.22] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521) [tomcat-coyote.jar:8.0.22] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478) [tomcat-coyote.jar:8.0.22] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_66] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.22] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66] Caused by: java.sql.SQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeLargeUpdate(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.artifactory.storage.db.util.JdbcHelper.executeUpdate(JdbcHelper.java:160) ~[artifactory-storage-db-4.5.1.jar:na] at org.artifactory.storage.db.build.dao.BuildsDao.createBuild(BuildsDao.java:65) ~[artifactory-storage-db-4.5.1.jar:na] at org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:119) ~[artifactory-storage-db-4.5.1.jar:na] ... 76 common frames omitted Caused by: org.apache.derby.iapi.error.StandardException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) ~[derby-10.11.1.1.jar:na] ... 83 common frames omitted

    JFrog JIRA | 9 months ago | Joseph Fouad
    org.artifactory.storage.StorageException: Could not insert build Build{version='1.0.1', name='Tradenity', number='22', type=GENERIC, buildAgent=Generic/Generic, agent=hudson/1.648, started='2016-03-01T12:05:06.642+0200', durationMillis=18018, principal='anonymous', artifactoryPrincipal='admin', artifactoryPluginVersion='2.4.7', url='http://localhost:8088/job/Tradenity/22/', parentName='null', parentNumber='null', vcsRevision='7fdaa715b604d2a27eed956af5560a06a1d6ebe8', vcsUrl='null', parentBuildId='null', licenseControl=org.jfrog.build.api.LicenseControl@399632b2, buildRetention=org.jfrog.build.api.BuildRetention@26e7505f, runParameters=null, modules=[org.jfrog.build.api.Module@39c3f4dc], statuses=null, buildDependencies=[], issues=null, governance=org.jfrog.build.api.Governance@533a0edd}
  3. 0

    Hi I am using Artifactory OSS v4.5.1, Jenkins v1.648, Gradle v2.9, on Ubuntu 14.04 I am using artifactory plugin for jenkins v2.4.7 to deploy an artifact generated by gradle build script When I run gradle artifactoryPublish by hand, everything is ok, but when i try to deploy from jenkins, the jar file deploys fine, but the build info cause an error here is jenkins console output: Jenkins Artifactory Plugin version: 2.4.7 Jenkins Artifactory Plugin version: 2.4.7 [Gradle] - Launching build. [workspace] $ gradle jar artifactoryPublish [buildinfo] Properties file found at '/tmp/buildInfo1752901429055581915.properties' :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar UP-TO-DATE :generatePomFileForMavenJavaPublication :artifactoryPublish Deploying artifact: http://localhost:8081/artifactory/gradle-local/org/commerceforge/estore/0.0.1/estore-0.0.1.jar Deploying build descriptor to: http://localhost:8081/artifactory/api/build Build successfully deployed. Browse it in Artifactory under http://localhost:8081/artifactory/webapp/builds/Tradenity/21 BUILD SUCCESSFUL Total time: 11.237 secs This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.9/userguide/gradle_daemon.html Build step 'Invoke Gradle script' changed build result to SUCCESS Deploying build info to: http://localhost:8081/artifactory/api/build ERROR: Could not publish build-info: Failed to send build descriptor : HTTP response code: 500. HTTP response message: Internal Server Error java.io.IOException: Could not publish build-info: Failed to send build descriptor : HTTP response code: 500. HTTP response message: Internal Server Error at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.sendBuildInfo(ArtifactoryBuildInfoClient.java:244) at org.jfrog.hudson.generic.GenericBuildInfoDeployer.deploy(GenericBuildInfoDeployer.java:62) at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:344) at hudson.model.Build$BuildExecution.doRun(Build.java:173) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Finished: FAILURE when i refer to artifactory log, it seems like a database eror: 2016-03-01 12:05:22,150 [http-nio-8081-exec-3] [INFO ] (o.a.e.UploadServiceImpl:453) - Deploy to 'gradle-local:org/commerceforge/estore/0.0.1/estore-0.0.1.jar' Content-Length: 0 2016-03-01 12:05:24,120 [http-nio-8081-exec-1] [INFO ] (o.a.r.r.c.BuildResource:296) - Adding build 'Tradenity #22' 2016-03-01 12:05:24,302 [http-nio-8081-exec-1] [INFO ] (o.a.r.r.c.BuildResource:313) - Added build 'Tradenity #22' 2016-03-01 12:05:24,686 [http-nio-8081-exec-2] [INFO ] (o.a.r.r.c.BuildResource:296) - Adding build 'Tradenity #22' 2016-03-01 12:05:24,749 [http-nio-8081-exec-2] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Could not insert build Build{version='1.0.1', name='Tradenity', number='22', type=GENERIC, buildAgent=Generic/Generic, agent=hudson/1.648, started='2016-03-01T12:05:06.642+0200', durationMillis=18018, principal='anonymous', artifactoryPrincipal='admin', artifactoryPluginVersion='2.4.7', url='http://localhost:8088/job/Tradenity/22/', parentName='null', parentNumber='null', vcsRevision='7fdaa715b604d2a27eed956af5560a06a1d6ebe8', vcsUrl='null', parentBuildId='null', licenseControl=org.jfrog.build.api.LicenseControl@399632b2, buildRetention=org.jfrog.build.api.BuildRetention@26e7505f, runParameters=null, modules=[org.jfrog.build.api.Module@39c3f4dc], statuses=null, buildDependencies=[], issues=null, governance=org.jfrog.build.api.Governance@533a0edd} org.artifactory.storage.StorageException: Could not insert build Build{version='1.0.1', name='Tradenity', number='22', type=GENERIC, buildAgent=Generic/Generic, agent=hudson/1.648, started='2016-03-01T12:05:06.642+0200', durationMillis=18018, principal='anonymous', artifactoryPrincipal='admin', artifactoryPluginVersion='2.4.7', url='http://localhost:8088/job/Tradenity/22/', parentName='null', parentNumber='null', vcsRevision='7fdaa715b604d2a27eed956af5560a06a1d6ebe8', vcsUrl='null', parentBuildId='null', licenseControl=org.jfrog.build.api.LicenseControl@399632b2, buildRetention=org.jfrog.build.api.BuildRetention@26e7505f, runParameters=null, modules=[org.jfrog.build.api.Module@39c3f4dc], statuses=null, buildDependencies=[], issues=null, governance=org.jfrog.build.api.Governance@533a0edd} at org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:122) ~[artifactory-storage-db-4.5.1.jar:na] at org.artifactory.build.BuildServiceImpl.addBuild(BuildServiceImpl.java:193) ~[artifactory-core-4.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) ~[artifactory-storage-common-4.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy98.addBuild(Unknown Source) ~[na:na] at org.artifactory.build.BuildServiceImpl.addBuild(BuildServiceImpl.java:172) ~[artifactory-core-4.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) ~[artifactory-storage-common-4.5.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy98.addBuild(Unknown Source) ~[na:na] at org.artifactory.rest.resource.ci.BuildResource.addBuild(BuildResource.java:305) ~[artifactory-rest-4.5.1.jar:na] at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$VoidOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:167) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198) [artifactory-web-application-4.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89) [artifactory-web-application-4.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:334) [artifactory-web-application-4.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:234) [artifactory-web-application-4.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190) [artifactory-web-application-4.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156) [artifactory-web-application-4.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65) [artifactory-web-application-4.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109) [artifactory-web-application-4.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.22] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.22] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.22] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.22] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.22] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.22] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.22] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) [catalina.jar:8.0.22] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) [tomcat-coyote.jar:8.0.22] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) [tomcat-coyote.jar:8.0.22] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521) [tomcat-coyote.jar:8.0.22] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478) [tomcat-coyote.jar:8.0.22] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_66] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.22] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66] Caused by: java.sql.SQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeLargeUpdate(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.artifactory.storage.db.util.JdbcHelper.executeUpdate(JdbcHelper.java:160) ~[artifactory-storage-db-4.5.1.jar:na] at org.artifactory.storage.db.build.dao.BuildsDao.createBuild(BuildsDao.java:65) ~[artifactory-storage-db-4.5.1.jar:na] at org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:119) ~[artifactory-storage-db-4.5.1.jar:na] ... 76 common frames omitted Caused by: org.apache.derby.iapi.error.StandardException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) ~[derby-10.11.1.1.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) ~[derby-10.11.1.1.jar:na] ... 83 common frames omitted

    JFrog JIRA | 9 months ago | Joseph Fouad
    org.artifactory.storage.StorageException: Could not insert build Build{version='1.0.1', name='Tradenity', number='22', type=GENERIC, buildAgent=Generic/Generic, agent=hudson/1.648, started='2016-03-01T12:05:06.642+0200', durationMillis=18018, principal='anonymous', artifactoryPrincipal='admin', artifactoryPluginVersion='2.4.7', url='http://localhost:8088/job/Tradenity/22/', parentName='null', parentNumber='null', vcsRevision='7fdaa715b604d2a27eed956af5560a06a1d6ebe8', vcsUrl='null', parentBuildId='null', licenseControl=org.jfrog.build.api.LicenseControl@399632b2, buildRetention=org.jfrog.build.api.BuildRetention@26e7505f, runParameters=null, modules=[org.jfrog.build.api.Module@39c3f4dc], statuses=null, buildDependencies=[], issues=null, governance=org.jfrog.build.api.Governance@533a0edd}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When adding the MSBuild plugin on the solution level, the Artifactory is added to all the projects on the solution. Hence - when building - the plugin tries to create different build entries on the Artifactory side that are all using the same name. This is why the following exception is caught: and on Artifactory Side: Artifactory.log ========================= 2015-01-20 16:50:28,769 [http-bio-8081-exec-7] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'nuget-release-local:myproject/Debug/core.dll' Content-Length: 4608 2015-01-20 16:50:28,808 [http-bio-8081-exec-5] [INFO ] (o.a.r.r.c.BuildResource:286) - Adding build 'multi-example-tfs #multi-example-tfs_20150120.6' 2015-01-20 16:50:28,830 [http-bio-8081-exec-6] [INFO ] (o.a.r.r.c.BuildResource:286) - Adding build 'multi-example-tfs #multi-example-tfs_20150120.6' 2015-01-20 16:50:28,838 [http-bio-8081-exec-5] [INFO ] (o.a.r.r.c.BuildResource:303) - Added build 'multi-example-tfs #multi-example-tfs_20150120.6' 2015-01-20 16:50:28,847 [http-bio-8081-exec-6] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Could not insert build org.jfrog.build.api.Build@5ccf3b3d org.artifactory.storage.StorageException: Could not insert build org.jfrog.build.api.Build@5ccf3b3d at org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:135) ~[artifactory-storage-db-3.4.2.jar:na] at org.artifactory.build.BuildServiceImpl.addBuild(BuildServiceImpl.java:175) ~[artifactory-core-3.4.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) ~[spring-tx-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) ~[spring-tx-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) ~[spring-tx-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:64) ~[artifactory-storage-common-3.4.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at com.sun.proxy.$Proxy62.addBuild(Unknown Source) ~[na:na] at org.artifactory.rest.resource.ci.BuildResource.addBuild(BuildResource.java:295) ~[artifactory-rest-3.4.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$VoidOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:167) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) [jersey-server-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) [jersey-servlet-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) [jersey-servlet-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) [jersey-servlet-1.12.jar:1.12] at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:173) [artifactory-web-application-3.4.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.4.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:314) [artifactory-web-application-3.4.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:218) [artifactory-web-application-3.4.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:184) [artifactory-web-application-3.4.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:152) [artifactory-web-application-3.4.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:62) [artifactory-web-application-3.4.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:92) [artifactory-web-application-3.4.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) [tomcat-coyote.jar:7.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.39] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote.jar:7.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] Caused by: java.sql.SQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.artifactory.storage.db.util.JdbcHelper.executeUpdate(JdbcHelper.java:131) ~[artifactory-storage-db-3.4.2.jar:na] at org.artifactory.storage.db.build.dao.BuildsDao.createBuild(BuildsDao.java:67) ~[artifactory-storage-db-3.4.2.jar:na] at org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:132) ~[artifactory-storage-db-3.4.2.jar:na] ... 65 common frames omitted Caused by: org.apache.derby.impl.jdbc.EmbedSQLException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 77 common frames omitted Caused by: org.apache.derby.iapi.error.StandardException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 71 common frames omitted And the request.log ===================================== 20150120164719|46|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/|HTTP/1.1|200|0 20150120164721|85|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/|HTTP/1.1|200|0 20150120164721|69|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/multi-example-tfs_20150119.5/2015-01-19T18:34:22.220-0800/|HTTP/1.1|200|0 20150120164730|26|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/multi-example-tfs_20150119.5/2015-01-19T18:34:22.220-0800/|HTTP/1.1|200|0 20150120164733|78|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/|HTTP/1.1|200|0 20150120164903|90|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|302|0 20150120164903|2|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|200|0 20150120164952|37|REQUEST|10.60.1.21|admin|PUT|/nuget-release-local/myproject/Debug/api.dll;qa=ready;myprop=myval;build.name=api;build.number=1421801391;build.timestamp=1421801391;vcs.revision=|HTTP/1.1|201|4608 20150120164952|51|REQUEST|10.60.1.21|admin|PUT|/nuget-release-local/myproject/Debug/core.dll;qa=ready;myprop=myval;build.name=core;build.number=1421801391;build.timestamp=1421801391;vcs.revision=|HTTP/1.1|201|4608 20150120164952|49|REQUEST|10.60.1.21|admin|PUT|/api/build|HTTP/1.1|204|1446 20150120164952|83|REQUEST|10.60.1.21|admin|PUT|/api/build|HTTP/1.1|204|1558 20150120164952|55|REQUEST|10.60.1.21|admin|PUT|/api/build|HTTP/1.1|204|1561 20150120165028|41|REQUEST|fe80:0:0:0:41e3:8b65:aea5:9800%12|admin|PUT|/nuget-release-local/myproject/Debug/core.dll;qa=ready;myprop=myval;build.name=multi-example-tfs;build.number=multi-example-tfs_20150120.6;build.timestamp=1421801428;vcs.revision=LG%3Arefs%2Fheads%2Fmaster%3A18ea75553149766e08ee5a60225bd4d3943f0c3e|HTTP/1.1|201|4608 20150120165028|36|REQUEST|fe80:0:0:0:41e3:8b65:aea5:9800%12|admin|PUT|/api/build|HTTP/1.1|204|1633 20150120165028|21|REQUEST|fe80:0:0:0:41e3:8b65:aea5:9800%12|admin|PUT|/api/build|HTTP/1.1|500|1752 20150120165047|2|REQUEST|10.60.1.47|admin|GET|/webapp/artifactshome.html|HTTP/1.1|302|0 20150120165047|92|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|302|0 20150120165047|1|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|200|0 20150120165048|90|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|302|0 20150120165048|2|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|200|0 20150120165049|21|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|200|0 20150120165050|50|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/|HTTP/1.1|200|0 20150120165104|15|REQUEST|10.60.1.47|admin|GET|/webapp/admin.html|HTTP/1.1|302|0 20150120165105|194|REQUEST|10.60.1.47|admin|GET|/webapp/generalconfig.html|HTTP/1.1|302|0 20150120165105|2|REQUEST|10.60.1.47|admin|GET|/webapp/generalconfig.html|HTTP/1.1|200|0 20150120165107|273|REQUEST|10.60.1.47|admin|GET|/webapp/systemlogs.html|HTTP/1.1|302|0

    JFrog JIRA | 2 years ago | Michal Reuven
    org.artifactory.storage.StorageException: Could not insert build org.jfrog.build.api.Build@5ccf3b3d
  6. 0

    When adding the MSBuild plugin on the solution level, the Artifactory is added to all the projects on the solution. Hence - when building - the plugin tries to create different build entries on the Artifactory side that are all using the same name. This is why the following exception is caught: and on Artifactory Side: Artifactory.log ========================= 2015-01-20 16:50:28,769 [http-bio-8081-exec-7] [INFO ] (o.a.e.UploadServiceImpl:479) - Deploy to 'nuget-release-local:myproject/Debug/core.dll' Content-Length: 4608 2015-01-20 16:50:28,808 [http-bio-8081-exec-5] [INFO ] (o.a.r.r.c.BuildResource:286) - Adding build 'multi-example-tfs #multi-example-tfs_20150120.6' 2015-01-20 16:50:28,830 [http-bio-8081-exec-6] [INFO ] (o.a.r.r.c.BuildResource:286) - Adding build 'multi-example-tfs #multi-example-tfs_20150120.6' 2015-01-20 16:50:28,838 [http-bio-8081-exec-5] [INFO ] (o.a.r.r.c.BuildResource:303) - Added build 'multi-example-tfs #multi-example-tfs_20150120.6' 2015-01-20 16:50:28,847 [http-bio-8081-exec-6] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Could not insert build org.jfrog.build.api.Build@5ccf3b3d org.artifactory.storage.StorageException: Could not insert build org.jfrog.build.api.Build@5ccf3b3d at org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:135) ~[artifactory-storage-db-3.4.2.jar:na] at org.artifactory.build.BuildServiceImpl.addBuild(BuildServiceImpl.java:175) ~[artifactory-core-3.4.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) ~[spring-tx-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) ~[spring-tx-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) ~[spring-tx-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:64) ~[artifactory-storage-common-3.4.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at com.sun.proxy.$Proxy62.addBuild(Unknown Source) ~[na:na] at org.artifactory.rest.resource.ci.BuildResource.addBuild(BuildResource.java:295) ~[artifactory-rest-3.4.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$VoidOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:167) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) [jersey-server-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) [jersey-servlet-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) [jersey-servlet-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) [jersey-servlet-1.12.jar:1.12] at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:173) [artifactory-web-application-3.4.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.4.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:314) [artifactory-web-application-3.4.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:218) [artifactory-web-application-3.4.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:184) [artifactory-web-application-3.4.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:152) [artifactory-web-application-3.4.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:62) [artifactory-web-application-3.4.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:92) [artifactory-web-application-3.4.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) [tomcat-coyote.jar:7.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.39] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote.jar:7.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51] Caused by: java.sql.SQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.artifactory.storage.db.util.JdbcHelper.executeUpdate(JdbcHelper.java:131) ~[artifactory-storage-db-3.4.2.jar:na] at org.artifactory.storage.db.build.dao.BuildsDao.createBuild(BuildsDao.java:67) ~[artifactory-storage-db-3.4.2.jar:na] at org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:132) ~[artifactory-storage-db-3.4.2.jar:na] ... 65 common frames omitted Caused by: org.apache.derby.impl.jdbc.EmbedSQLException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 77 common frames omitted Caused by: org.apache.derby.iapi.error.StandardException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 71 common frames omitted And the request.log ===================================== 20150120164719|46|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/|HTTP/1.1|200|0 20150120164721|85|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/|HTTP/1.1|200|0 20150120164721|69|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/multi-example-tfs_20150119.5/2015-01-19T18:34:22.220-0800/|HTTP/1.1|200|0 20150120164730|26|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/multi-example-tfs_20150119.5/2015-01-19T18:34:22.220-0800/|HTTP/1.1|200|0 20150120164733|78|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/|HTTP/1.1|200|0 20150120164903|90|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|302|0 20150120164903|2|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|200|0 20150120164952|37|REQUEST|10.60.1.21|admin|PUT|/nuget-release-local/myproject/Debug/api.dll;qa=ready;myprop=myval;build.name=api;build.number=1421801391;build.timestamp=1421801391;vcs.revision=|HTTP/1.1|201|4608 20150120164952|51|REQUEST|10.60.1.21|admin|PUT|/nuget-release-local/myproject/Debug/core.dll;qa=ready;myprop=myval;build.name=core;build.number=1421801391;build.timestamp=1421801391;vcs.revision=|HTTP/1.1|201|4608 20150120164952|49|REQUEST|10.60.1.21|admin|PUT|/api/build|HTTP/1.1|204|1446 20150120164952|83|REQUEST|10.60.1.21|admin|PUT|/api/build|HTTP/1.1|204|1558 20150120164952|55|REQUEST|10.60.1.21|admin|PUT|/api/build|HTTP/1.1|204|1561 20150120165028|41|REQUEST|fe80:0:0:0:41e3:8b65:aea5:9800%12|admin|PUT|/nuget-release-local/myproject/Debug/core.dll;qa=ready;myprop=myval;build.name=multi-example-tfs;build.number=multi-example-tfs_20150120.6;build.timestamp=1421801428;vcs.revision=LG%3Arefs%2Fheads%2Fmaster%3A18ea75553149766e08ee5a60225bd4d3943f0c3e|HTTP/1.1|201|4608 20150120165028|36|REQUEST|fe80:0:0:0:41e3:8b65:aea5:9800%12|admin|PUT|/api/build|HTTP/1.1|204|1633 20150120165028|21|REQUEST|fe80:0:0:0:41e3:8b65:aea5:9800%12|admin|PUT|/api/build|HTTP/1.1|500|1752 20150120165047|2|REQUEST|10.60.1.47|admin|GET|/webapp/artifactshome.html|HTTP/1.1|302|0 20150120165047|92|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|302|0 20150120165047|1|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|200|0 20150120165048|90|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|302|0 20150120165048|2|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|200|0 20150120165049|21|REQUEST|10.60.1.47|admin|GET|/webapp/builds/|HTTP/1.1|200|0 20150120165050|50|REQUEST|10.60.1.47|admin|GET|/webapp/builds/multi-example-tfs/|HTTP/1.1|200|0 20150120165104|15|REQUEST|10.60.1.47|admin|GET|/webapp/admin.html|HTTP/1.1|302|0 20150120165105|194|REQUEST|10.60.1.47|admin|GET|/webapp/generalconfig.html|HTTP/1.1|302|0 20150120165105|2|REQUEST|10.60.1.47|admin|GET|/webapp/generalconfig.html|HTTP/1.1|200|0 20150120165107|273|REQUEST|10.60.1.47|admin|GET|/webapp/systemlogs.html|HTTP/1.1|302|0

    JFrog JIRA | 2 years ago | Michal Reuven
    org.artifactory.storage.StorageException: Could not insert build org.jfrog.build.api.Build@5ccf3b3d

  1. davidvanlaatum 15 times, last 7 days ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.derby.iapi.error.StandardException

    The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'BUILDS_NAME_NUMBER_DATE_IDX' defined on 'BUILDS'.

    at org.apache.derby.iapi.error.StandardException.newException()
  2. Derby
    EmbedPreparedStatement.executeUpdate
    1. org.apache.derby.iapi.error.StandardException.newException(Unknown Source)[derby-10.11.1.1.jar:na]
    2. org.apache.derby.iapi.error.StandardException.newException(Unknown Source)[derby-10.11.1.1.jar:na]
    3. org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source)[derby-10.11.1.1.jar:na]
    4. org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source)[derby-10.11.1.1.jar:na]
    5. org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source)[derby-10.11.1.1.jar:na]
    6. org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source)[derby-10.11.1.1.jar:na]
    7. org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source)[derby-10.11.1.1.jar:na]
    8. org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source)[derby-10.11.1.1.jar:na]
    9. org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)[derby-10.11.1.1.jar:na]
    10. org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)[derby-10.11.1.1.jar:na]
    11. org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)[derby-10.11.1.1.jar:na]
    12. org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)[derby-10.11.1.1.jar:na]
    13. org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)[derby-10.11.1.1.jar:na]
    14. org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeLargeUpdate(Unknown Source)[derby-10.11.1.1.jar:na]
    15. org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)[derby-10.11.1.1.jar:na]
    15 frames
  3. org.artifactory.storage
    BuildStoreServiceImpl.addBuild
    1. org.artifactory.storage.db.util.JdbcHelper.executeUpdate(JdbcHelper.java:160)[artifactory-storage-db-4.5.1.jar:na]
    2. org.artifactory.storage.db.build.dao.BuildsDao.createBuild(BuildsDao.java:65)[artifactory-storage-db-4.5.1.jar:na]
    3. org.artifactory.storage.db.build.service.BuildStoreServiceImpl.addBuild(BuildStoreServiceImpl.java:119)[artifactory-storage-db-4.5.1.jar:na]
    3 frames
  4. org.artifactory.build
    BuildServiceImpl.addBuild
    1. org.artifactory.build.BuildServiceImpl.addBuild(BuildServiceImpl.java:193)[artifactory-core-4.5.1.jar:na]
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source)[na:na]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66]
    3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66]
    3 frames
  6. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3 frames
  7. org.artifactory.storage
    LockingAdvice.invoke
    1. org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76)[artifactory-storage-common-4.5.1.jar:na]
    1 frame
  8. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2 frames
  9. com.sun.proxy
    $Proxy98.addBuild
    1. com.sun.proxy.$Proxy98.addBuild(Unknown Source)[na:na]
    1 frame
  10. org.artifactory.build
    BuildServiceImpl.addBuild
    1. org.artifactory.build.BuildServiceImpl.addBuild(BuildServiceImpl.java:172)[artifactory-core-4.5.1.jar:na]
    1 frame
  11. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)[na:na]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66]
    3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66]
    3 frames
  12. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3 frames
  13. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    3 frames
  14. org.artifactory.storage
    LockingAdvice.invoke
    1. org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-storage-common-4.5.1.jar:na]
    1 frame
  15. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
    2 frames
  16. com.sun.proxy
    $Proxy98.addBuild
    1. com.sun.proxy.$Proxy98.addBuild(Unknown Source)[na:na]
    1 frame
  17. org.artifactory.rest
    BuildResource.addBuild
    1. org.artifactory.rest.resource.ci.BuildResource.addBuild(BuildResource.java:305)[artifactory-rest-4.5.1.jar:na]
    1 frame
  18. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)[na:na]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66]
    3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66]
    3 frames
  19. Jersey
    WebApplicationImpl.handleRequest
    1. com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[jersey-server-1.19.jar:1.19]
    2. com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$VoidOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:167)[jersey-server-1.19.jar:1.19]
    3. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[jersey-server-1.19.jar:1.19]
    4. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[jersey-server-1.19.jar:1.19]
    5. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[jersey-server-1.19.jar:1.19]
    6. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19]
    7. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[jersey-server-1.19.jar:1.19]
    8. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[jersey-server-1.19.jar:1.19]
    9. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[jersey-server-1.19.jar:1.19]
    10. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[jersey-server-1.19.jar:1.19]
    11. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[jersey-server-1.19.jar:1.19]
    11 frames
  20. Jersey
    ServletContainer.service
    1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[jersey-servlet-1.19.jar:1.19]
    2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[jersey-servlet-1.19.jar:1.19]
    3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[jersey-servlet-1.19.jar:1.19]
    3 frames
  21. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[servlet-api.jar:na]
    1 frame
  22. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)[catalina.jar:8.0.22]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.22]
    2 frames
  23. org.artifactory.webapp
    RepoFilter.doFilter
    1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198)[artifactory-web-application-4.5.1.jar:na]
    2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89)[artifactory-web-application-4.5.1.jar:na]
    2 frames
  24. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.22]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.22]
    2 frames
  25. org.artifactory.webapp
    AccessFilter.doFilter
    1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:334)[artifactory-web-application-4.5.1.jar:na]
    2. org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:234)[artifactory-web-application-4.5.1.jar:na]
    3. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190)[artifactory-web-application-4.5.1.jar:na]
    4. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156)[artifactory-web-application-4.5.1.jar:na]
    4 frames
  26. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.22]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.22]
    2 frames
  27. org.artifactory.webapp
    RequestFilter.doFilter
    1. org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65)[artifactory-web-application-4.5.1.jar:na]
    1 frame
  28. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.22]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.22]
    2 frames
  29. org.artifactory.webapp
    ArtifactoryFilter.doFilter
    1. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109)[artifactory-web-application-4.5.1.jar:na]
    1 frame
  30. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.22]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.22]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)[catalina.jar:8.0.22]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.22]
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)[catalina.jar:8.0.22]
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.22]
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.22]
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)[catalina.jar:8.0.22]
    8 frames
  31. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)[tomcat-coyote.jar:8.0.22]
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)[tomcat-coyote.jar:8.0.22]
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)[tomcat-coyote.jar:8.0.22]
    4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)[tomcat-coyote.jar:8.0.22]
    4 frames
  32. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66]
    2 frames
  33. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.22]
    1 frame
  34. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]
    1 frame