camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonin Stefanutti (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-9973) CdiCamelExtension.shouldDeployDefaultCamelContext throws NPE with primitive injection points
Date Fri, 20 May 2016 16:51:12 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antonin Stefanutti resolved CAMEL-9973.
---------------------------------------
    Resolution: Fixed

> CdiCamelExtension.shouldDeployDefaultCamelContext throws NPE with primitive injection
points
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-9973
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9973
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cdi
>    Affects Versions: 2.17.1
>         Environment: Suse SLES 12
> Java 1.8.0_u91 and 1.8.0_u92
> WildFly 10.0
>            Reporter: thibof
>            Assignee: Antonin Stefanutti
>            Priority: Minor
>             Fix For: 2.17.2, 2.18.0
>
>
> The NPE prevents Camel to start :
> {code}
> java.lang.NullPointerException
> 	at org.apache.camel.cdi.CdiCamelExtension.shouldDeployDefaultCamelContext(CdiCamelExtension.java:310)
> 	at org.apache.camel.cdi.CdiCamelExtension.afterBeanDiscovery(CdiCamelExtension.java:234)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)
> 	at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:309)
> 	at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:287)
> 	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:265)
> 	at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271)
> 	at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260)
> 	at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)
> 	at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148)
> 	at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
> 	at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:42)
> 	at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:61)
> 	at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:423)
> 	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:83)
> {code}
> The issue seems to be related to CAMEL-9904.
> It works well when I get back to version 2.17.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message