[
https://issues.apache.org/jira/browse/DERBY-5304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kathey Marsden resolved DERBY-5304.
-----------------------------------
Resolution: Fixed
Fix Version/s: 10.7.1.4
10.6.2.3
10.5.3.2
Assignee: Rick Hillegas (was: Kathey Marsden)
Reresolving and assign back to Rick. Ported back to 10.5
> test_derby_4779 (lang.GeneratedColumnsTest) fails with ibm 1.4.2; ERROR
> 42X50; No method was found that matched the method call
> java.lang.Integer.signum(int)
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-5304
> URL: https://issues.apache.org/jira/browse/DERBY-5304
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.9.0.0
> Environment: Suse Linux, ibm 1.4.2.
> Reporter: Myrna van Lunteren
> Assignee: Rick Hillegas
> Fix For: 10.5.3.2, 10.6.2.3, 10.7.1.4, 10.9.0.0, 10.8.2.2
>
>
> With trunk I see the following failure:
> 1)
> test_derby_4779(org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsTest)java.sql.SQLException:
> No method was found that matched the method call
> java.lang.Integer.signum(int), 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.SQLExceptionFactory.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.jdbc.Driver30.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.functionTests.tests.lang.GeneratedColumnsHelper.chattyPrepare(GeneratedColumnsHelper.java:166)
> at
> org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.goodStatement(GeneratedColumnsHelper.java:144)
> at
> org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsTest.test_derby_4779(GeneratedColumnsTest.java:5496)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
> Code))
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
> Code))
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
> Code))
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java(Compiled
> Code))
> 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)
> 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)
> Caused by: ERROR 42X50: No method was found that matched the method call
> java.lang.Integer.signum(int), 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.iapi.error.StandardException.newException(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.MethodCallNode.throwNoMethodFound(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.MethodCallNode.resolveMethodCall(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpression(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.JavaToSQLValueNode.bindExpression(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.GenerationClauseNode.bindExpression(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.TableElementList.bindAndValidateGenerationClauses(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.CreateTableNode.bindStatement(Unknown
> Source)
> at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
> at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
> at
> org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown
> Source)
> ... 41 more
> I know Rick has been pushing the horse pulling the cart so we longer need to
> support 1.4.2 with 10.9, but that decision hasn't been made yet, so I have
> not stopped running the tests with this jvm.
> A simple if to prevent this test from running with jdk 1.4.2 is probably ok,
> considering our intention for 1.4.2.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira