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

Error “Sequence does not contain elements” when using BuildUp with non-transitive dependencies #84

Closed
NikolayPianikov opened this issue Jan 16, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@NikolayPianikov
Copy link
Member

0>CSC: Error DIE999 : An unhandled error has occurred., Message: "Sequence contains no elements", Stack Trace: "   at System.Linq.ThrowHelper.ThrowNoElementsException()    at 
Pure.DI.Core.InitializersWalker.VisitField(BuildContext& ctx, DpField& field)    at 
Pure.DI.Core.DependenciesWalker`1.VisitInitializer(TContext& ctx, DpInitializer initializer)    at 
Pure.DI.Core.InitializersWalker.VisitInitializer(BuildContext& ctx, DpInitializer initializer)    at 
Pure.DI.Core.Code.FactoryCodeBuilder.Build(BuildContext ctx, DpFactory& factory)    at 
Pure.DI.Core.Code.VariableCodeBuilder.VisitFactory(BuildContext& ctx, DpFactory& factory)    at 
Pure.DI.Core.DependenciesWalker`1.VisitDependencyNode(TContext& ctx, DependencyNode node)    at 
Pure.DI.Core.Code.VariableCodeBuilder.Pure.DI.Core.Code.ICodeBuilder<Pure.DI.Core.Code.Variable>.Build(BuildContext ctx, Variable& target)    at Pure.DI.Core.Code.StatementCodeBuilder.Build(BuildContext ctx, 
IStatement& statement)    at Pure.DI.Core.Code.BlockCodeBuilder.Build(BuildContext ctx, Block& block)    at 
Pure.DI.Core.Code.CompositionBuilder.Build(DependencyGraph graph)    at Pure.DI.Core.CodeBuilder.Build(MdSetup setup)    at Pure.DI.Core.ExceptionHandler.SafeRun[T,TResult](T state, Func`2 action)"

@NikolayPianikov NikolayPianikov added the bug Something isn't working label Jan 16, 2025
@NikolayPianikov NikolayPianikov self-assigned this Jan 16, 2025
NikolayPianikov added a commit that referenced this issue Jan 16, 2025
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

1 participant