Bug 808993 - Test method testMixedFromAndToStream fails in Jdbc cache store testsuite
Summary: Test method testMixedFromAndToStream fails in Jdbc cache store testsuite
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: unspecified
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.0.0
Assignee: Tristan Tarrant
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-02 07:45 UTC by Martin Gencur
Modified: 2013-06-27 16:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-1997 0 Minor Resolved JDBC test suite fails with recent H2 driver 2012-09-03 07:14:48 UTC

Description Martin Gencur 2012-04-02 07:45:22 UTC
Description of problem:

This test method fails on all platforms (RHEL, Solaris, Windows) and I also verified locally that it fails. It fails in both JdbcMixedCacheStoreVamTest and JdbcMixedCacheStoreTest.

https://hudson.qa.jboss.com/hudson/view/EDG6/view/EDG-REPORTS-FUNC/job/edg-60-infinispan-testsuite-rhel/jdk=java16_default,label=RHEL6/lastCompletedBuild/testReport/

The stacktrace is as follows:

java.lang.NullPointerException
	at org.infinispan.loaders.jdbc.mixed.JdbcMixedCacheStoreTest.testMixedFromAndToStream(JdbcMixedCacheStoreTest.java:156)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1170)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1147)
	at org.testng.TestRunner.privateRun(TestRunner.java:749)
	at org.testng.TestRunner.run(TestRunner.java:600)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
	at org.testng.SuiteRunner.access$000(SuiteRunner.java:34)
	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:351)
	at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:147)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

Comment 1 Tristan Tarrant 2012-04-20 17:04:43 UTC
I've done some debugging and this is caused by the H2 database being different between the community Infinispan testsuite (1.1.117) and the one inherited from MEAD BOMs (1.3.161). Upgrading the community version to that version causes an identical failure. At least we're consistent. I will analyze this further

Comment 2 JBoss JIRA Server 2012-04-23 06:58:06 UTC
Mircea Markus <mmarkus> made a comment on jira ISPN-1997

integrated on both 5.1.x and master.

Comment 3 Martin Gencur 2012-05-02 09:00:45 UTC
Verified. This bug does not appear in ER7.


Note You need to log in before you can comment on or make changes to this bug.