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

Terminating because of unhandled exception! #1066

Open
minerlab opened this issue Sep 14, 2018 · 0 comments
Open

Terminating because of unhandled exception! #1066

minerlab opened this issue Sep 14, 2018 · 0 comments

Comments

@minerlab
Copy link

Hi, I'm trying this pool and it works well but when it needs to make the payment I give this error how can I solve?

21:29:15 [Fatal] [Program] [global] Terminating because of unhandled exception!
Nancy.TinyIoc.TinyIoCResolutionException: Unable to resolve type: CoiniumServ.Payments.IPaymentRound ---> Nancy.TinyIoc.TinyIoCResolutionException: Unable to resolve type: CoiniumServ.Payments.PaymentRound ---> System.OverflowException: Arithmetic operation resulted in an overflow.
at (wrapper managed-to-native) System.Decimal..ctor(System.Decimal&,double)
at System.Decimal.op_Explicit (System.Double value) [0x00000] in <2943701620b54f86b436d3ffad010412>:0
at CoiniumServ.Payments.PaymentRound.CalculatePayments () [0x00047] in :0
at CoiniumServ.Payments.PaymentRound..ctor (CoiniumServ.Persistance.Blocks.IPersistedBlock block, CoiniumServ.Persistance.Layers.IStorageLayer storageLayer, CoiniumServ.Accounts.IAccountManager accountManager) [0x0003d] in :0
at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object[])
at Nancy.TinyIoc.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, Nancy.TinyIoc.NamedParameterOverloads parameters, Nancy.TinyIoc.ResolveOptions options) [0x000f7] in :0
--- End of inner exception stack trace ---
at Nancy.TinyIoc.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, Nancy.TinyIoc.NamedParameterOverloads parameters, Nancy.TinyIoc.ResolveOptions options) [0x0010d] in :0
at Nancy.TinyIoc.TinyIoCContainer+MultiInstanceFactory.GetObject (System.Type requestedType, Nancy.TinyIoc.TinyIoCContainer container, Nancy.TinyIoc.NamedParameterOverloads parameters, Nancy.TinyIoc.ResolveOptions options) [0x0000e] in :0
--- End of inner exception stack trace ---
at Nancy.TinyIoc.TinyIoCContainer+MultiInstanceFactory.GetObject (System.Type requestedType, Nancy.TinyIoc.TinyIoCContainer container, Nancy.TinyIoc.NamedParameterOverloads parameters, Nancy.TinyIoc.ResolveOptions options) [0x00026] in :0
at Nancy.TinyIoc.TinyIoCContainer.ResolveInternal (Nancy.TinyIoc.TinyIoCContainer+TypeRegistration registration, Nancy.TinyIoc.NamedParameterOverloads parameters, Nancy.TinyIoc.ResolveOptions options) [0x00027] in :0
at Nancy.TinyIoc.TinyIoCContainer.Resolve (System.Type resolveType, Nancy.TinyIoc.NamedParameterOverloads parameters) [0x0000d] in :0
at Nancy.TinyIoc.TinyIoCContainer.Resolve[ResolveType] (Nancy.TinyIoc.NamedParameterOverloads parameters) [0x00000] in :0
at CoiniumServ.Container.ObjectFactory.GetPaymentRound (CoiniumServ.Persistance.Blocks.IPersistedBlock block, CoiniumServ.Persistance.Layers.IStorageLayer storageLayer, CoiniumServ.Accounts.IAccountManager accountManager) [0x00035] in :0
at CoiniumServ.Payments.BlockAccounter.b__10_0 (CoiniumServ.Persistance.Blocks.IPersistedBlock block) [0x00000] in :0
at System.Linq.Enumerable+SelectListIterator2[TSource,TResult].ToList () [0x0002a] in <7aa7d6192efc4d31a9896d7a49ef2104>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <7aa7d6192efc4d31a9896d7a49ef2104>:0
at CoiniumServ.Payments.BlockAccounter.Run () [0x00027] in :0
at CoiniumServ.Payments.PaymentManager.Run (System.Object state) [0x0001d] in :0
at System.Threading.Timer+Scheduler.TimerCB (System.Object o) [0x00007] in <2943701620b54f86b436d3ffad010412>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <2943701620b54f86b436d3ffad010412>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <2943701620b54f86b436d3ffad010412>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <2943701620b54f86b436d3ffad010412>:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant