Yoaz created DERBY-7047:
---------------------------

             Summary: derby classCastException during SELECT statement
                 Key: DERBY-7047
                 URL: https://issues.apache.org/jira/browse/DERBY-7047
             Project: Derby
          Issue Type: Bug
    Affects Versions: 10.14.2.0
            Reporter: Yoaz


we use embedded derby for tests and get a ClassCastException during performing 
a select statement while run concurrently.

 

Caused by: java.sql.SQLException: Java exception: 
'org.apache.derby.iapi.services.io.FormatableBitSet cannot be cast to 
org.apache.derby.iapi.store.access.StaticCompiledOpenConglomInfo: 
java.lang.ClassCastException'.
 at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown 
Source)
 at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown 
Source)
 at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
 at org.apache.derby.impl.jdbc.Util.javaException(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.executeQuery(Unknown 
Source)
 at org.jfrog.storage.JdbcHelper.executeSelect(JdbcHelper.java:184)
 at org.jfrog.storage.JdbcHelper.executeSelect(JdbcHelper.java:152)
 at 
org.artifactory.storage.db.fs.dao.PropertiesDao.getNodeProperties(PropertiesDao.java:85)
 at 
org.artifactory.storage.db.fs.service.DbPropertiesServiceImpl.loadProperties(DbPropertiesServiceImpl.java:163)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to