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

Jaeger fraction throws RuntimeException for SamplingStrategyResponse

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 2.2.0.Final
    • 2.2.1.Final
    • None
    • None
    • 1
    • Hide

      Use jaeger fraction with default settings or sampler type remote. Jaeger server has to be up and running to reproduce with all ports exposed (--net=host) - it has to provide response for the client.

      Show
      Use jaeger fraction with default settings or sampler type remote. Jaeger server has to be up and running to reproduce with all ports exposed (--net=host) - it has to provide response for the client.

    Description

      2018-09-19 17:48:09,902 ERROR [stderr] (Timer-1) Exception in thread "Timer-1" java.lang.RuntimeException: Unable to invoke no-args constructor for class io.jaegertracing.internal.samplers.http.SamplingStrategyResponse. Registering an InstanceCreator with Gson for this type may fix this problem.
      2018-09-19 17:48:09,902 ERROR [stderr] (Timer-1) at com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:226)
      2018-09-19 17:48:09,903 ERROR [stderr] (Timer-1) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:210)
      2018-09-19 17:48:09,903 ERROR [stderr] (Timer-1) at com.google.gson.Gson.fromJson(Gson.java:888)
      2018-09-19 17:48:09,903 ERROR [stderr] (Timer-1) at com.google.gson.Gson.fromJson(Gson.java:853)
      2018-09-19 17:48:09,903 ERROR [stderr] (Timer-1) at com.google.gson.Gson.fromJson(Gson.java:802)
      2018-09-19 17:48:09,903 ERROR [stderr] (Timer-1) at com.google.gson.Gson.fromJson(Gson.java:774)
      2018-09-19 17:48:09,903 ERROR [stderr] (Timer-1) at io.jaegertracing.internal.samplers.HttpSamplingManager.parseJson(HttpSamplingManager.java:49)
      2018-09-19 17:48:09,904 ERROR [stderr] (Timer-1) at io.jaegertracing.internal.samplers.HttpSamplingManager.getSamplingStrategy(HttpSamplingManager.java:68)
      2018-09-19 17:48:09,904 ERROR [stderr] (Timer-1) at io.jaegertracing.internal.samplers.RemoteControlledSampler.updateSampler(RemoteControlledSampler.java:88)
      2018-09-19 17:48:09,904 ERROR [stderr] (Timer-1) at io.jaegertracing.internal.samplers.RemoteControlledSampler$1.run(RemoteControlledSampler.java:70)
      2018-09-19 17:48:09,904 ERROR [stderr] (Timer-1) at java.util.TimerThread.mainLoop(Timer.java:555)
      2018-09-19 17:48:09,904 ERROR [stderr] (Timer-1) at java.util.TimerThread.run(Timer.java:505)
      2018-09-19 17:48:09,904 ERROR [stderr] (Timer-1) Caused by: java.lang.UnsupportedOperationException: Cannot allocate class io.jaegertracing.internal.samplers.http.SamplingStrategyResponse
      2018-09-19 17:48:09,905 ERROR [stderr] (Timer-1) at com.google.gson.internal.UnsafeAllocator$4.newInstance(UnsafeAllocator.java:104)
      2018-09-19 17:48:09,905 ERROR [stderr] (Timer-1) at com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:223)
      2018-09-19 17:48:09,905 ERROR [stderr] (Timer-1) ... 11 more

      Attachments

        Issue Links

          Activity

            People

              lthon@redhat.com Ladislav Thon
              ploffay Pavol Loffay (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: