java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Seems to only happen for maven-metadata.xml: 500 : Error at: Importing file '/opt/artemp/artifactory-1.3.0-rc-1/tmpExport/repositories/idi-snapshots-local/com/idi/claim-ishi-queries-client/maven-metadata.xml' into 'idi-snapshots-local' java.lang.RuntimeException: Failed to set xml data. at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(MetadataServiceImpl.java:405) at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadata(MetadataServiceImpl.java:170) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy18.setXmlMetadata(Unknown Source) at org.artifactory.jcr.fs.JcrFolder.importChildren(JcrFolder.java:440) at org.artifactory.repo.jcr.JcrRepoBase.importFrom(JcrRepoBase.java:512) at org.artifactory.repo.service.RepositoryServiceImpl.importRepo(RepositoryServiceImpl.java:655) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy12.importRepo(Unknown Source) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:68) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:34) at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.jackrabbit.core.data.DataStoreException: Can not insert new record: A lock could not be obtained within the time requested: A lock could not be obtained within the time requested at org.apache.jackrabbit.core.data.db.DbDataStore.convert(DbDataStore.java:592) at org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:295) at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:644) at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:123) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:609) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:525) at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2312) at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(MetadataServiceImpl.java:399) ... 33 more Caused by: java.sql.SQLException: A lock could not be obtained within the time requested at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:365) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:292) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:257) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:237) at org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:292) ... 40 more Caused by: ERROR 40XL1: A lock could not be obtained within the time requested at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) at org.apache.derby.impl.services.locks.ConcurrentLockSet.lockObject(Unknown Source) at org.apache.derby.impl.services.locks.AbstractPool.lockObject(Unknown Source) at org.apache.derby.impl.store.raw.xact.RowLocking3.lockRecordForWrite(Unknown Source) at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3._lockScan(Unknown Source) at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3.lockScan(Unknown Source) at org.apache.derby.impl.store.access.btree.LeafControlRow.splitFor(Unknown Source) at org.apache.derby.impl.store.access.btree.BranchControlRow.splitFor(Unknown Source) at org.apache.derby.impl.store.access.btree.BTreeController.start_xact_and_dosplit(Unknown Source) at org.apache.derby.impl.store.access.btree.BTreeController.doIns(Unknown Source) at org.apache.derby.impl.store.access.btree.BTreeController.insert(Unknown Source) at org.apache.derby.impl.store.access.btree.index.B2IController.insert(Unknown Source) at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source) at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source) at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source) at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source) at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source) at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source) at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source) at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) ... 48 more
    via by Yoav Landman,
  • Seems to only happen for maven-metadata.xml: 500 : Error at: Importing file '/opt/artemp/artifactory-1.3.0-rc-1/tmpExport/repositories/idi-snapshots-local/com/idi/claim-ishi-queries-client/maven-metadata.xml' into 'idi-snapshots-local' java.lang.RuntimeException: Failed to set xml data. at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(MetadataServiceImpl.java:405) at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadata(MetadataServiceImpl.java:170) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy18.setXmlMetadata(Unknown Source) at org.artifactory.jcr.fs.JcrFolder.importChildren(JcrFolder.java:440) at org.artifactory.repo.jcr.JcrRepoBase.importFrom(JcrRepoBase.java:512) at org.artifactory.repo.service.RepositoryServiceImpl.importRepo(RepositoryServiceImpl.java:655) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy12.importRepo(Unknown Source) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:68) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:34) at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.jackrabbit.core.data.DataStoreException: Can not insert new record: A lock could not be obtained within the time requested: A lock could not be obtained within the time requested at org.apache.jackrabbit.core.data.db.DbDataStore.convert(DbDataStore.java:592) at org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:295) at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:644) at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:123) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:609) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:525) at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2312) at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(MetadataServiceImpl.java:399) ... 33 more Caused by: java.sql.SQLException: A lock could not be obtained within the time requested at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:365) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:292) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:257) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:237) at org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:292) ... 40 more Caused by: ERROR 40XL1: A lock could not be obtained within the time requested at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) at org.apache.derby.impl.services.locks.ConcurrentLockSet.lockObject(Unknown Source) at org.apache.derby.impl.services.locks.AbstractPool.lockObject(Unknown Source) at org.apache.derby.impl.store.raw.xact.RowLocking3.lockRecordForWrite(Unknown Source) at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3._lockScan(Unknown Source) at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3.lockScan(Unknown Source) at org.apache.derby.impl.store.access.btree.LeafControlRow.splitFor(Unknown Source) at org.apache.derby.impl.store.access.btree.BranchControlRow.splitFor(Unknown Source) at org.apache.derby.impl.store.access.btree.BTreeController.start_xact_and_dosplit(Unknown Source) at org.apache.derby.impl.store.access.btree.BTreeController.doIns(Unknown Source) at org.apache.derby.impl.store.access.btree.BTreeController.insert(Unknown Source) at org.apache.derby.impl.store.access.btree.index.B2IController.insert(Unknown Source) at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown Source) at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown Source) at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source) at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown Source) at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source) at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source) at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source) at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) ... 48 more
    via by Yoav Landman,
  • Artifactory / Mailing Lists
    via by Unknown author,
  • java.sql.SQLException | ERROR 07000
    via by silverhair76,
    • java.lang.RuntimeException: Failed to set xml data. at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(MetadataServiceImpl.java:405) at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadata(MetadataServiceImpl.java:170) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy18.setXmlMetadata(Unknown Source) at org.artifactory.jcr.fs.JcrFolder.importChildren(JcrFolder.java:440) at org.artifactory.repo.jcr.JcrRepoBase.importFrom(JcrRepoBase.java:512) at org.artifactory.repo.service.RepositoryServiceImpl.importRepo(RepositoryServiceImpl.java:655) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy12.importRepo(Unknown Source) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:68) at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:34) at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.jackrabbit.core.data.DataStoreException: Can not insert new record: A lock could not be obtained within the time requested: A lock could not be obtained within the time requested at org.apache.jackrabbit.core.data.db.DbDataStore.convert(DbDataStore.java:592) at org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:295) at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:644) at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:123) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:609) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:525) at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2312) at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(MetadataServiceImpl.java:399) ... 33 more Caused by: java.sql.SQLException: A lock could not be obtained within the time requested at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:365) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:292) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:257) at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:237) at org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:292) ... 40 more

    Users with the same issue

    jf-ast
    1 times, last one,
    stigkj
    1 times, last one,
    andyglick
    1 times, last one,
    davidvanlaatum
    1 times, last one,
    muffinmannen
    81 times, last one,
    1 more bugmates