-
-
Notifications
You must be signed in to change notification settings - Fork 376
{"Error creating context 'spring.root': At least one object must implement IComparable."} #124
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
Comments
We have the same issue. |
I'll take a look @ the PR later this week. -Steve B. -----Original Message----- We have the same issue. |
thanks @thorstenbaek. That solved the problem, but hope there will be an official release with this fix. |
@sbohlen, did you look into this PR? When can we expect an official release with this fix? |
Hopefully this weekend. The system on which I'd had the build/test env for this project set up experienced a HD failure and so I've got to rebuild it (along w all the requisite Visual Studio, etc. installs) to return to a fully working state first. -Steve B. -----Original Message----- @sbohlen, did you look into this PR? When can we expect an official release with this fix? |
Fixed in #120 |
I am getting below error if i include two spring configuration xml file with PropertyPlaceholderConfigurer. This is happening after migrating from spring 1.3.2 to 2.0.1
<object type="Spring.Objects.Factory.Config.PropertyPlaceholderConfigurer, Spring.Core"> <property name="ConfigSections" value="databaseSettings"/> </object>
{"Error creating context 'spring.root': At least one object must implement IComparable."}
InnerException : {"Errored while postprocessing an object factory."}
InnerException : {"Failed to compare two elements in the array."}
Stack trace : at Spring.Objects.Factory.Config.PropertyResourceConfigurer.PostProcessObjectFactory(IConfigurableListableObjectFactory factory)
at Spring.Context.Support.AbstractApplicationContext.InvokeObjectFactoryPostProcessors(IList objectFactoryPostProcessors, IConfigurableListableObjectFactory objectFactory)
at Spring.Context.Support.AbstractApplicationContext.InvokeObjectFactoryPostProcessors(IConfigurableListableObjectFactory objectFactory)
at Spring.Context.Support.AbstractApplicationContext.Refresh()
at Spring.Context.Support.XmlApplicationContext..ctor(XmlApplicationContextArgs args)
at Spring.Context.Support.XmlApplicationContext..ctor(String name, Boolean caseSensitive, String[] configurationLocations)
at _dynamic_Spring.Context.Support.XmlApplicationContext..ctor(Object[] )
at Spring.Reflection.Dynamic.SafeConstructor.Invoke(Object[] arguments)
at Spring.Context.Support.ContextHandler.RootContextInstantiator.InvokeContextConstructor(ConstructorInfo ctor)
at Spring.Context.Support.ContextHandler.ContextInstantiator.InstantiateContext()
at Spring.Context.Support.ContextHandler.InstantiateContext(IApplicationContext parentContext, Object configContext, String contextName, Type contextType, Boolean caseSensitive, IList`1 resources)
at Spring.Context.Support.ContextHandler.Create(Object parent, Object configContext, XmlNode section)
The text was updated successfully, but these errors were encountered: