java.lang.reflect.InvocationTargetException

null

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web25

  • via Unknown by Alexey Gubin,
  • via Unknown by Alexey Gubin,
  • via Unknown by Jonathan Martens,
  • Stack trace

    • java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_05] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[na:1.7.0_05] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[na:1.7.0_05] at java.lang.reflect.Constructor.newInstance(Unknown Source)[na:1.7.0_05] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:236)[artifactory-web-application-3.1.0.jar:na] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$1(ArtifactoryContextConfigListener.java:174)[artifactory-web-application-3.1.0.jar:na] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:86)[artifactory-web-application-3.1.0.jar:na] Caused by: org.springframework.beans.factory.BeanInitializationException: Failed to initialize bean 'org.artifactory.state.model.ArtifactoryStateManager'.; nested exception is org.artifactory.storage.StorageException: Failed to load list of Artifactory servers at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217)[artifactory-core-3.1.0.jar:na] at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:110)[artifactory-core-3.1.0.jar:na] ... 7 more Caused by: org.artifactory.storage.StorageException: Failed to load list of Artifactory servers at org.artifactory.storage.db.servers.service.ArtifactoryServersServiceImpl.getAllArtifactoryServers(ArtifactoryServersServiceImpl.java:29)[artifactory-storage-db-3.1.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_05] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_05] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_05] at java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_05] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at $Proxy22.getAllArtifactoryServers(Unknown Source)[na:na] at org.artifactory.storage.db.servers.service.ArtifactoryServersCommonServiceImpl.getActiveMembers(ArtifactoryServersCommonServiceImpl.java:97)[artifactory-core-3.1.0.jar:na] at org.artifactory.storage.db.servers.service.ArtifactoryServersCommonServiceImpl.getOtherActiveMembers(ArtifactoryServersCommonServiceImpl.java:92)[artifactory-core-3.1.0.jar:na] at org.artifactory.addon.OssAddonsManager.verifyAllArtifactoryServers(OssAddonsManager.java:160)[artifactory-common-3.1.0.jar:na] at org.artifactory.state.ArtifactoryStateManagerImpl.init(ArtifactoryStateManagerImpl.java:47)[artifactory-core-3.1.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_05] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_05] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_05] at java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_05] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:64)[artifactory-storage-common-3.1.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at $Proxy56.init(Unknown Source)[na:na] at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:215)[artifactory-core-3.1.0.jar:na] ... 8 more Caused by: java.sql.SQLSyntaxErrorException: Table/View 'ARTIFACTORY_SERVERS' does not exist. 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.execute(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedStatement.executeQuery(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)[commons-dbcp-1.4.jar:1.4] at org.artifactory.storage.db.util.JdbcHelper.executeSelect(JdbcHelper.java:85)[artifactory-storage-db-3.1.0.jar:na] at org.artifactory.storage.db.servers.dao.ArtifactoryServersDao.getAllArtifactoryServers(ArtifactoryServersDao.java:84)[artifactory-storage-db-3.1.0.jar:na] at org.artifactory.storage.db.servers.service.ArtifactoryServersServiceImpl.getAllArtifactoryServers(ArtifactoryServersServiceImpl.java:27)[artifactory-storage-db-3.1.0.jar:na] ... 32 more Caused by: org.apache.derby.impl.jdbc.EmbedSQLException: Table/View 'ARTIFACTORY_SERVERS' does not exist. 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] ... 45 more Caused by: org.apache.derby.iapi.error.StandardException: Table/View 'ARTIFACTORY_SERVERS' does not exist. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)[derby-10.9.1.0.jar:na] ... 39 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    stigkjstigkj
    5 times, last one
    andyglickandyglick
    Once,
    Unknown visitor
    Unknown visitorOnce,