Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1142230

Summary: Test org.infinispan.cdi.test.cache.embedded.specific.SpecificCacheManagerTest fails
Product: [JBoss] JBoss Data Grid 6 Reporter: Sebastian Łaskawiec <slaskawi>
Component: LibraryAssignee: Sebastian Łaskawiec <slaskawi>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4.0CC: dstahl, jdg-bugs
Target Milestone: ER1   
Target Release: 6.4.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-28 13:27:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sebastian Łaskawiec 2014-09-16 12:17:09 UTC
Description of problem:
weld-core in version 1.1.23-redhat-1 is not compatible with Google Collections anymore. This causes test failures: http://10.3.10.65:8080/job/JDG_6_4_x_Nightly/lastCompletedBuild/testReport/org.infinispan.cdi.test.cache.embedded.specific/SpecificCacheManagerTest/arquillianBeforeClass/

Version-Release number of selected component (if applicable):
6.4.0.DR1

How reproducible:
- ./build.sh clean install -pl cdi/extension
- Observe the results

Actual results:
org.infinispan.cdi.test.cache.embedded.specific.SpecificCacheManagerTest.arquillianBeforeClass test fails

Relevant stacktrace:
Error Message

com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
Stacktrace

java.lang.NoSuchMethodError: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	at com.google.common.cache.CacheBuilder.getKeyStrength(CacheBuilder.java:533)
	at com.google.common.cache.LocalCache.<init>(LocalCache.java:237)
	at com.google.common.cache.LocalCache$LocalLoadingCache.<init>(LocalCache.java:4871)
	at com.google.common.cache.CacheBuilder.build(CacheBuilder.java:806)
	at org.jboss.weld.logging.WeldMessageConveyor.<init>(WeldMessageConveyor.java:63)
	at org.jboss.weld.logging.WeldMessageConveyerFactory.getDefaultMessageConveyer(WeldMessageConveyerFactory.java:27)
	at org.jboss.weld.logging.LoggerFactory.<init>(LoggerFactory.java:37)
	at org.jboss.weld.logging.LoggerFactory.loggerFactory(LoggerFactory.java:51)
	at org.jboss.weld.bootstrap.WeldBootstrap.<clinit>(WeldBootstrap.java:126)

Comment 2 Sebastian Łaskawiec 2014-09-22 11:25:26 UTC
Fix in the upstream: https://issues.jboss.org/browse/ISPN-4731

Comment 3 Sebastian Łaskawiec 2014-09-22 11:48:32 UTC
PR: https://github.com/infinispan/jdg/pull/266

Comment 4 JBoss JIRA Server 2014-09-22 13:26:24 UTC
Sebastian Łaskawiec <slaskawi> updated the status of jira ISPN-4731 to Reopened

Comment 5 Dave Stahl 2014-09-26 17:05:30 UTC
Pulled into 6.4.x branch.  Thanks!