Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

V 4.1 #182

Merged
merged 42 commits into from Jan 12, 2017
Merged

V 4.1 #182

merged 42 commits into from Jan 12, 2017

Conversation

@diegobrum diegobrum merged commit 21a5315 into master Jan 12, 2017
@diegobrum diegobrum deleted the v-4.1 branch January 12, 2017 20:16
@stanuku
Copy link

stanuku commented Jan 12, 2017

@diegobrum: I received the below exception with 4.1.0-BETA20170112 nuget package:

System.InvalidOperationException
The container can't be changed after the first call to GetInstance, GetAllInstances and Verify. Please see https://simpleinjector.org/locked to understand why the container is locked. The following stack trace describes the location where the container was locked:

at SolrExpress.Core.Extension.DocumentCollectionBuilderExtensions.AddSolrExpress[TDocument](DocumentCollectionBuilder`1 builder)

at SimpleInjector.Container.ThrowWhenContainerIsLocked() 
at SimpleInjector.Container.AddRegistration(Type serviceType, Registration registration) 
at SolrExpress.Core.DependencyInjection.NetFrameworkEngine.SolrExpress.Core.DependencyInjection.IEngine.AddSingleton<TService, TImplementation>(TImplementation instance) 
at SolrExpress.Solr5.Extension.DocumentCollectionBuilderExtensions.UseSolr5<TDocument>(DocumentCollectionBuilder<TDocument> builder) ```

diegobrum added a commit that referenced this pull request Jan 13, 2017
diegobrum added a commit that referenced this pull request Jan 13, 2017
@diegobrum
Copy link
Contributor Author

@stanuku Please, try again using 4.1.0-BETA20170113

@lock
Copy link

lock bot commented Jan 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants