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

YouTrack | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .
  2. 0
    samebug tip
    If you want to keep using @EnableWebMvc annotation, you have to add the code on the first answer of this page: https://goo.gl/JoHTKU to your code
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    samebug tip
    Springboot auto-configuration is disabled when you try to use WebMvcConfigurerAdapter and @EnableWebMvc. If WebConfig is not of the essence, remove it and use SpringBoot auto-configuration.
  5. 0

    Havaing trouble upgrading from 2.4.3 to higher, class loading issue

    Google Groups | 4 years ago | Shahryar Sedghi
    org.cometd.annotation.AnnotationCometdServlet

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. jetbrains.exodus.entitystore
      PersistentEntityStoreImpl.updateUniqueKeyIndices
      1. jetbrains.exodus.entitystore.PersistentEntityStoreImpl.createUniqueKeyIndex(PersistentEntityStoreImpl.java:1622)[Hub Error]
      2. jetbrains.exodus.entitystore.PersistentEntityStoreImpl.access$800(PersistentEntityStoreImpl.java:52)[Hub Error]
      3. jetbrains.exodus.entitystore.PersistentEntityStoreImpl$11.execute(PersistentEntityStoreImpl.java:1556)[Hub Error]
      4. jetbrains.exodus.entitystore.PersistentEntityStoreImpl.executeInTransaction(PersistentEntityStoreImpl.java:503)[Hub Error]
      5. jetbrains.exodus.entitystore.PersistentEntityStoreImpl.updateUniqueKeyIndices(PersistentEntityStoreImpl.java:1539)[Hub Error]
      5 frames
    3. jetbrains.teamsys.dnq
      DnqUtils.initUniqueProperties
      1. jetbrains.teamsys.dnq.runtime.util.DnqUtils.initUniqueProperties(DnqUtils.java:106)[Hub Error]
      1 frame
    4. jetbrains.jetpass.userManagement
      MigrationContainer.applyAll
      1. jetbrains.jetpass.userManagement.persistence.migration.MigrationContainer.applyAll(MigrationContainer.java:82)[Hub Error]
      1 frame
    5. jetbrains.jetpass.service
      JetPassMainApp$2.run
      1. jetbrains.jetpass.service.bean.JetPassMainApp.applyMigrations(JetPassMainApp.java:219)[Hub Error]
      2. jetbrains.jetpass.service.bean.JetPassMainApp.access$000(JetPassMainApp.java:60)[Hub Error]
      3. jetbrains.jetpass.service.bean.JetPassMainApp$2.run(JetPassMainApp.java:144)[Hub Error]
      3 frames
    6. jetbrains.jetpass.server
      HubPrincipalManagerImpl.runAs
      1. jetbrains.jetpass.server.console.HubPrincipalManagerImpl.runAs(HubPrincipalManagerImpl.java:40)[Hub Error]
      1 frame
    7. jetbrains.jetpass.service
      JetPassMainApp.init
      1. jetbrains.jetpass.service.bean.JetPassMainApp.init(JetPassMainApp.java:142)[Hub Error]
      1 frame
    8. jetbrains.jetpass.server
      App.init
      1. jetbrains.jetpass.server.main.App.init(App.java:154)[Hub Error]
      1 frame
    9. jetbrains.hub.server
      HubRestServlet.init
      1. jetbrains.hub.server.HubRestServlet.initMainApplication(HubRestServlet.kt:62)[Hub Error]
      2. jetbrains.hub.server.HubRestServlet.init(HubRestServlet.kt:35)[Hub Error]
      2 frames
    10. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)[Hub Error]
      2. org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)[Hub Error]
      3. org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)[Hub Error]
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)[Hub Error]
      5. org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)[Hub Error]
      6. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)[Hub Error]
      7. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)[Hub Error]
      8. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)[Hub Error]
      9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[Hub Error]
      9 frames
    11. com.jetbrains.bundle
      BundleMain.start
      1. com.jetbrains.bundle.services.impl.jetty.BundleJettyServicesContainer.startServiceInContainer(BundleJettyServicesContainer.java:77)[Hub Error]
      2. com.jetbrains.bundle.services.impl.BundledService.doStart(BundledService.java:39)[Hub Error]
      3. com.jetbrains.bundle.services.impl.ServiceBase.start(ServiceBase.java:64)[Hub Error]
      4. com.jetbrains.bundle.Services.startService(Services.java:564)[Hub Error]
      5. com.jetbrains.bundle.Services.startAllServices(Services.java:537)[Hub Error]
      6. com.jetbrains.bundle.Services.start(Services.java:517)[Hub Error]
      7. com.jetbrains.bundle.BundleMain.start(BundleMain.java:202)[Hub Error]
      8. com.jetbrains.bundle.BundleMain.start(BundleMain.java:161)[Hub Error]
      8 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[Hub Error]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[Hub Error]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[Hub Error]
      4. java.lang.reflect.Method.invoke(Method.java:498)[Hub Error]
      4 frames
    13. com.jetbrains.bundle
      Bundle$EntryPointProvider$1.invoke
      1. com.jetbrains.bundle.bootstrap.Bundle$EntryPointProvider$1.invoke(Bundle.java:92)[Hub Error]
      1 frame
    14. com.sun.proxy
      $Proxy2.start
      1. com.sun.proxy.$Proxy2.start(Unknown Source)[Hub Error]
      1 frame
    15. com.jetbrains.launcher
      AppProxy$6$1.call
      1. com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:99)[Hub Error]
      2. com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:97)[Hub Error]
      2 frames
    16. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[Hub Error]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[Hub Error]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[Hub Error]
      4. java.lang.Thread.run(Thread.java:745)[Hub Error]
      4 frames