Bug 1036559 - BPEL Console / Errai and Google Collections
Summary: BPEL Console / Errai and Google Collections
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: BPEL Integration
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER7
: 6.0.0
Assignee: Nick Cross
QA Contact: lvaskova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 09:45 UTC by Nick Cross
Modified: 2014-02-06 15:30 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description Nick Cross 2013-12-02 09:45:25 UTC
BPELConsole depends on Errai 1.1. This depends on org.reflections reflections-0.9.5-RC2_jboss-SP1.jar which pulls in Google Collections 1.0. This appears to conflict with com.google.guava guava-13.0.1-redhat-1.jar (from EAP). 

Guava superceded Google Collections (http://code.google.com/p/google-collections). Note that the 0.9.5 version of org.reflections from Maven central does not have this collections dependency ( http://code.google.com/p/reflections  /  
http://central.maven.org/maven2/org/reflections/reflections/0.9.5/reflections-0.9.5.pom  ) : it has started to move to guava as well.

The error message we get on server startup is 

09:39:44,945 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/bpel-console]] (ServerService Thread Pool -- 54) JBWEB000289: Servlet ErraiServlet threw load() exception: java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
	at org.reflections.util.ConfigurationBuilder.setScanners(ConfigurationBuilder.java:62) [reflections-0.9.5-RC2_jboss-SP1.jar:]
	at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.<init>(MetaDataScanner.java:64) [errai-bus-1.1-Final.jar:1.1-Final]

Comment 2 Nick Cross 2013-12-05 11:08:25 UTC
X:ref: Bug 1038267

Fixed by 7ca9ef841a41bbe43e3467d9053b490e881a00b2

Comment 3 Julian Coleman 2013-12-08 12:23:19 UTC
Updated with commit 78edf681677082941e4db87ce760a6cac3c2a2b0 in ip:

    Back out 7ca9ef841a41bbe43e3467d9053b490e881a00b2:
      BZ1036559 / BZ1038267 Fix for BPMConsole GoogleCollections/Guava clash
    The real bug is in the Drools/jBPM modules, so we'll fix it there instead.

Comment 4 lvaskova 2013-12-17 14:30:55 UTC
Verified on ER7


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