[
https://issues.apache.org/jira/browse/DERBY-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700200#action_12700200
]
Rick Hillegas commented on DERBY-4169:
--------------------------------------
Thanks for running this test and logging this issue, Ole. Was this test run on
RC1? If so, it's puzzling why it turns up on RC2 but not RC1. Otherwise, this
is likely fallout from DERBY-3652 and the test needs to be updated so that the
Java method signature matches the SQL routine declaration according to the
ANSI/ISO rules.
> 'No method was found that matched the method call ....' in
> testPayment(org.apache.derbyTesting.system.oe.test.OperationsTester) on
> 10.5.1.1 (RC2)
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-4169
> URL: https://issues.apache.org/jira/browse/DERBY-4169
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure
> Affects Versions: 10.5.1.1
> Environment: HW:
> 8/2 X i86pc i386 Intel(r) Xeon(r) CPU E5450@ 3.00GHz: 2992 MHz,
> unknown cache. 8192 Megabytes Total Memory.
> OS:
> Solaris 10 10/08 s10x_u6wos_07b X86 64bits
> SunOS 5.10 Generic_137138-09
> JVM:
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> Reporter: Ole Solberg
> Priority: Minor
>
> Seen when running
> testPayment(org.apache.derbyTesting.system.oe.test.OperationsTester) with
> 10.5.1.1 (RC2).
> The test passed with no failures on 10.4.2.0.
> 1)
> testPayment(org.apache.derbyTesting.system.oe.test.OperationsTester)java.sql.SQLSyntaxErrorException:
> No method was found that matched the method call
> org.apache.derbyTesting.system.oe.routines.Data.dataForBadCredit(java.lang.String,
> short, short, short, short, int, java.math.BigDecimal), tried all
> combinations of object and primitive types and any possible type conversion
> for any parameters the method call may have. The method might exist but it
> is not public and/or static, or the parameter types are not method invocation
> convertible.
> at
> org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown
> Source)
> at org.apache.derby.impl.jdbc.Util.generateCsSQLException(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.EmbedPreparedStatement.<init>(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement40.<init>(Unknown
> Source)
> at org.apache.derby.jdbc.Driver40.newEmbedPreparedStatement(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
> at
> org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
> at
> org.apache.derbyTesting.system.oe.direct.StatementHelper.prepareStatement(StatementHelper.java:76)
> at
> org.apache.derbyTesting.system.oe.direct.Standard.paymentById(Standard.java:420)
> at
> org.apache.derbyTesting.system.oe.direct.Standard.payment(Standard.java:375)
> at
> org.apache.derbyTesting.system.oe.test.OperationsTester.testPayment(OperationsTester.java:134)
> 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:105)
> 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)
> Related to DERBY-1483, DERBY-3119, DERBY-2179, DERBY-3652?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.