db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (DERBY-2880) Several failures in TestDbMetaData: 'The parameter position '4' is out of range. The number of parameters for this prepared statement is '3'.
Date Sat, 30 Jun 2007 15:49:04 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Myrna van Lunteren reassigned DERBY-2880:
-----------------------------------------

    Assignee: Bernt M. Johnsen

> Several failures in TestDbMetaData: 'The parameter position '4' is out of range.  The
number of parameters for this prepared  statement is '3'.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2880
>                 URL: https://issues.apache.org/jira/browse/DERBY-2880
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>            Reporter: Ole Solberg
>            Assignee: Bernt M. Johnsen
>            Priority: Minor
>             Fix For: 10.4.0.0
>
>
> See e.g.
> http://dbtg.thresher.com/derby/test/tinderbox_trunk16/jvm1.6/testing/testlog/SunOS-5.10_i86pc-i386/551128-org.apache.derbyTesting.functionTests.suites.All_diff.txt
> There were 4 errors:
> 1) testGetFunctionColumnsStartingWithDUMMY(org.apache.derbyTesting.functionTests.tests.jdbc4.TestDbMetaData)java.sql.SQLException:
The parameter position '4' is out of range.  The number of parameters for this prepared  statement
is '3'.
> 	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.EmbedResultSet.noStateChangeException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.setString(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getFunctionColumns(Unknown Source)
> 	at org.apache.derbyTesting.functionTests.tests.jdbc4.TestDbMetaData.testGetFunctionColumnsStartingWithDUMMY(TestDbMetaData.java:293)
> 	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:88)
> 	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: java.sql.SQLException: The parameter position '4' is out of range.  The number
of parameters for this prepared  statement is '3'.
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
> 	... 38 more
> Caused by: ERROR XCL13: The parameter position '4' is out of range.  The number of parameters
for this prepared  statement is '3'.
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericParameterValueSet.checkPosition(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericParameterValueSet.getParameterForSet(Unknown Source)
> 	... 34 more

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


Mime
View raw message