Rick Hillegas created DERBY-6700:
------------------------------------

             Summary: Error in DatabaseClassLoadingTest.testSignedJar
                 Key: DERBY-6700
                 URL: https://issues.apache.org/jira/browse/DERBY-6700
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.11.1.1
            Reporter: Rick Hillegas


The following error was seen in a continuous integration run on the 10.11 
branch on platform ia32_jdk6: 
http://download.java.net/javadesktop/derby/request_5594356/

{noformat}
    java.sql.SQLSyntaxErrorException: The class 
'org.apache.derbyTesting.databaseclassloader.emc' does not exist or is 
inaccessible. This can happen if the class is not public.
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:95)
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:133)
        at org.apache.derby.impl.jdbc.Util.seeNextException(Util.java:255)
        at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:431)
        at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:353)
        at 
org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2396)
        at 
org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java:152)
        at 
org.apache.derby.jdbc.InternalDriver.newEmbedPreparedStatement(InternalDriver.java:727)
        at 
org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:1734)
        at 
org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:1562)
        at 
org.apache.derbyTesting.functionTests.tests.lang.DatabaseClassLoadingTest.signersTests(DatabaseClassLoadingTest.java:552)
        at 
org.apache.derbyTesting.functionTests.tests.lang.DatabaseClassLoadingTest.testSignedJar(DatabaseClassLoadingTest.java:546)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
        at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:440)
        at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:457)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
Caused by: ERROR 42X51: The class 
'org.apache.derbyTesting.databaseclassloader.emc' does not exist or is 
inaccessible. This can happen if the class is not public.
        at 
org.apache.derby.iapi.error.StandardException.newException(StandardException.java:290)
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:162)
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:74)
Caused by: java.lang.ClassNotFoundException: 
org.apache.derbyTesting.databaseclassloader.emc : Security exception thrown 
accessing class org.apache.derbyTesting.databaseclassloader.emc in jar 
"EMC"."MAIL_APP" : NotBefore: Thu Dec 01 19:06:44 CET 2005
        at 
org.apache.derby.impl.services.reflect.DatabaseClasses.loadApplicationClass(DatabaseClasses.java:254)
        at 
org.apache.derby.iapi.services.loader.ClassInspector.getClass(ClassInspector.java:935)
        at 
org.apache.derby.iapi.services.loader.ClassInspector.accessible(ClassInspector.java:131)
        at 
org.apache.derby.impl.sql.compile.QueryTreeNode.verifyClassExist(QueryTreeNode.java:1217)
        at 
org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpressionMinion(StaticMethodCallNode.java:384)
        at 
org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpression(StaticMethodCallNode.java:209)
        at 
org.apache.derby.impl.sql.compile.JavaToSQLValueNode.bindExpression(JavaToSQLValueNode.java:229)
        at 
org.apache.derby.impl.sql.compile.ResultColumn.bindExpression(ResultColumn.java:740)
        at 
org.apache.derby.impl.sql.compile.ResultColumnList.bindExpressions(ResultColumnList.java:824)
        at 
org.apache.derby.impl.sql.compile.RowResultSetNode.bindExpressions(RowResultSetNode.java:227)
        at 
org.apache.derby.impl.sql.compile.DMLStatementNode.bindExpressions(DMLStatementNode.java:209)
        at 
org.apache.derby.impl.sql.compile.DMLStatementNode.bind(DMLStatementNode.java:130)
        at 
org.apache.derby.impl.sql.compile.CursorNode.bindStatement(CursorNode.java:283)
        at 
org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:401)
        at 
org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:99)
        at 
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:1114)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java:134)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to