Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NpcNameFinder] Specified argument was out of the range of valid values. #609

Open
cppbeliever opened this issue Jul 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@cppbeliever
Copy link

cppbeliever commented Jul 13, 2024

Description

HeadLessServer reports an error after selling an item to a merchant.Is it related to running out of food and drink?

Addon Version

1.7.57

World of Warcraft Client

Wrath of the Lich King Classic

Reproduction Steps

HeadLessServer reports an error after selling an item to a merchant

Last Good Version

No response

Screenshots

aaa

Logs

headless_out20240713.log
out20240713.log

@cppbeliever cppbeliever added the bug Something isn't working label Jul 13, 2024
@Xian55
Copy link
Owner

Xian55 commented Jul 13, 2024

Hello, looking into it

System.AggregateException: One or more errors occurred. (Specified argument was out of the range of valid values.) (Specified argument was out of the range of valid values.) (Specified argument was out of the range of valid values.)
 ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---

   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
--- End of stack trace from previous location ---

   at System.Threading.Tasks.Parallel.ForWorker[TLocal,TInt](TInt fromInclusive, TInt toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at SixLabors.ImageSharp.Advanced.ParallelRowIterator.IterateRows[T,TBuffer](Rectangle rectangle, ParallelExecutionSettings& parallelSettings, T& operation)
   at SharedLib.NpcFinder.NpcNameFinder.Update() in D:\HuB\WowClassicGrindBot-dev\WowClassicGrindBot-dev\SharedLib\NpcFinder\NpcNameFinder.cs:line 337
   at Core.BotController.ScreenshotThread() in D:\HuB\WowClassicGrindBot-dev\WowClassicGrindBot-dev\Core\BotController.cs:line 197
 ---> (Inner Exception #1) System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---

   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica.Execute()<---

 ---> (Inner Exception #2) System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.<ForWorker>b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica.Execute()<---

it seems

at SharedLib.NpcFinder.NpcNameFinder.Update() in D:\HuB\WowClassicGrindBot-dev\WowClassicGrindBot-dev\SharedLib\NpcFinder\NpcNameFinder.cs:line 337

went out of bound.

Seems like a weird issue, not sure how to tackle it or even reproduce it.

@Xian55 Xian55 changed the title One or more errors occurred. (Specified argument was out of the range of valid values.) [NpcNameFinder] Specified argument was out of the range of valid values. Jul 13, 2024
@cppbeliever
Copy link
Author

@Xian55 thanks for your response

@Xian55
Copy link
Owner

Xian55 commented Jul 13, 2024

No need to close this one. Let it open, so i wont forget about it.

@Xian55 Xian55 reopened this Jul 13, 2024
@cppbeliever cppbeliever reopened this Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants