Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 221E311D40 for ; Wed, 25 Jun 2014 12:14:25 +0000 (UTC) Received: (qmail 42846 invoked by uid 500); 25 Jun 2014 12:14:25 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 42812 invoked by uid 500); 25 Jun 2014 12:14:25 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 42758 invoked by uid 99); 25 Jun 2014 12:14:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2014 12:14:24 +0000 Date: Wed, 25 Jun 2014 12:14:24 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6637) test errors failures in lang.XMLTypeAndOpsTest, XMLBindingTest and XMLConcurrencyTest with ibm jvms MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043375#comment-14043375 ] ASF subversion and git services commented on DERBY-6637: -------------------------------------------------------- Commit 1605364 from [~knutanders] in branch 'code/trunk' [ https://svn.apache.org/r1605364 ] DERBY-6637: test errors failures in lang.XMLTypeAndOpsTest, XMLBindingTest and XMLConcurrencyTest with ibm jvms Work around quirk in IBM JVMs when security manager is enabled by broadening a catch block to include the exception thrown by IBM in such cases. > test errors failures in lang.XMLTypeAndOpsTest, XMLBindingTest and XMLConcurrencyTest with ibm jvms > --------------------------------------------------------------------------------------------------- > > Key: DERBY-6637 > URL: https://issues.apache.org/jira/browse/DERBY-6637 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.11.0.0 > Environment: windows and linux, with ibm 1.6, 1.7 > Reporter: Myrna van Lunteren > Assignee: Knut Anders Hatlen > Attachments: d6637-1a-workaround.diff, derby.log, error-stacktrace.out > > > With trunk built at revision 1604994, I see errors and failures like the following: > 1) testXMLQuery(org.apache.derbyTesting.functionTests.tests.lang.XMLTypeAndOpsTest)java.sql.SQLException: Encountered error while evaluating XML query expression for XMLQUERY operator: Could not load any resource bundles.org.apache.xpath.res.XPATHErrorResources > 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.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.EmbedResultSet.closeOnTransactionError(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedResultSet.next(Unknown Source) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1075) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:1025) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:982) > at org.apache.derbyTesting.functionTests.tests.lang.XMLTypeAndOpsTest.testXMLQuery(XMLTypeAndOpsTest.java:1618) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > 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 org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > Caused by: ERROR 10000: Encountered error while evaluating XML query expression for XMLQUERY operator: Could not load any resource bundles.org.apache.xpath.res.XPATHErrorResources > at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) > at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source) > ... 49 more > Caused by: java.util.MissingResourceException: Could not load any resource bundles.org.apache.xpath.res.XPATHErrorResources > at org.apache.xml.res.XMLMessages.loadResourceBundle(XMLMessages.java:189) > at org.apache.xpath.res.XPATHMessages.createXPATHMessage(XPATHMessages.java:53) > at org.apache.xpath.objects.XObject.error(XObject.java:701) > at org.apache.xpath.objects.XObject.nodelist(XObject.java:455) > at org.apache.xpath.jaxp.XPathExpressionImpl.getResultAsType(XPathExpressionImpl.java:357) > at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:100) > at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184) > at org.apache.derby.iapi.types.SqlXmlUtil.evaluate(Unknown Source) > at org.apache.derby.iapi.types.SqlXmlUtil.evalXQExpression(Unknown Source) > at org.apache.derby.iapi.types.XML.XMLQuery(Unknown Source) > at org.apache.derby.exe.acf63284d8x0146xcb97x285bx000029929fd62.e0(Unknown Source) > at org.apache.derby.impl.services.reflect.DirectCall.invoke(Unknown Source) > at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.doProjection(Unknown Source) > at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(Unknown Source) > at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(Unknown Source) > ... 41 more > See for instance this windows/ibm1.6 result: > http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm16/1604993-suites.All_diff.txt -- This message was sent by Atlassian JIRA (v6.2#6252)