Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEC4910855 for ; Fri, 5 Jul 2013 06:19:59 +0000 (UTC) Received: (qmail 36125 invoked by uid 500); 5 Jul 2013 06:19:58 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 36094 invoked by uid 500); 5 Jul 2013 06:19:53 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 36084 invoked by uid 99); 5 Jul 2013 06:19:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jul 2013 06:19:49 +0000 Date: Fri, 5 Jul 2013 06:19:48 +0000 (UTC) From: "Andreas Dolk (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6513) IncompatibleClassChangeError with weld-se 2.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700474#comment-13700474 ] Andreas Dolk commented on CAMEL-6513: ------------------------------------- Is there a "fix version" or a schedule already for this upgrade? We'd like to migrate an application, that uses camel-cdi, to JavaEE7 (glassfish 4 & jboss AS8) > IncompatibleClassChangeError with weld-se 2.0.2 > ----------------------------------------------- > > Key: CAMEL-6513 > URL: https://issues.apache.org/jira/browse/CAMEL-6513 > Project: Camel > Issue Type: Task > Components: camel-cdi > Affects Versions: 2.11.0 > Reporter: Andreas Dolk > Labels: cdi > > After upgrading from weld 1.1.10 (CDI 1.0) to weld 2.0.2 (CDI 1.1), an Arquillian based test throws an error: > Caused by: java.lang.IncompatibleClassChangeError: Class org.apache.camel.cdi.internal.CamelContextBean does not implement the requested interface javax.enterprise.inject.spi.BeanAttributes > at org.jboss.weld.bean.attributes.ExternalBeanAttributesFactory.validateStereotypes(ExternalBeanAttributesFactory.java:76) > at org.jboss.weld.bean.attributes.ExternalBeanAttributesFactory.validateBeanAttributes(ExternalBeanAttributesFactory.java:69) > at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.processBean(AfterBeanDiscoveryImpl.java:83) > at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.addBean(AfterBeanDiscoveryImpl.java:77) > at org.apache.camel.cdi.internal.CamelExtension.registerManagedCamelContext(CamelExtension.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93) > ... 112 more -- 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