Server crashed and now I get 503 or 500 errors when accessing youtrack

This is the error that is logged once I attempt to load any youtrack page.

16 Feb 2014 09:40:56,641 ERROR [ServletImpl         ] [init servlet        ] [] Can't init servlet
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transientEntityStore' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml]: Cannot resolve reference to bean 'persistentEntityStore' while setting bean property 'persistentStore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentEntityStore' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml]: Cannot resolve reference to bean 'persistentDataEnvironment' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentDataEnvironment' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/exodusDataEnvironmentConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static jetbrains.exodus.database.persistence.Environment jetbrains.exodus.env.Environments.newInstance(java.lang.String,jetbrains.exodus.database.persistence.EnvironmentConfig)] threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 256
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transientEntityStore' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml]: Cannot resolve reference to bean 'persistentEntityStore' while setting bean property 'persistentStore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentEntityStore' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml]: Cannot resolve reference to bean 'persistentDataEnvironment' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentDataEnvironment' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/exodusDataEnvironmentConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static jetbrains.exodus.database.persistence.Environment jetbrains.exodus.env.Environments.newInstance(java.lang.String,jetbrains.exodus.database.persistence.EnvironmentConfig)] threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 256
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
 at java.security.AccessController.doPrivileged(Native Method)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
 at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:302)
 at webr.framework.controller.WebLocalScope.get(WebLocalScope.java:33)
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
 at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
 at webr.framework.controller.WebLocalClasspathXmlServiceLocator.getBean(WebLocalClasspathXmlServiceLocator.java:69)
 at jetbrains.springframework.configuration.runtime.ServiceLocator.getBean(ServiceLocator.java:54)
 at jetbrains.charisma.persistent.AddDNQSessionListenerServiceLocatorListener.onAfterInit(AddDNQSessionListenerServiceLocatorListener.java:14)
 at jetbrains.springframework.configuration.runtime.ServiceLocator.fireLocalAfterInit(ServiceLocator.java:112)
 at jetbrains.charisma.main.ServletImpl.init(ServletImpl.java:70)
 at javax.servlet.GenericServlet.init(GenericServlet.java:242)
 at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:517)
 at org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:402)
 at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:621)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
 at jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:25)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
 at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:137)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
 at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
 at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:242)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
 at org.eclipse.jetty.server.Server.handle(Server.java:365)
 at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
 at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)
 at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)
 at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)
 at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
 at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
 at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
 at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
 at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentEntityStore' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml]: Cannot resolve reference to bean 'persistentDataEnvironment' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentDataEnvironment' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/exodusDataEnvironmentConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static jetbrains.exodus.database.persistence.Environment jetbrains.exodus.env.Environments.newInstance(java.lang.String,jetbrains.exodus.database.persistence.EnvironmentConfig)] threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 256
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
 at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)
 at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
 at java.security.AccessController.doPrivileged(Native Method)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
 at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:302)
 at webr.framework.controller.WebLocalScope.get(WebLocalScope.java:33)
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
 ... 52 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentDataEnvironment' defined in file [/home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.0.5.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/exodusDataEnvironmentConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static jetbrains.exodus.database.persistence.Environment jetbrains.exodus.env.Environments.newInstance(java.lang.String,jetbrains.exodus.database.persistence.EnvironmentConfig)] threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 256
 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
 at java.security.AccessController.doPrivileged(Native Method)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
 at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:302)
 at webr.framework.controller.WebLocalScope.get(WebLocalScope.java:33)
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
 ... 67 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static jetbrains.exodus.database.persistence.Environment jetbrains.exodus.env.Environments.newInstance(java.lang.String,jetbrains.exodus.database.persistence.EnvironmentConfig)] threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 256
 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127)
 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)
 ... 79 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 256
 at jetbrains.exodus.log.LoggableFactory.create(LoggableFactory.java:34)
 at jetbrains.exodus.log.Log.read(Log.java:389)
 at jetbrains.exodus.log.Log.read(Log.java:375)
 at jetbrains.exodus.log.LoggableIterator.next(LoggableIterator.java:28)
 at jetbrains.exodus.log.Log.<init>(Log.java:135)
 at jetbrains.exodus.env.Environments.newLogInstance(Environments.java:75)
 at jetbrains.exodus.env.Environments.newLogInstance(Environments.java:69)
 at jetbrains.exodus.env.Environments.newLogInstance(Environments.java:49)
 at jetbrains.exodus.env.Environments.newInstance(Environments.java:19)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115)
 ... 80 more

Please sign in to leave a comment.