red-kite-solutions / stalker

Stalker, the Extensible Attack Surface Management tool.
https://wiki.stalker.red-kite.io/
GNU General Public License v3.0
75 stars 4 forks source link

Orchestrator fails when resource quotas do not exist #285

Open Aboisier opened 2 months ago

Aboisier commented 2 months ago

Stacktrace:

fail: Orchestrator.Queue.JobsConsumer.JobsConsumer[0]
      An error occurred while deserializing the message.
      System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
         at System.Collections.Generic.List`1.get_Item(Int32 index)
         at Orchestrator.Queue.JobsConsumer.JobsConsumer.Consume(JobRequest request) in /app/packages/backend/orchestrator/service/Orchestrator/Queue/JobsConsumer/JobsConsumer.cs:line 54
         at Orchestrator.Queue.KafkaConsumer`1.<>c__DisplayClass1_0.<<-ctor>b__0>d.MoveNext() in /app/packages/backend/orchestrator/service/Orchestrator/Queue/KafkaConsumer.cs:line 35