[ https://issues.apache.org/jira/browse/DERBY-3536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580823#action_12580823
]
Rick Hillegas commented on DERBY-3536:
--------------------------------------
For the record, with this patch the regression tests run cleanly for me except for a problem
in the ManagementMBeanTest which I do not think is related to this change. I am inclined to
commit this patch on the assumption that the "unexpected: permission" problem is the separate
issue noted by Dan.
Here is the problem I saw in ManagementMBeanTest:
There was 1 failure:
1) testStartStopManagementFromApplication(org.apache.derbyTesting.functionTests.tests.management.ManagementMBeanTest)junit.framework.AssertionFailedError:
expected:<2> but was:<5>
at org.apache.derbyTesting.functionTests.tests.management.ManagementMBeanTest.startStopManagement(ManagementMBeanTest.java:86)
at org.apache.derbyTesting.functionTests.tests.management.ManagementMBeanTest.testStartStopManagementFromApplication(ManagementMBeanTest.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
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)
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)
FAILURES!!!
Tests run: 8562, Failures: 1, Errors: 0
> specialCollation() and noSpecialCollation() in TableFunctionTest fail with weme6.1.
> -----------------------------------------------------------------------------------
>
> Key: DERBY-3536
> URL: https://issues.apache.org/jira/browse/DERBY-3536
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure
> Affects Versions: 10.4.0.0, 10.5.0.0
> Reporter: A B
> Priority: Minor
> Attachments: derby-3536-01-aa-decimalCast.diff
>
>
> The "specialCollation()" and "noSpecialCollation()" fixtures in TableFunctionTest fail
when run with weme6.1. I have not explicitly confirmed but it looks like this may be related
to svn # 636004. The stack trace is:
> noSpecialCollation(o.a.dTesting.functionTests.tests.lang.TableFunctionTest)java.sql.SQLException:
An attempt was made to get a data value of type 'java.lang.Object' from a data value of type
'DECIMAL'.
> at o.a.d.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> at o.a.d.impl.jdbc.Util.generateCsSQLException(Unknown Source)
> at o.a.d.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
> at o.a.d.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
> at o.a.d.impl.jdbc.EmbedConnection.handleException(Unknown Source)
> at o.a.d.impl.jdbc.ConnectionChild.handleException(Unknown Source)
> at o.a.d.impl.jdbc.EmbedResultSet.closeOnTransactionError(Unknown Source)
> at o.a.d.impl.jdbc.EmbedResultSet.movePosition(Unknown Source)
> at o.a.d.impl.jdbc.EmbedResultSet.next(Unknown Source)
> at o.a.dTesting.functionTests.tests.lang.TableFunctionTest.assertResults(TableFunctionTest.java:1935)
> at o.a.dTesting.functionTests.tests.lang.TableFunctionTest.assertResults(TableFunctionTest.java:1776)
> at o.a.dTesting.functionTests.tests.lang.TableFunctionTest.assertResults(TableFunctionTest.java:1762)
> at o.a.dTesting.functionTests.tests.lang.TableFunctionTest.allLegalDatatypesVTIResults(TableFunctionTest.java:1178)
> at o.a.dTesting.functionTests.tests.lang.TableFunctionTest.tableFunctionTest(TableFunctionTest.java:921)
> at o.a.dTesting.functionTests.tests.lang.TableFunctionTest.noSpecialCollation(TableFunctionTest.java:897)
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> at o.a.dTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
> Caused by: ERROR 22005: An attempt was made to get a data value of type 'java.lang.Object'
from a data value of type 'DECIMAL'.
> at o.a.d.iapi.error.StandardException.newException(Unknown Source)
> at o.a.d.iapi.types.DataType.dataTypeConversion(Unknown Source)
> at o.a.d.iapi.types.DataType.getObject(Unknown Source)
> at o.a.d.impl.sql.execute.VTIResultSet.cast(Unknown Source)
> at o.a.d.impl.sql.execute.VTIResultSet.populateFromResultSet(Unknown Source)
> at o.a.d.impl.sql.execute.VTIResultSet.getNextRowCore(Unknown Source)
> at o.a.d.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(Unknown Source)
> Comments from RIck on derby-dev (in response to DERBY-3341 inquiry):
> "The handling of DECIMAL on the small device platform is different. The test may need
some special
> logic so that it calls the correct method for the small device environment."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.