Karl Wright created CONNECTORS-504:
--------------------------------------
Summary: ^C in single-process example prints stack trace
Key: CONNECTORS-504
URL: https://issues.apache.org/jira/browse/CONNECTORS-504
Project: ManifoldCF
Issue Type: Bug
Environment: Windows 7
Reporter: Karl Wright
Assignee: Karl Wright
When you ^C in the single process example, you may get a stack trace:
{code}
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: E
xception doing query: Schema 'MANIFOLDCF' does not exist
at org.apache.manifoldcf.core.database.Database.executeViaThread(Databas
e.java:681)
at org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Dat
abase.java:727)
at org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.creat
e(Database.java:1394)
at org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndEx
ecute(CacheManager.java:144)
at org.apache.manifoldcf.core.database.Database.executeQuery(Database.ja
va:186)
at org.apache.manifoldcf.core.database.DBInterfaceDerby.performQuery(DBI
nterfaceDerby.java:965)
at org.apache.manifoldcf.core.database.BaseTable.performQuery(BaseTable.
java:221)
at org.apache.manifoldcf.agents.agentmanager.AgentManager.getAllAgents(A
gentManager.java:218)
at org.apache.manifoldcf.agents.system.ManifoldCF.startAgents(ManifoldCF
.java:113)
at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.runAgents(Man
ifoldCFJettyRunner.java:150)
at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.main(Manifold
CFJettyRunner.java:244)
Caused by: java.sql.SQLSyntaxErrorException: Schema 'MANIFOLDCF' does not exist
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkn
own 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(Un
known Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown So
urce)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown So
urce)
at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
at org.apache.manifoldcf.core.database.Database.execute(Database.java:80
0)
at org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(D
atabase.java:641)
Caused by: java.sql.SQLException: Schema 'MANIFOLDCF' does not exist
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknow
n Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransport
AcrossDRDA(Unknown Source)
... 10 more
Caused by: ERROR 42Y07: Schema 'MANIFOLDCF' does not exist
at org.apache.derby.iapi.error.StandardException.newException(Unknown So
urce)
at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescrip
tor(Unknown Source)
at org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(U
nknown Source)
at org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(U
nknown Source)
at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(U
nknown Source)
at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unkn
own Source)
at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown
Source)
at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown
Source)
at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Sourc
e)
at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown So
urce)
at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepa
reInternalStatement(Unknown Source)
... 4 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira