java.lang.RuntimeException: java.lang.NullPointerException

Atlassian JIRA | Cezary Zawadka | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sometimes during application shutdown (or restore) following exception can be seen: {code} ERROR - There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent@1481002d] from the invoker [SingleParameterMethodListenerInvoker{method=publ ic void com.atlassian.plugin.loaders.ScanningPluginLoader.onShutdown(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent), listener=com.atlassian.plugin.loaders.BundledPluginLoader@4a716a73}] java.lang.RuntimeException: java.lang.NullPointerException at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:39) [atlassian-event-3.1.1.jar:?] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:38) [atlassian-event-3.1.1.jar:?] at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) [guava-18.0.jar:?] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:88) [atlassian-event-3.1.1.jar:?] at com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:222) [atlassian-event-3.1.1.jar:?] at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:95) [atlassian-event-3.1.1.jar:?] at com.atlassian.fisheye.event.FisheyeEventPublisher$EventPublication.publish(FisheyeEventPublisher.java:63) [fisheye.jar:?] at com.atlassian.fisheye.event.FisheyeEventPublisher.publish(FisheyeEventPublisher.java:35) [fisheye.jar:?] at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:83) [atlassian-plugins-core-4.4.0.jar:?] at com.atlassian.plugin.manager.DefaultPluginManager.broadcastIgnoreError(DefaultPluginManager.java:2102) [atlassian-plugins-core-4.4.0.jar:?] at com.atlassian.plugin.manager.DefaultPluginManager.shutdown(DefaultPluginManager.java:717) [atlassian-plugins-core-4.4.0.jar:?] at com.atlassian.fisheye.plugin.DelegatingFisheyePluginManager.onContextClosedEvent(DelegatingFisheyePluginManager.java:212) [fisheye.jar:?] at com.cenqua.fisheye.config.SpringContext.onApplicationEvent(SpringContext.java:40) [fisheye.jar:?] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:98) [spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:333) [spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:882) [spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:843) [spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at com.cenqua.fisheye.ctl.Restore.destroyApplicationContext(Restore.java:357) [fisheye.jar:?] at com.atlassian.crucible.migration.item.ActiveObjectsBackup$ActiveObjectsRestorer.restore(ActiveObjectsBackup.java:108) [fisheye.jar:?] at com.cenqua.fisheye.ctl.Restore.run(Restore.java:187) [fisheye.jar:?] at com.cenqua.fisheye.ctl.Restore.main(Restore.java:261) [fisheye.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_66] at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:101) [fisheyeboot.jar:?] at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:44) [fisheyeboot.jar:?] Caused by: java.lang.NullPointerException at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.removeBundleListener(FelixOsgiContainerManager.java:506) [atlassian-plugins-osgi-4.4.0.jar:?] at com.atlassian.plugin.osgi.factory.OsgiBundlePlugin.uninstallInternal(OsgiBundlePlugin.java:276) [atlassian-plugins-osgi-4.4.0.jar:?] at com.atlassian.plugin.impl.AbstractPlugin.uninstall(AbstractPlugin.java:452) [atlassian-plugins-core-4.4.0.jar:?] at com.atlassian.plugin.loaders.ScanningPluginLoader.onShutdown(ScanningPluginLoader.java:247) [atlassian-plugins-core-4.4.0.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_66] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:32) [atlassian-event-3.1.1.jar:?] {code} Exception despite looking ugly doesn't do any harm.

    Atlassian JIRA | 10 months ago | Cezary Zawadka
    java.lang.RuntimeException: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.removeBundleListener()
    2. com.atlassian.plugin
      ScanningPluginLoader.onShutdown
      1. com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.removeBundleListener(FelixOsgiContainerManager.java:506)[atlassian-plugins-osgi-4.4.0.jar:?]
      2. com.atlassian.plugin.osgi.factory.OsgiBundlePlugin.uninstallInternal(OsgiBundlePlugin.java:276)[atlassian-plugins-osgi-4.4.0.jar:?]
      3. com.atlassian.plugin.impl.AbstractPlugin.uninstall(AbstractPlugin.java:452)[atlassian-plugins-core-4.4.0.jar:?]
      4. com.atlassian.plugin.loaders.ScanningPluginLoader.onShutdown(ScanningPluginLoader.java:247)[atlassian-plugins-core-4.4.0.jar:?]
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_66]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_66]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_66]
      4. java.lang.reflect.Method.invoke(Method.java:497)[?:1.8.0_66]
      4 frames
    4. com.atlassian.event
      SingleParameterMethodListenerInvoker.invoke
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:32)[atlassian-event-3.1.1.jar:?]
      1 frame