security.AccessControlException in 
lang.RoutineSecurityTest.testGetSystemProperty with weme6.1
----------------------------------------------------------------------------------------------

                 Key: DERBY-3815
                 URL: https://issues.apache.org/jira/browse/DERBY-3815
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure
    Affects Versions: 10.5.0.0
         Environment: with weme6.1 / J2ME / JSR169 / CDCFoundation 1.1
            Reporter: Myrna van Lunteren


There was 1 error:
1) 
testGetSystemProperty(org.apache.derbyTesting.functionTests.tests.lang.RoutineSecurityTest)java.sql.SQLException:
 The exception 'java.security.AccessControlException: Access denied 
(java.util.PropertyPermission derbyRoutineSecurityTest.yes read)' was thrown 
while evaluating an expression.
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:87)
        at org.apache.derby.impl.jdbc.Util.seeNextException(Util.java:223)
        at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:398)
        at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:346)
        at 
org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2192)
        at 
org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:81)
        at 
org.apache.derby.impl.jdbc.EmbedResultSet.closeOnTransactionError(EmbedResultSet.java:4320)
        at 
org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:463)
        at 
org.apache.derby.impl.jdbc.EmbedResultSet.next(EmbedResultSet.java:367)
        at 
org.apache.derbyTesting.functionTests.tests.lang.RoutineSecurityTest.testGetSystemProperty(RoutineSecurityTest.java:130)
        at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:104)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
Caused by: java.sql.SQLException: Java exception: 'Access denied 
(java.util.PropertyPermission derbyRoutineSecurityTest.yes read): 
java.security.AccessControlException'.
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:87)
        at org.apache.derby.impl.jdbc.Util.javaException(Util.java:244)
        at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:403)
        ... 33 more
Caused by: java.security.AccessControlException: Access denied 
(java.util.PropertyPermission derbyRoutineSecurityTest.yes read)
        at 
java.security.AccessController.checkPermission(AccessController.java:104)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:618)
        at 
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:377)
        at java.lang.System.getProperty(System.java:364)
        at java.lang.System.getProperty(System.java:349)
        at 
org.apache.derby.exe.ac88da4230x011bx8e68xabc4xfffff60390230.e0(Unknown Source)
        at 
org.apache.derby.impl.services.reflect.DirectCall.invoke(ReflectGeneratedClass.java:139)
        at 
org.apache.derby.impl.sql.execute.RowResultSet.getNextRowCore(RowResultSet.java:148)
        at 
org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(BasicNoPutResultSetImpl.java:460)
        at 
org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:423)
        ... 27 more

Not exactly sure when this started failing, or even it it's just my machine; 
the nightlies haven't finished for a couple of days. Last good result: 
http://people.apache.org/~myrnavl/derby_test_results/main/windows/testSummary-678612.html


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to