Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8711

Shutdown produces errors in log

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.14.0
    • 4.0.0
    • None

    Description

      Shutting down Bitbucket Server seems to take a lot longer and produce a lot more errors than in 3.11

      I've attached a log file. I'm not sure there's anything to do here, but it would be good to have someone really investigate what's happening.

      Update

      This exception can be safely ignored. Adding the log snippet here for reference:

      2016-03-21 12:16:14,884 WARN [FelixStartLevel] c.a.p.osgi.factory.OsgiBundlePlugin Cannot disable Bundle 'rome.rome-1.0', not ACTIVE
      2016-03-21 12:16:14,885 WARN [FelixStartLevel] c.a.p.osgi.factory.OsgiBundlePlugin Cannot disable Bundle 'com.springsource.org.jdom-1.1.0', not ACTIVE
      2016-03-21 12:16:14,885 WARN [FelixStartLevel] c.a.p.osgi.factory.OsgiBundlePlugin Cannot disable Bundle 'com.springsource.net.jcip.annotations-1.0.0', not ACTIVE
      2016-03-21 12:16:14,886 WARN [FelixStartLevel] c.a.p.osgi.factory.OsgiBundlePlugin Cannot disable Bundle 'com.atlassian.util.concurrent.atlassian-util-concurrent-3.0.0', not ACTIVE
      2016-03-21 12:16:14,898 WARN [FelixStartLevel] c.a.p.osgi.factory.OsgiBundlePlugin Cannot disable Bundle 'com.atlassian.bundles.json-20070829.0.0.1', not ACTIVE
      2016-03-21 12:16:14,954 ERROR [localhost-startStop-2] c.a.e.i.AsynchronousAbleEventDispatcher There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent@179886e8] from the invoker [SingleParameterMethodListenerInvoker
      {method=public void com.atlassian.plugin.loaders.ScanningPluginLoader.onShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent), listener=com.atlassian.plugin.loaders.BundledPluginLoader@3312ea41}
      ]
      java.lang.RuntimeException: java.lang.NullPointerException
      at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50) ~[atlassian-event-3.0.0.jar:na]
      at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) ~[atlassian-event-3.0.0.jar:na]
      at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) [guava-18.0.jar:na]
      at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:105) [atlassian-event-3.0.0.jar:na]
      at com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:260) [atlassian-event-3.0.0.jar:na]
      at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:102) [atlassian-event-3.0.0.jar:na]
      at com.atlassian.stash.internal.event.TransactionAwareEventPublisher.publish(TransactionAwareEventPublisher.java:84) [bitbucket-platform-4.4.1.jar:na]
      at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:73) [atlassian-plugins-core-4.1.1.jar:na]
      at com.atlassian.plugin.manager.DefaultPluginManager.broadcastIgnoreError(DefaultPluginManager.java:2081) [atlassian-plugins-core-4.1.1.jar:na]
      at com.atlassian.plugin.manager.DefaultPluginManager.shutdown(DefaultPluginManager.java:704) [atlassian-plugins-core-4.1.1.jar:na]
      at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.stop(SpringPluginSystemLifecycle.java:45) [bitbucket-platform-4.4.1.jar:na]
      at com.atlassian.stash.internal.spring.AbstractSmartLifecycle.stop(AbstractSmartLifecycle.java:36) [bitbucket-platform-4.4.1.jar:na]
      at org.springframework.context.support.DefaultLifecycleProcessor.doStop(DefaultLifecycleProcessor.java:229) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      at org.springframework.context.support.DefaultLifecycleProcessor.access$300(DefaultLifecycleProcessor.java:51) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.stop(DefaultLifecycleProcessor.java:363) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      at org.springframework.context.support.DefaultLifecycleProcessor.stopBeans(DefaultLifecycleProcessor.java:202) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      at org.springframework.context.support.DefaultLifecycleProcessor.onClose(DefaultLifecycleProcessor.java:118) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:975) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:934) [spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_65]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65]
      at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
      ... 11 frames trimmed
      Caused by: java.lang.NullPointerException: null
      at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.removeBundleListener(FelixOsgiContainerManager.java:506) ~[atlassian-plugins-osgi-4.1.1.jar:na]
      at com.atlassian.plugin.impl.AbstractPlugin.uninstall(AbstractPlugin.java:451) ~[atlassian-plugins-core-4.1.1.jar:na]
      at com.atlassian.plugin.loaders.ScanningPluginLoader.onShutdown(ScanningPluginLoader.java:247) ~[atlassian-plugins-core-4.1.1.jar:na]
      at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-3.0.0.jar:na]
      ... 22 common frames omitted
      2016-03-21 12:16:15,117 INFO [localhost-startStop-2] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /opt/bitbucket/data/shared
      2016-03-21 12:16:15,137 INFO [localhost-startStop-2] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /opt/bitbucket/data
      2016-03-21 12:16:15,138 INFO [localhost-startStop-2] c.a.s.i.server.BuildInfoLogger Bitbucket 4.4.1 has shut down

      Attachments

        Issue Links

          Activity

            People

              bturner Bryan Turner (Inactive)
              bturner Bryan Turner (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: