Bug 1142230 - Test org.infinispan.cdi.test.cache.embedded.specific.SpecificCacheManagerTest fails
Summary: Test org.infinispan.cdi.test.cache.embedded.specific.SpecificCacheManagerTest...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Library
Version: 6.4.0
Hardware: All
OS: All
medium
medium
Target Milestone: ER1
: 6.4.0
Assignee: Sebastian Łaskawiec
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-16 12:17 UTC by Sebastian Łaskawiec
Modified: 2015-01-28 13:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-28 13:27:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-4731 0 Major Reopened Update classpath to ensure Weld loads Guava instead of Google Collections 2014-09-22 13:26:24 UTC

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!


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