-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Although Vert.x tests pass, there are the following exceptions in the log:
2017-01-20 21:33:01,596 ERROR [SilverWare-1-microservice-provider-2] {io.silverware.microservices.providers.cdi.CdiMicroserviceProvider} CDI microservice provider failed:
javax.enterprise.event.ObserverException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_111]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_111]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_111]
at org.jboss.weld.security.NewInstanceAction.run(NewInstanceAction.java:33) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_111]
at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:78) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:96) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:78) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:299) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:277) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:255) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:269) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:258) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:89) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
at io.silverware.microservices.providers.cdi.CdiMicroserviceProvider.run(CdiMicroserviceProvider.java:118) [cdi-microservice-provider-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
at io.silverware.microservices.providers.cdi.internal.DefaultMethodHandler.invoke(DefaultMethodHandler.java:92) ~[cdi-microservice-provider-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at io.silverware.microservices.providers.cdi.internal.MicroserviceMethodHandler.invoke(MicroserviceMethodHandler.java:42) ~[cdi-microservice-provider-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at io.silverware.microservices.providers.vertx.VertxMicroserviceCDITest$MicroserviceB_$$_jvst5c6_1.sendMessage(VertxMicroserviceCDITest$MicroserviceB_$$_jvst5c6_1.java) ~[test-classes/:?]
at io.silverware.microservices.providers.vertx.VertxMicroserviceCDITest$MicrosetviceA.eventObserver(VertxMicroserviceCDITest.java:91) ~[test-classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
... 14 more
Caused by: java.util.concurrent.RejectedExecutionException: event executor terminated
at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:836) ~[netty-common-4.1.5.Final.jar:4.1.5.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.offerTask(SingleThreadEventExecutor.java:342) ~[netty-common-4.1.5.Final.jar:4.1.5.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:335) ~[netty-common-4.1.5.Final.jar:4.1.5.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:761) ~[netty-common-4.1.5.Final.jar:4.1.5.Final]
at io.netty.util.concurrent.AbstractScheduledEventExecutor.schedule(AbstractScheduledEventExecutor.java:197) ~[netty-common-4.1.5.Final.jar:4.1.5.Final]
at io.netty.util.concurrent.AbstractScheduledEventExecutor.schedule(AbstractScheduledEventExecutor.java:141) ~[netty-common-4.1.5.Final.jar:4.1.5.Final]
at io.vertx.core.impl.VertxImpl$InternalTimerHandler.<init>(VertxImpl.java:775) ~[vertx-core-3.3.3.jar:?]
at io.vertx.core.impl.VertxImpl.scheduleTimeout(VertxImpl.java:419) ~[vertx-core-3.3.3.jar:?]
at io.vertx.core.impl.VertxImpl.setTimer(VertxImpl.java:284) ~[vertx-core-3.3.3.jar:?]
at io.vertx.core.eventbus.impl.HandlerRegistration.<init>(HandlerRegistration.java:63) ~[vertx-core-3.3.3.jar:?]
at io.vertx.core.eventbus.impl.EventBusImpl.createReplyHandlerRegistration(EventBusImpl.java:402) ~[vertx-core-3.3.3.jar:?]
at io.vertx.core.eventbus.impl.EventBusImpl.sendOrPubInternal(EventBusImpl.java:414) ~[vertx-core-3.3.3.jar:?]
at io.vertx.core.eventbus.impl.EventBusImpl.send(EventBusImpl.java:94) ~[vertx-core-3.3.3.jar:?]
at io.vertx.core.eventbus.impl.EventBusImpl.send(EventBusImpl.java:84) ~[vertx-core-3.3.3.jar:?]
at io.silverware.microservices.providers.vertx.VertxMicroserviceCDITest$MicroserviceB.sendMessage(VertxMicroserviceCDITest.java:111) ~[test-classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
at io.silverware.microservices.providers.cdi.internal.DefaultMethodHandler.invoke(DefaultMethodHandler.java:92) ~[cdi-microservice-provider-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at io.silverware.microservices.providers.cdi.internal.MicroserviceMethodHandler.invoke(MicroserviceMethodHandler.java:42) ~[cdi-microservice-provider-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at io.silverware.microservices.providers.vertx.VertxMicroserviceCDITest$MicroserviceB_$$_jvst5c6_1.sendMessage(VertxMicroserviceCDITest$MicroserviceB_$$_jvst5c6_1.java) ~[test-classes/:?]
at io.silverware.microservices.providers.vertx.VertxMicroserviceCDITest$MicrosetviceA.eventObserver(VertxMicroserviceCDITest.java:91) ~[test-classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88) ~[weld-se-2.4.1.Final.jar:2.4.1.Final]
... 14 more
This might indicate some problem so it needs to be investigated and fixed.