javax.servlet.ServletException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Exception on YT 6.0 start on old database
    via by Unknown author,
    • javax.servlet.ServletException: MainServlet@a4ecda2c==jetbrains.hub.server.HubRestServlet,1,false at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:633)[Hub Error] at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)[Hub Error] at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)[Hub Error] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)[Hub Error] at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)[Hub Error] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)[Hub Error] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)[Hub Error] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)[Hub Error] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[Hub Error] at com.jetbrains.bundle.services.impl.jetty.BundleJettyServicesContainer.startServiceInContainer(BundleJettyServicesContainer.java:77)[Hub Error] at com.jetbrains.bundle.services.impl.BundledService.doStart(BundledService.java:39)[Hub Error] at com.jetbrains.bundle.services.impl.ServiceBase.start(ServiceBase.java:64)[Hub Error] at com.jetbrains.bundle.Services.startService(Services.java:564)[Hub Error] at com.jetbrains.bundle.Services.startAllServices(Services.java:537)[Hub Error] at com.jetbrains.bundle.Services.start(Services.java:517)[Hub Error] at com.jetbrains.bundle.BundleMain.start(BundleMain.java:202)[Hub Error] at com.jetbrains.bundle.BundleMain.start(BundleMain.java:161)[Hub Error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[Hub Error] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[Hub Error] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[Hub Error] at java.lang.reflect.Method.invoke(Method.java:498)[Hub Error] at com.jetbrains.bundle.bootstrap.Bundle$EntryPointProvider$1.invoke(Bundle.java:92)[Hub Error] at com.sun.proxy.$Proxy2.start(Unknown Source)[Hub Error] at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:99)[Hub Error] at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:97)[Hub Error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[Hub Error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[Hub Error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[Hub Error] at java.lang.Thread.run(Thread.java:745)[Hub Error] Caused by: java.lang.RuntimeException: jetbrains.exodus.entitystore.EntityStoreException: Failed to insert unique key (already exists), index: service, key, values = [JPService: id = 40-6, YouTrack_Project_PS] at jetbrains.jetpass.server.main.App.init(App.java:159)[Hub Error] at jetbrains.hub.server.HubRestServlet.initMainApplication(HubRestServlet.kt:62)[Hub Error] at jetbrains.hub.server.HubRestServlet.init(HubRestServlet.kt:35)[Hub Error] at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)[Hub Error] ... 28 more Caused by: jetbrains.exodus.entitystore.EntityStoreException: Failed to insert unique key (already exists), index: service, key, values = [JPService: id = 40-6, YouTrack_Project_PS] at jetbrains.exodus.entitystore.PersistentEntityStoreImpl.createUniqueKeyIndex(PersistentEntityStoreImpl.java:1622)[Hub Error] at jetbrains.exodus.entitystore.PersistentEntityStoreImpl.access$800(PersistentEntityStoreImpl.java:52)[Hub Error] at jetbrains.exodus.entitystore.PersistentEntityStoreImpl$11.execute(PersistentEntityStoreImpl.java:1556)[Hub Error] at jetbrains.exodus.entitystore.PersistentEntityStoreImpl.executeInTransaction(PersistentEntityStoreImpl.java:503)[Hub Error] at jetbrains.exodus.entitystore.PersistentEntityStoreImpl.updateUniqueKeyIndices(PersistentEntityStoreImpl.java:1539)[Hub Error] at jetbrains.teamsys.dnq.runtime.util.DnqUtils.initUniqueProperties(DnqUtils.java:106)[Hub Error] at jetbrains.jetpass.userManagement.persistence.migration.MigrationContainer.applyAll(MigrationContainer.java:82)[Hub Error] at jetbrains.jetpass.service.bean.JetPassMainApp.applyMigrations(JetPassMainApp.java:219)[Hub Error] at jetbrains.jetpass.service.bean.JetPassMainApp.access$000(JetPassMainApp.java:60)[Hub Error] at jetbrains.jetpass.service.bean.JetPassMainApp$2.run(JetPassMainApp.java:144)[Hub Error] at jetbrains.jetpass.server.console.HubPrincipalManagerImpl.runAs(HubPrincipalManagerImpl.java:40)[Hub Error] at jetbrains.jetpass.service.bean.JetPassMainApp.init(JetPassMainApp.java:142)[Hub Error] at jetbrains.jetpass.server.main.App.init(App.java:154)[Hub Error] ... 31 more
    No Bugmate found.