Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1796

Hystrix Stream Servlet gets CNFE

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2018.1.0
    • Fix Version/s: 2018.2.0
    • Component/s: None
    • Labels:
      None

      Description

      When trying to access the `hystrix.stream` endpoint of an application that uses the `hystrix` fraction, the following CNFE is present in the logs:

      2018-01-20 20:12:03,552 ERROR [stderr] (RxComputationScheduler-2) Exception in thread "RxComputationScheduler-2" java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.
      2018-01-20 20:12:03,554 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:59)
      2018-01-20 20:12:03,554 ERROR [stderr] (RxComputationScheduler-2) 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2018-01-20 20:12:03,556 ERROR [stderr] (RxComputationScheduler-2) 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2018-01-20 20:12:03,557 ERROR [stderr] (RxComputationScheduler-2) 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      2018-01-20 20:12:03,557 ERROR [stderr] (RxComputationScheduler-2) 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      2018-01-20 20:12:03,557 ERROR [stderr] (RxComputationScheduler-2) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      2018-01-20 20:12:03,557 ERROR [stderr] (RxComputationScheduler-2) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      2018-01-20 20:12:03,557 ERROR [stderr] (RxComputationScheduler-2) 	at java.lang.Thread.run(Thread.java:748)
      2018-01-20 20:12:03,557 ERROR [stderr] (RxComputationScheduler-2) Caused by: java.lang.NoClassDefFoundError: com/netflix/hystrix/serial/SerialHystrixDashboardData
      2018-01-20 20:12:03,557 ERROR [stderr] (RxComputationScheduler-2) 	at com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet$1.call(HystrixMetricsStreamServlet.java:66)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet$1.call(HystrixMetricsStreamServlet.java:63)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.drain(OnSubscribeConcatMap.java:259)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.operators.OnSubscribeConcatMap$ConcatMapSubscriber.onNext(OnSubscribeConcatMap.java:144)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.operators.OperatorOnBackpressureDrop$2.onNext(OperatorOnBackpressureDrop.java:98)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.operators.OnSubscribeRefCount$2.onNext(OnSubscribeRefCount.java:120)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.operators.OperatorPublish$PublishSubscriber.dispatch(OperatorPublish.java:585)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.operators.OperatorPublish$PublishSubscriber.onNext(OperatorPublish.java:283)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
      2018-01-20 20:12:03,558 ERROR [stderr] (RxComputationScheduler-2) 	at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
      2018-01-20 20:12:03,559 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:77)
      2018-01-20 20:12:03,559 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.operators.OnSubscribeTimerPeriodically$1.call(OnSubscribeTimerPeriodically.java:52)
      2018-01-20 20:12:03,559 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.schedulers.SchedulePeriodicHelper$1.call(SchedulePeriodicHelper.java:72)
      2018-01-20 20:12:03,559 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.schedulers.EventLoopsScheduler$EventLoopWorker$2.call(EventLoopsScheduler.java:189)
      2018-01-20 20:12:03,559 ERROR [stderr] (RxComputationScheduler-2) 	at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
      2018-01-20 20:12:03,559 ERROR [stderr] (RxComputationScheduler-2) 	... 7 more
      2018-01-20 20:12:03,559 ERROR [stderr] (RxComputationScheduler-2) Caused by: java.lang.ClassNotFoundException: com.netflix.hystrix.serial.SerialHystrixDashboardData from [Module "com.netflix.hystrix" from BootModuleLoader@2abf4075 for finders [BootstrapClasspathModuleFinder, BootstrapModuleFinder(org.wildfly.swarm.bootstrap), ClasspathModuleFinder, ContainerModuleFinder(swarm.container), ApplicationModuleFinder(swarm.application), org.wildfly.swarm.bootstrap.modules.DynamicModuleFinder@770d3326]]
      2018-01-20 20:12:03,559 ERROR [stderr] (RxComputationScheduler-2) 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
      2018-01-20 20:12:03,560 ERROR [stderr] (RxComputationScheduler-2) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
      2018-01-20 20:12:03,560 ERROR [stderr] (RxComputationScheduler-2) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
      2018-01-20 20:12:03,560 ERROR [stderr] (RxComputationScheduler-2) 	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      2018-01-20 20:12:03,560 ERROR [stderr] (RxComputationScheduler-2) 	... 22 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                kenfinni Ken Finnigan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: