java.lang.reflect.InvocationTargetException: null

JFrog JIRA | Alexey Gubin | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    _ _ __ _ /\ | | (_)/ _| | | / \ _ __| |_ _| |_ __ _ ___| |_ ___ _ __ _ _ / /\ \ | '__| __| | _/ _` |/ __| __/ _ \| '__| | | | / ____ \| | | |_| | || (_| | (__| || (_) | | | |_| | /_/ \_\_| \__|_|_| \__,_|\___|\__\___/|_| \__, | Version: 3.1.0 __/ | Revision: 30062 |___/ Artifactory Home: 'f:\Artifactory' 2013-12-18 19:12:56,782 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:200) - Refreshing Artifactory: startup date [Wed Dec 18 19:12:56 AZT 2013]; root of context hierarchy 2013-12-18 19:13:00,719 [art-init] [INFO ] (o.a.s.d.DbServiceImpl:183) - Database: Apache Derby 10.9.1.0 - (1344872). Driver: Apache Derby Embedded JDBC Driver 10.9.1.0 - (1344872) 2013-12-18 19:13:00,719 [art-init] [INFO ] (o.a.s.d.DbServiceImpl:185) - Connection URL: jdbc:derby:f:/Artifactory/data/derby 2013-12-18 19:13:02,610 [art-init] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:648) - Starting Quartz Scheduler now 2013-12-18 19:13:02,626 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:207) - Artifactory context starting up... 2013-12-18 19:13:02,641 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:212) - Initializing org.artifactory.storage.db.DbService 2013-12-18 19:13:02,657 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:212) - Initializing org.artifactory.config.ConfigurationChangesInterceptors 2013-12-18 19:13:02,657 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:212) - Initializing org.artifactory.config.InternalCentralConfigService 2013-12-18 19:13:02,704 [art-init] [INFO ] (o.a.d.r.CentralConfigReader:78) - The current Artifactory config schema namespace is 'http://artifactory.jfrog.org/xsd/1.5.3' The provided config does not seem to be compliant with it. 2013-12-18 19:13:02,719 [art-init] [INFO ] (o.a.d.r.CentralConfigReader:56) - Converting artifactory.config.xml version from 'v152' to 'v153' 2013-12-18 19:13:02,782 [art-init] [INFO ] (o.a.v.c.v.BlackDuckProxyConverter:38) - Converting BlackDuck intergration proxy settings 2013-12-18 19:13:03,391 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:212) - Initializing org.artifactory.state.model.ArtifactoryStateManager 2013-12-18 19:13:03,407 [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:90) - Application could not be initialized: Table/View 'ARTIFACTORY_SERVERS' does not exist. 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 common frames omitted 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 common frames omitted 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 common frames omitted 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 common frames omitted 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 common frames omitted

    JFrog JIRA | 3 years ago | Alexey Gubin
    java.lang.reflect.InvocationTargetException: null
  2. 0

    _ _ __ _ /\ | | (_)/ _| | | / \ _ __| |_ _| |_ __ _ ___| |_ ___ _ __ _ _ / /\ \ | '__| __| | _/ _` |/ __| __/ _ \| '__| | | | / ____ \| | | |_| | || (_| | (__| || (_) | | | |_| | /_/ \_\_| \__|_|_| \__,_|\___|\__\___/|_| \__, | Version: 3.1.0 __/ | Revision: 30062 |___/ Artifactory Home: 'f:\Artifactory' 2013-12-18 19:12:56,782 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:200) - Refreshing Artifactory: startup date [Wed Dec 18 19:12:56 AZT 2013]; root of context hierarchy 2013-12-18 19:13:00,719 [art-init] [INFO ] (o.a.s.d.DbServiceImpl:183) - Database: Apache Derby 10.9.1.0 - (1344872). Driver: Apache Derby Embedded JDBC Driver 10.9.1.0 - (1344872) 2013-12-18 19:13:00,719 [art-init] [INFO ] (o.a.s.d.DbServiceImpl:185) - Connection URL: jdbc:derby:f:/Artifactory/data/derby 2013-12-18 19:13:02,610 [art-init] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:648) - Starting Quartz Scheduler now 2013-12-18 19:13:02,626 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:207) - Artifactory context starting up... 2013-12-18 19:13:02,641 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:212) - Initializing org.artifactory.storage.db.DbService 2013-12-18 19:13:02,657 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:212) - Initializing org.artifactory.config.ConfigurationChangesInterceptors 2013-12-18 19:13:02,657 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:212) - Initializing org.artifactory.config.InternalCentralConfigService 2013-12-18 19:13:02,704 [art-init] [INFO ] (o.a.d.r.CentralConfigReader:78) - The current Artifactory config schema namespace is 'http://artifactory.jfrog.org/xsd/1.5.3' The provided config does not seem to be compliant with it. 2013-12-18 19:13:02,719 [art-init] [INFO ] (o.a.d.r.CentralConfigReader:56) - Converting artifactory.config.xml version from 'v152' to 'v153' 2013-12-18 19:13:02,782 [art-init] [INFO ] (o.a.v.c.v.BlackDuckProxyConverter:38) - Converting BlackDuck intergration proxy settings 2013-12-18 19:13:03,391 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:212) - Initializing org.artifactory.state.model.ArtifactoryStateManager 2013-12-18 19:13:03,407 [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:90) - Application could not be initialized: Table/View 'ARTIFACTORY_SERVERS' does not exist. 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 common frames omitted 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 common frames omitted 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 common frames omitted 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 common frames omitted 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 common frames omitted

    JFrog JIRA | 3 years ago | Alexey Gubin
    java.lang.reflect.InvocationTargetException: null
  3. 0

    When following the upgrade procedure for standalone installations as detailed in http://www.jfrog.com/confluence/display/RTF/Upgrading+Artifactory#UpgradingArtifactory-Upgradingfromv3.xtotheLatestVersion Artifactory will not start after an update. I find the following message in the log files: {code}2014-01-14 12:04:02,246 [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigList ener:90) - Application could not be initialized: Table/View 'ARTIFACTORY_SERVERS ' does not exist. java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_10] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_10] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) ~[na:1.7.0_10] at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_ 10] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.confi gure(ArtifactoryContextConfigListener.java:236) ~[artifactory-web-application-3. 1.0.jar:na] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.acces s$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.j ar:na] Caused by: org.springframework.beans.factory.BeanInitializationException: Failed to initialize bean 'org.artifactory.state.model.ArtifactoryStateManager'.; nest ed exception is org.artifactory.storage.StorageException: Failed to load list of Artifactory servers at org.artifactory.spring.ArtifactoryApplicationContext.refresh(Artifact oryApplicationContext.java:217) ~[artifactory-core-3.1.0.jar:na] at org.artifactory.spring.ArtifactoryApplicationContext.<init>(Artifacto ryApplicationContext.java:110) ~[artifactory-core-3.1.0.jar:na] ... 7 common frames omitted Caused by: org.artifactory.storage.StorageException: Failed to load list of Arti factory servers at org.artifactory.storage.db.servers.service.ArtifactoryServersServiceI mpl.getAllArtifactoryServers(ArtifactoryServersServiceImpl.java:29) ~[artifactor y-storage-db-3.1.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7. 0_10] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7. 0_10] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na: 1.7.0_10] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_10] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:317) ~[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.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.ArtifactoryServersCommonSe rviceImpl.getActiveMembers(ArtifactoryServersCommonServiceImpl.java:97) ~[artifa ctory-core-3.1.0.jar:na] at org.artifactory.storage.db.servers.service.ArtifactoryServersCommonSe rviceImpl.getOtherActiveMembers(ArtifactoryServersCommonServiceImpl.java:92) ~[a rtifactory-core-3.1.0.jar:na] at org.artifactory.addon.OssAddonsManager.verifyAllArtifactoryServers(Os sAddonsManager.java:160) ~[artifactory-common-3.1.0.jar:na] at org.artifactory.state.ArtifactoryStateManagerImpl.init(ArtifactorySta teManagerImpl.java:47) ~[artifactory-core-3.1.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7. 0_10] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7. 0_10] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na: 1.7.0_10] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_10] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:317) ~[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(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.RELEAS E] at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:110) ~[spring-tx-3.2.0.RELEASE.jar:3.2.0.RELEAS E] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvic e.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.RELEAS E] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.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(Artifact oryApplicationContext.java:215) ~[artifactory-core-3.1.0.jar:na] ... 8 common frames omitted Caused by: java.sql.SQLSyntaxErrorException: Table/View 'ARTIFACTORY_SERVERS' do es not exist. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkn own 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(Un known Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown So urce) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown So urce) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) ~[d erby-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(DelegatingSt atement.java:208) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingSt atement.java:208) ~[commons-dbcp-1.4.jar:1.4] at org.artifactory.storage.db.util.JdbcHelper.executeSelect(JdbcHelper.j ava:85) ~[artifactory-storage-db-3.1.0.jar:na] at org.artifactory.storage.db.servers.dao.ArtifactoryServersDao.getAllAr tifactoryServers(ArtifactoryServersDao.java:84) ~[artifactory-storage-db-3.1.0.j ar:na] at org.artifactory.storage.db.servers.service.ArtifactoryServersServiceI mpl.getAllArtifactoryServers(ArtifactoryServersServiceImpl.java:27) ~[artifactor y-storage-db-3.1.0.jar:na] ... 32 common frames omitted Caused by: org.apache.derby.impl.jdbc.EmbedSQLException: Table/View 'ARTIFACTORY _SERVERS' does not exist. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknow n Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransport AcrossDRDA(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 45 common frames omitted Caused by: org.apache.derby.iapi.error.StandardException: Table/View 'ARTIFACTOR Y_SERVERS' does not exist. at org.apache.derby.iapi.error.StandardException.newException(Unknown So urce) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(U nknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unkn own 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 Sourc e) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown So urce) ~[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.prepa reInternalStatement(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 39 common frames omitted{code} This makes me believe that the internal database upgrade at startup is failing. I have managed to revert the changes and can still run version 3.0.4 but I do not think this is expected behavior.

    JFrog JIRA | 3 years ago | Jonathan Martens
    java.lang.reflect.InvocationTargetException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Derby Table Not Being Created

    Stack Overflow | 6 years ago | taraloca
    java.sql.SQLSyntaxErrorException: Table/View 'APP.REQUIREMENTS' does not exist.
  6. 0

    SQLSyntaxErrorException while creating a table, using Apache Derby

    Stack Overflow | 5 years ago | user1144273
    java.sql.SQLSyntaxErrorException: Syntax error: Encountered "6" at line 1, column 15.

    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

      Table/View 'ARTIFACTORY_SERVERS' does not exist.

      at org.apache.derby.iapi.error.StandardException.newException()
    2. Derby
      EmbedStatement.executeQuery
      1. org.apache.derby.iapi.error.StandardException.newException(Unknown Source)[derby-10.9.1.0.jar:na]
      2. org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)[derby-10.9.1.0.jar:na]
      3. org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)[derby-10.9.1.0.jar:na]
      4. org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)[derby-10.9.1.0.jar:na]
      5. org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)[derby-10.9.1.0.jar:na]
      6. org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)[derby-10.9.1.0.jar:na]
      7. org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)[derby-10.9.1.0.jar:na]
      8. org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)[derby-10.9.1.0.jar:na]
      9. org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)[derby-10.9.1.0.jar:na]
      10. org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)[derby-10.9.1.0.jar:na]
      11. org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)[derby-10.9.1.0.jar:na]
      12. org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)[derby-10.9.1.0.jar:na]
      13. org.apache.derby.impl.jdbc.EmbedStatement.executeQuery(Unknown Source)[derby-10.9.1.0.jar:na]
      13 frames
    3. Commons DBCP
      DelegatingStatement.executeQuery
      1. org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)[commons-dbcp-1.4.jar:1.4]
      2. org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)[commons-dbcp-1.4.jar:1.4]
      2 frames
    4. org.artifactory.storage
      ArtifactoryServersServiceImpl.getAllArtifactoryServers
      1. org.artifactory.storage.db.util.JdbcHelper.executeSelect(JdbcHelper.java:85)[artifactory-storage-db-3.1.0.jar:na]
      2. org.artifactory.storage.db.servers.dao.ArtifactoryServersDao.getAllArtifactoryServers(ArtifactoryServersDao.java:84)[artifactory-storage-db-3.1.0.jar:na]
      3. org.artifactory.storage.db.servers.service.ArtifactoryServersServiceImpl.getAllArtifactoryServers(ArtifactoryServersServiceImpl.java:27)[artifactory-storage-db-3.1.0.jar:na]
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_05]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_05]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_05]
      4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_05]
      4 frames
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      2 frames
    7. Unknown
      $Proxy22.getAllArtifactoryServers
      1. $Proxy22.getAllArtifactoryServers(Unknown Source)[na:na]
      1 frame
    8. org.artifactory.storage
      ArtifactoryServersCommonServiceImpl.getOtherActiveMembers
      1. org.artifactory.storage.db.servers.service.ArtifactoryServersCommonServiceImpl.getActiveMembers(ArtifactoryServersCommonServiceImpl.java:97)[artifactory-core-3.1.0.jar:na]
      2. org.artifactory.storage.db.servers.service.ArtifactoryServersCommonServiceImpl.getOtherActiveMembers(ArtifactoryServersCommonServiceImpl.java:92)[artifactory-core-3.1.0.jar:na]
      2 frames
    9. org.artifactory.addon
      OssAddonsManager.verifyAllArtifactoryServers
      1. org.artifactory.addon.OssAddonsManager.verifyAllArtifactoryServers(OssAddonsManager.java:160)[artifactory-common-3.1.0.jar:na]
      1 frame
    10. org.artifactory.state
      ArtifactoryStateManagerImpl.init
      1. org.artifactory.state.ArtifactoryStateManagerImpl.init(ArtifactoryStateManagerImpl.java:47)[artifactory-core-3.1.0.jar:na]
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_05]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_05]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.7.0_05]
      4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.7.0_05]
      4 frames
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      3 frames
    13. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      1 frame
    14. org.artifactory.storage
      LockingAdvice.invoke
      1. org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:64)[artifactory-storage-common-3.1.0.jar:na]
      1 frame
    15. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      2 frames
    16. Unknown
      $Proxy56.init
      1. $Proxy56.init(Unknown Source)[na:na]
      1 frame
    17. org.artifactory.spring
      ArtifactoryApplicationContext.<init>
      1. org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:215)[artifactory-core-3.1.0.jar:na]
      2. org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:110)[artifactory-core-3.1.0.jar:na]
      2 frames
    18. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_05]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[na:1.7.0_05]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[na:1.7.0_05]
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)[na:1.7.0_05]
      4 frames
    19. org.artifactory.webapp
      ArtifactoryContextConfigListener$1.run
      1. org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:236)[artifactory-web-application-3.1.0.jar:na]
      2. org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$1(ArtifactoryContextConfigListener.java:174)[artifactory-web-application-3.1.0.jar:na]
      3. org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:86)[artifactory-web-application-3.1.0.jar:na]
      3 frames