You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2007/09/05 22:23:34 UTC

[jira] Created: (DERBY-3057) with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z

with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: DERBY-3057
                 URL: https://issues.apache.org/jira/browse/DERBY-3057
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure
    Affects Versions: 10.4.0.0
            Reporter: Kathey Marsden


testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed:
java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
	at org.apache.derbyTesting.junit.JDBC$GeneratedId.equals(JDBC.java:49)
	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:871)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:779)
	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:717)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertFunctionDBMD(TableFunctionTest.java:1154)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.simpleDDL(TableFunctionTest.java:888)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.testTableFunctions(TableFunctionTest.java:782)
	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
	at java.lang.reflect.Method.invoke(Method.java:253)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at TimeRunner.main(TimeRunner.java:31)
47	testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)

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


[jira] Commented: (DERBY-3057) with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z

Posted by "Daniel John Debrunner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526826 ] 

Daniel John Debrunner commented on DERBY-3057:
----------------------------------------------

3) is wrong, it's not caught by the test since 2) disables the check that would catch it.

For 2) the assert should be implemented for JSR169, in this case using getString() to obtain the String is sufficient.

For 3) fetching a DECIMAL in JSR 169 requires a getString() (since getBigDecimal) is not implemented.

> with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3057
>                 URL: https://issues.apache.org/jira/browse/DERBY-3057
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>            Reporter: Kathey Marsden
>         Attachments: DERBY-3057.diff_try1
>
>
> testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed:
> java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> 	at org.apache.derbyTesting.junit.JDBC$GeneratedId.equals(JDBC.java:49)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:871)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:779)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:717)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertFunctionDBMD(TableFunctionTest.java:1154)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.simpleDDL(TableFunctionTest.java:888)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.testTableFunctions(TableFunctionTest.java:782)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> 	at java.lang.reflect.Method.invoke(Method.java:253)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at TimeRunner.main(TimeRunner.java:31)
> 47	testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)

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


[jira] Updated: (DERBY-3057) with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-3057:
--------------------------------------

    Attachment: DERBY-3057.diff_try1

I'm attaching a patch, which 
1. implements the same functionality as JDBC.matches() for JSR169
    I verified this works by having the elaborate if be the code executed for jdk14 and running the test TableFuncionTest; that worked. 
2. placing an if (JDBC.vmsupportJDBC3()) around a ResultSet.getBigDecimal() in TableFunctionTest - this would give a method not found with JSR169
3. attempting to implement BinaryDecimal.setValueFromResultSet.

I have most doubts about item 3 - I implemented the method as:
+	data2c = resultSet.getBytes(colNumber);
+	sqlScale=0;
But although this seems to work for J2ME/JSR169, I have strong doubts. Basically, I have little understanding of what this method should do, and I'm not sure that it's enough to just get the bytes. Is it necessary to do some of the manipulations found in this class to compress the bytearray obtained?

I'm also not clear on why this method wasn't implemented, and I've not done much investigation in identifying where the j9/j2ME jvm chooses a different code path than e.g. jdk142.

Feedback on this patch is appreciated.

> with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3057
>                 URL: https://issues.apache.org/jira/browse/DERBY-3057
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>            Reporter: Kathey Marsden
>         Attachments: DERBY-3057.diff_try1
>
>
> testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed:
> java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> 	at org.apache.derbyTesting.junit.JDBC$GeneratedId.equals(JDBC.java:49)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:871)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:779)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:717)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertFunctionDBMD(TableFunctionTest.java:1154)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.simpleDDL(TableFunctionTest.java:888)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.testTableFunctions(TableFunctionTest.java:782)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> 	at java.lang.reflect.Method.invoke(Method.java:253)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at TimeRunner.main(TimeRunner.java:31)
> 47	testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)

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


[jira] Commented: (DERBY-3057) with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525550 ] 

Myrna van Lunteren commented on DERBY-3057:
-------------------------------------------

I prodded this a little, and modified the method 'equals()' in JDBC$GeneratedID to look like this:

-------------
        public boolean equals(Object o) {
        // unless JSR169, use String.matches...
        	if (JDBC.vmSupportsJDBC3()) 
        	{
        		return o instanceof String &&
        		((String) o).matches("SQL[0-9]{15}");
        	}
        	else
        	{
        		String tmpstr = (String)o;
        		boolean b = true;
        		if (!(o instanceof String))
        			b = false;
        		if (!(tmpstr.startsWith("SQL")))
        			b = false;
        		if (tmpstr.length() != 18)
        			b = false;
        		for (int i=3 ; i<18 ; i++)
        		{
        			if (Character.isDigit(tmpstr.charAt(i)))
        				continue;
        			else
        			{
        				b = false;
        				break;
        			}
        		}
        		return b;
        	}
        }
-------------------------------------

And that does get around the problem that matches() is not available with JSR169.

However, I then get the following stack trace upon running the test:

-------------------------------------
.java.sql.SQLException: Feature not implemented: {0}.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:202)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:391)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:346)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:1572)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:81)
	at org.apache.derby.impl.jdbc.EmbedResultSet.closeOnTransactionError(EmbedResultSet.java:4320)
	at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:464)
	at org.apache.derby.impl.jdbc.EmbedResultSet.next(EmbedResultSet.java:368)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertResults(TableFunctionTest.java:1245)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertResults(TableFunctionTest.java:1070)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.allLegalDatatypesVTIResults(TableFunctionTest.java:986)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.testTableFunctions(TableFunctionTest.java:786)
	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
	at java.lang.reflect.Method.invoke(Method.java:253)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.textui.TestRunner.doRun(TestRunner.java:116)
	at junit.textui.TestRunner.start(TestRunner.java:172)
	at junit.textui.TestRunner.main(TestRunner.java:138)
Caused by: ERROR 0A000: Feature not implemented: {0}.
	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:280)
	at org.apache.derby.iapi.types.BinaryDecimal.setValueFromResultSet(BinaryDecimal.java:690)
	at org.apache.derby.impl.sql.execute.VTIResultSet.populateFromResultSet(VTIResultSet.java:559)
	at org.apache.derby.impl.sql.execute.VTIResultSet.getNextRowCore(VTIResultSet.java:335)
	at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.getNextRow(BasicNoPutResultSetImpl.java:463)
	at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:424)
	... 19 more
And:
F
Time: 2.75
There was 1 failure:
1) testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)junit.framework.AssertionFailedError: Unexpected exception: java.sql.SQLException: Feature not implemented: {0}.
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.unexpectedThrowable(TableFunctionTest.java:1446)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertResults(TableFunctionTest.java:1077)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.allLegalDatatypesVTIResults(TableFunctionTest.java:986)
	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.testTableFunctions(TableFunctionTest.java:786)
	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)

Are the VTI's even supposed to work with JSR169? 


> with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3057
>                 URL: https://issues.apache.org/jira/browse/DERBY-3057
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>            Reporter: Kathey Marsden
>
> testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed:
> java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> 	at org.apache.derbyTesting.junit.JDBC$GeneratedId.equals(JDBC.java:49)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:871)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:779)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:717)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertFunctionDBMD(TableFunctionTest.java:1154)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.simpleDDL(TableFunctionTest.java:888)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.testTableFunctions(TableFunctionTest.java:782)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> 	at java.lang.reflect.Method.invoke(Method.java:253)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at TimeRunner.main(TimeRunner.java:31)
> 47	testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)

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


[jira] Closed: (DERBY-3057) with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren closed DERBY-3057.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.4.0.0

I made one minor additional change to BinaryDecimal.java; I replaced the reference to CDCDecimal with BigIntegerDecimal, and committed.

 

> with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3057
>                 URL: https://issues.apache.org/jira/browse/DERBY-3057
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>            Reporter: Kathey Marsden
>             Fix For: 10.4.0.0
>
>         Attachments: DERBY-3057.diff_try1, DERBY-3057.diff_try2
>
>
> testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed:
> java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> 	at org.apache.derbyTesting.junit.JDBC$GeneratedId.equals(JDBC.java:49)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:871)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:779)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:717)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertFunctionDBMD(TableFunctionTest.java:1154)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.simpleDDL(TableFunctionTest.java:888)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.testTableFunctions(TableFunctionTest.java:782)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> 	at java.lang.reflect.Method.invoke(Method.java:253)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at TimeRunner.main(TimeRunner.java:31)
> 47	testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)

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


[jira] Updated: (DERBY-3057) with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-3057:
--------------------------------------

    Attachment: DERBY-3057.diff_try2

I hope I understood the clues. Another review will be appreciated...

The javadoc for class BinaryDecimal mentioned a class CDCDecimal.
I *think* this was never implemented, or it has been implemented as BigIntegerDecimal? (At least, the only consumer of BinaryDecimal appears to be BigIntegerDecimal...)



> with weme 6.1 testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed: java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3057
>                 URL: https://issues.apache.org/jira/browse/DERBY-3057
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.0.0
>            Reporter: Kathey Marsden
>         Attachments: DERBY-3057.diff_try1, DERBY-3057.diff_try2
>
>
> testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest) failed:
> java.lang.NoSuchMethodError: java/lang/String.matches(Ljava/lang/String;)Z
> 	at org.apache.derbyTesting.junit.JDBC$GeneratedId.equals(JDBC.java:49)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:871)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:779)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:717)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.assertFunctionDBMD(TableFunctionTest.java:1154)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.simpleDDL(TableFunctionTest.java:888)
> 	at org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.testTableFunctions(TableFunctionTest.java:782)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> 	at java.lang.reflect.Method.invoke(Method.java:253)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at TimeRunner.main(TimeRunner.java:31)
> 47	testTableFunctions(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)

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