[
https://issues.jboss.org/browse/RF-12580?page=com.atlassian.jira.plugin.s...
]
RH Bugzilla Integration commented on RF-12580:
----------------------------------------------
Petr Penicka <ppenicka(a)redhat.com> made a comment on [bug
870349|https://bugzilla.redhat.com/show_bug.cgi?id=870349]
Edited doc text for 2.3 release notes.
Guava versions in Errai and RichFaces are not compatible
--------------------------------------------------------
Key: RF-12580
URL:
https://issues.jboss.org/browse/RF-12580
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.2.3.Final
Reporter: Tomas Repel
Description of problem:
RichFaces 4.2.3.Final-redhat-1 depends on com.google.guava:guava:11.0.2. This particular
version is not compatible with Errai framework that needs guava of version 12.0.
Version-Release number of selected component (if applicable):
RichFaces 4.2.3.Final-redhat-1
Errai 2.1.0.Final-redhat-1
How reproducible:
Always.
Steps to Reproduce:
I discovered this when I tried to deploy Ticket Monster example (2.1.0.ER2 version) with
administration pages generated by Forge 1.0.5.Final that uses Forge Richfaces plugin.
Actual results:
{noformat}
[ERROR] java.lang.NoClassDefFoundError: com/google/common/reflect/TypeToken
[ERROR] at
org.jboss.errai.codegen.meta.impl.java.JavaReflectionMethod.getParameters(JavaReflectionMethod.java:62)
[ERROR] at
org.jboss.errai.codegen.meta.MetaClassFactory.cloneToBuildMetaClass(MetaClassFactory.java:325)
[ERROR] at
org.jboss.errai.codegen.meta.MetaClassFactory.parameterizedAs(MetaClassFactory.java:261)
[ERROR] at
org.jboss.errai.codegen.meta.MetaClassFactory.parameterizedAs(MetaClassFactory.java:257)
[ERROR] at
org.jboss.errai.codegen.meta.impl.java.JavaReflectionClass.getSuperClass(JavaReflectionClass.java:317)
[ERROR] at
org.jboss.errai.codegen.meta.MetaClassFactory.cloneToBuildMetaClass(MetaClassFactory.java:279)
[ERROR] at
org.jboss.errai.codegen.meta.MetaClassFactory.parameterizedAs(MetaClassFactory.java:261)
[ERROR] at
org.jboss.errai.codegen.meta.MetaClassFactory.parameterizedAs(MetaClassFactory.java:257)
[ERROR] at
org.jboss.errai.ioc.rebind.ioc.bootstrapper.QualifierEqualityFactoryGenerator.generateQualifierEqualityFactory(QualifierEqualityFactoryGenerator.java:99)
[ERROR] at
org.jboss.errai.ioc.rebind.ioc.bootstrapper.QualifierEqualityFactoryGenerator.generate(QualifierEqualityFactoryGenerator.java:65)
[ERROR] at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
[ERROR] at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
[ERROR] at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)
[ERROR] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
[ERROR] at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
[ERROR] at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)
[ERROR] at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:257)
[ERROR] at
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
[ERROR] at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:96)
[ERROR] at
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
[ERROR] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
[ERROR] at
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:173)
[ERROR] at
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
[ERROR] at
com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:139)
[ERROR] at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:588)
[ERROR] at
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:97)
[ERROR] at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:52)
[ERROR] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:569)
[ERROR] at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
[ERROR] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[ERROR] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[ERROR] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[ERROR] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[ERROR] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[ERROR] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[ERROR] Caused by: java.lang.ClassNotFoundException: com.google.common.reflect.TypeToken
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[ERROR] ... 38 more
{noformat}
Expected results:
It deploys.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira