javax.servlet.ServletException: MainServlet@a4ecda2c==jetbrains.hub.server.HubRestServlet,1,false


Solutions on the web45

Solution icon of youtrack
MainServlet@a4ecda2c==jetbrains.hub.server.HubRestServlet,1,false

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
MainServlet@a4ecda2c==jetbrains.charisma.main.LastModifiedAwareMainServlet,-1,false

Solution icon of stackoverflow
name@337a8b==com.hubspot.dropwizard.guice.GuiceContainer,1,false

Solution icon of stackoverflow
com.example.config.JerseyConfig@c2666de==org.glassfish.jersey.servlet.ServletContainer,-1,false

Solution icon of googlegroups
via Google Groups by Jianfeng Wang, 1 year ago
zkLoader@258442a4==org.adempiere.webui.session.WebUIServlet,1,false

Solution icon of googlegroups
via Google Groups by Archie Lim, 7 months ago
jersey@baa68670==org.glassfish.jersey.servlet.ServletContainer,1,false

Solution icon of stackoverflow
dispatcher@b7ba1aa7==org.springframework.web.servlet.DispatcherServlet,1,false

Solution icon of github
io.dropwizard.jersey.setup.JerseyServletContainer-4005e485@ad3bc60b==io.dropwizard.jersey.setup.JerseyServletContainer,1,false

Solution icon of github
via GitHub by jexp
, 7 months ago
org.neo4j.server.web.NeoServletContainer-7e2cb4dd@da352b6==org.neo4j.server.web.NeoServletContainer,-1,false

Solution icon of github
org.neo4j.server.web.NeoServletContainer-1d5378a2@386e8717==org.neo4j.server.web.NeoServletContainer,-1,false

Stack trace

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

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.