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 194307334 for ; Fri, 7 Oct 2011 02:04:55 +0000 (UTC) Received: (qmail 80928 invoked by uid 500); 7 Oct 2011 02:04:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 80898 invoked by uid 500); 7 Oct 2011 02:04:54 -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 80891 invoked by uid 99); 7 Oct 2011 02:04:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 02:04:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 02:04:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B08802AD78D for ; Fri, 7 Oct 2011 02:04:29 +0000 (UTC) Date: Fri, 7 Oct 2011 02:04:29 +0000 (UTC) From: "Kathey Marsden (Updated) (JIRA)" To: derby-dev@db.apache.org Message-ID: <118393955.6463.1317953069724.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2010584282.6445.1317952349845.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5449) 10.8 client with 10.5 server gives j ava.lang.ClassCastException: java.lang.Boolean incompatible with java.lang.Short in NetStatementRequest.buildFDODTA with CursorTest.testCursorParam() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-5449: ---------------------------------- Issue & fix info: Repro attached Bug behavior facts: Regression Summary: 10.8 client with 10.5 server gives j ava.lang.ClassCastException: java.lang.Boolean incompatible with java.lang.Short in NetStatementRequest.buildFDODTA with CursorTest.testCursorParam() (was: Clien) > 10.8 client with 10.5 server gives j ava.lang.ClassCastException: java.lang.Boolean incompatible with java.lang.Short in NetStatementRequest.buildFDODTA with CursorTest.testCursorParam() > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-5449 > URL: https://issues.apache.org/jira/browse/DERBY-5449 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 10.8.2.2 > Reporter: Kathey Marsden > Attachments: rjall_10_5_server_10_8LatestClient_out.txt > > > Using 10.8 client and 10.5 server and testing jars lang.CursorTest fails as follows: > Java Version: 1.6.0 > Java Vendor: IBM Corporation > Java home: C:\cygwin\ibmsvn\ntsoftware\ibm16\jre > Java classpath: .;c:/cygwin/svn4/10.8/jars/sane/derbyclient.jar;C:/cygwin/ibmreleases/10.5.3.2.1132854/derbyTesting.jar;C:/cygwin/ibmreleases/10.5.3. > 2.1132854/derbyrun.jar;C:/cygwin/svn4/trunka/tools/java/junit.jar;C:/cygwin/svn4/trunka/tools/java/jakarta-oro-2.0.8.jar > OS name: Windows XP > OS architecture: x86 > OS version: 5.1 build 2600 Service Pack 3 > Java user name: kmarsden > Java user home: C:\Documents and Settings\Administrator > Java user dir: C:\cygwin\home\kmarsden\repro\10_8cli10_5serverClassCast > java.specification.name: Java Platform API Specification > java.specification.version: 1.6 > java.runtime.version: jvmwi3260sr9-20110203_74623 > java.fullversion: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20110203_74623 (JIT enabled, AOT enabled) > J9VM - 20110203_074623 > JIT - r9_20101028_17488ifx3 > GC - 20101027_AA > --------- Derby Information -------- > JRE - JDBC: Java SE 6 - JDBC 4.0 > [C:\cygwin\ibmreleases\10.5.3.2.1132854\derby.jar] 10.5.3.2 - (1171883) > [C:\cygwin\ibmreleases\10.5.3.2.1132854\derbytools.jar] 10.5.3.2 - (1171883) > [C:\cygwin\ibmreleases\10.5.3.2.1132854\derbynet.jar] 10.5.3.2 - (1171883) > [C:\cygwin\svn4\10.8\jars\sane\derbyclient.jar] 10.8.2.2 - (1177062M) > ------------------------------------------------------ > ----------------- Locale Information ----------------- > Current Locale : [English/United States [en_US]] > Found support for locale: [cs] > version: 10.8.2.2 - (1177062M) > Found support for locale: [de_DE] > version: 10.8.2.2 - (1177062M) > Found support for locale: [es] > version: 10.8.2.2 - (1177062M) > Found support for locale: [fr] > version: 10.8.2.2 - (1177062M) > Found support for locale: [hu] > version: 10.8.2.2 - (1177062M) > Found support for locale: [it] > version: 10.8.2.2 - (1177062M) > Found support for locale: [ja_JP] > version: 10.8.2.2 - (1177062M) > Found support for locale: [ko_KR] > version: 10.8.2.2 - (1177062M) > Found support for locale: [pl] > version: 10.8.2.2 - (1177062M) > Found support for locale: [pt_BR] > version: 10.8.2.2 - (1177062M) > Found support for locale: [ru] > version: 10.8.2.2 - (1177062M) > Found support for locale: [zh_CN] > version: 10.8.2.2 - (1177062M) > Found support for locale: [zh_TW] > version: 10.8.2.2 - (1177062M) > ------------------------------------------------------ > + java -Xmx512M -Xms512M -Dderby.tests.debug=false -Dderby.tests.trace=true '-DderbyTesting.oldReleasePath=C:\cygwin\svnreleases\jars' junit.textui.Te > stRunner org.apache.derbyTesting.functionTests.tests.lang.CursorTest > + tee rju.out > . > testCursor used 312 ms . > testCursorParam used 156 ms . > testGetCursorName used 204 ms . > testCursor used 547 ms . > testCursorParam used 625 ms E. > testGetCursorName used 172 ms . > derby2417testSetCursorNextExecute used 125 ms > Time: 9.532 > There was 1 error: > 1) testCursorParam(org.apache.derbyTesting.functionTests.tests.lang.CursorTest)java.lang.ClassCastException: java.lang.Boolean incompatible with java. > lang.Short > at org.apache.derby.client.net.NetStatementRequest.buildFDODTA(NetStatementRequest.java:731) > at org.apache.derby.client.net.NetStatementRequest.buildSQLDTAcommandData(NetStatementRequest.java:540) > at org.apache.derby.client.net.NetStatementRequest.writeOpenQuery(NetStatementRequest.java:191) > at org.apache.derby.client.net.NetPreparedStatement.writeOpenQuery_(NetPreparedStatement.java:194) > at org.apache.derby.client.am.PreparedStatement.writeOpenQuery(PreparedStatement.java:1819) > at org.apache.derby.client.am.PreparedStatement.flowExecute(PreparedStatement.java:2062) > at org.apache.derby.client.am.PreparedStatement.executeQueryX(PreparedStatement.java:391) > at org.apache.derby.client.am.PreparedStatement.executeQuery(PreparedStatement.java:376) > at org.apache.derbyTesting.functionTests.tests.lang.CursorTest.testCursorParam(CursorTest.java:109) > 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:109) > 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: 7, Failures: 0, Errors: 1 > + set +x > There were quite a few (18?) other similar failures in the 10.8 client 10.5 server run, see output attached. -- 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