java.lang.RuntimeException: org.springframework.jdbc.BadSqlGrammarException: ExecutingSelector; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "core.Containers" does not exist   Position: 15

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>

Solutions on the web

via labkey.org by Unknown author, 2 years ago
org.springframework.jdbc.BadSqlGrammarException: ExecutingSelector; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "core.Containers" does not exist   Position: 15
via labkey.org by Unknown author, 1 year ago
The owner protected this stack trace.
via labkey.org by Unknown author, 1 year ago
org.springframework.jdbc.BadSqlGrammarException: ExecutingSelector; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "core.Containers" does not exist   Position: 15
via labkey.org by Unknown author, 1 year ago
org.springframework.jdbc.BadSqlGrammarException: ExecutingSelector; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "core.Containers" does not exist   Position: 15
via labkey.org by Unknown author, 1 year ago
org.springframework.jdbc.BadSqlGrammarException: ExecutingSelector; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "core.Containers" does not exist   Position: 15
via labkey.org by Unknown author, 2 years ago
org.springframework.jdbc.BadSqlGrammarException: ExecutingSelector; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "core.Containers" does not exist   Position: 15
java.lang.RuntimeException: org.springframework.jdbc.BadSqlGrammarException: ExecutingSelector; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "core.Containers" does not exist   Position: 15
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:561)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:405)
at org.labkey.api.data.dialect.StatementWrapper.executeQuery(StatementWrapper.java:916)
at org.labkey.api.data.SqlExecutingSelector$ExecutingResultSetFactory.executeQuery(SqlExecutingSelector.java:374)
at org.labkey.api.data.SqlExecutingSelector$ExecutingResultSetFactory.getResultSet(SqlExecutingSelector.java:324)
at org.labkey.api.data.BaseSelector.handleResultSet(BaseSelector.java:249)
at org.labkey.api.data.BaseSelector.getObject(BaseSelector.java:163)
at org.labkey.api.data.BaseSelector.getObject(BaseSelector.java:158)
at org.labkey.api.data.ContainerManager.getForPath(ContainerManager.java:870)
at org.labkey.api.data.ContainerManager.getForPath(ContainerManager.java:855)
at org.labkey.api.data.ContainerManager.getRoot(ContainerManager.java:909)
at org.labkey.api.settings.AbstractSettingsGroup.lookupStringValue(AbstractSettingsGroup.java:56)
at org.labkey.api.settings.AppPropsImpl.getServerGUID(AppPropsImpl.java:390)
at org.labkey.api.util.MothershipReport.addServerSessionParams(MothershipReport.java:281)
at org.labkey.api.util.ExceptionUtil.reportExceptionToMothership(ExceptionUtil.java:351)
at org.labkey.api.util.ExceptionUtil.logExceptionToMothership(ExceptionUtil.java:324)
at org.labkey.api.util.ExceptionUtil.logExceptionToMothership(ExceptionUtil.java:281)
at org.labkey.core.dialect.PostgreSql84Dialect$PostgreSQLColumnMetaDataReader.getDomainScale(PostgreSql84Dialect.java:1525)
at org.labkey.core.dialect.PostgreSql84Dialect$PostgreSQLColumnMetaDataReader.getScale(PostgreSql84Dialect.java:1506)
at org.labkey.api.data.ColumnInfo.createFromDatabaseMetaData(ColumnInfo.java:1468)
at org.labkey.api.data.SchemaColumnMetaData.loadColumnsFromMetaData(SchemaColumnMetaData.java:227)
at org.labkey.api.data.SchemaColumnMetaData.loadFromMetaData(SchemaColumnMetaData.java:182)
at org.labkey.api.data.SchemaColumnMetaData.(SchemaColumnMetaData.java:73)
at org.labkey.api.data.SchemaTableInfo.getColumnMetaData(SchemaTableInfo.java:404)
at org.labkey.api.data.SchemaTableInfo.getColumn(SchemaTableInfo.java:379)
at org.labkey.api.data.SchemaTableInfo.getContainerFieldKey(SchemaTableInfo.java:1053)
at org.labkey.api.data.SchemaTableInfo.getContainerContext(SchemaTableInfo.java:1044)
at org.labkey.api.data.SchemaTableInfo.afterConstruct(SchemaTableInfo.java:141)
at org.labkey.api.data.DbSchema.loadTable(DbSchema.java:361)
at org.labkey.api.data.SchemaTableInfoCache$SchemaTableLoader.load(SchemaTableInfoCache.java:87)
at org.labkey.api.data.SchemaTableInfoCache$SchemaTableLoader.load(SchemaTableInfoCache.java:77)
at org.labkey.api.cache.BlockingCache.get(BlockingCache.java:139)
at org.labkey.api.cache.BlockingCache.get(BlockingCache.java:81)
at org.labkey.api.data.SchemaTableInfoCache.get(SchemaTableInfoCache.java:44)
at org.labkey.api.data.DbScope.getTable(DbScope.java:794)
at org.labkey.api.data.DbSchema.getTable(DbSchema.java:497)
at org.labkey.api.data.CoreSchema.getTableInfoSqlScripts(CoreSchema.java:82)
at org.labkey.api.data.SqlScriptManager$CoreSqlScriptManager.getTableInfoSqlScripts(SqlScriptManager.java:328)
at org.labkey.api.data.SqlScriptManager.insert(SqlScriptManager.java:262)
at org.labkey.api.data.SqlScriptManager.runScript(SqlScriptManager.java:217)
at org.labkey.api.data.SqlScriptRunner.runScripts(SqlScriptRunner.java:82)
at org.labkey.api.module.DefaultModule.versionUpdate(DefaultModule.java:353)
at org.labkey.api.module.ModuleUpgrader.upgrade(ModuleUpgrader.java:59)
at org.labkey.api.module.ModuleLoader.upgradeCoreModule(ModuleLoader.java:943)
at org.labkey.api.module.ModuleLoader.doInit(ModuleLoader.java:352)
at org.labkey.api.module.ModuleLoader.init(ModuleLoader.java:255)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
32 times, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
Once, 1 year ago
104 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.