Plugin failed to initialize after upgrade to 10.0.1

Answered

Hi,

I have just upgraded TeamCity to v. 10.0.1 and after doing so a plugin fails to initialize(Search build by number plugin) and I can't figure out why.

Below is the beginning of the error and it goes on and on.

Thanks!

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'searchController' defined in Byte array resource [plugin: searchBuildByNumber#searchBuildByNumber.jar!/META-INF/build-server-plugin-search.xml]: Unsatisfied dependency expressed through constructor argument with index 4 of type [jetbrains.buildServer.serverSide.search.SearchService]: Error creating bean with name 'searchService' defined in Byte array resource [plugin: searchBuildByNumber#searchBuildByNumber.jar!/META-INF/build-server-plugin-search.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [jetbrains.buildServer.serverSide.search.SearchService]: Constructor threw exception; nested exception is java.io.IOException: read past EOF; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchService' defined in Byte array resource [plugin: searchBuildByNumber#searchBuildByNumber.jar!/META-INF/build-server-plugin-search.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [jetbrains.buildServer.serverSide.search.SearchService]: Constructor threw exception; nested exception is java.io.IOException: read past EOF
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) 

3 comments

I have the exact same issue, all other plugins have loaded fine.

0

Hi Milan,

 

You need to:

- stop the server

- navigate to <TeamCity data directory>/system/caches/ directory

- remove search directory

- start server again

 

That should do it!

0

Hi Renny,

 

Thanks for the tip, that worked!

0

Please sign in to leave a comment.