org.osgi.framework.BundleException: Exception in org.springframework.osgi.web.extender.internal.activator.WarLoaderListener.stop() of bundle org.springframework.bundle.osgi.web.extender.

Spring JIRA | Hendy Irawan | 8 years ago
  1. 0

    spring-osgi-web-extender throws NullPointerException when refreshed Note that there isn't any WAR bundle active yet. osgi> ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.4.2.R34x_v20080826-1230 1 ACTIVE org.eclipse.osgi.util_3.1.300.v20080303 2 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605 3 RESOLVED ... 4 ACTIVE org.ops4j.pax.logging.pax-logging-api_1.1.1 5 ACTIVE org.ops4j.pax.logging.pax-logging-service_1.1.1 6 ACTIVE com.springsource.org.aopalliance_1.0.0 7 ACTIVE org.springframework.bundle.spring.core_2.5.5 8 ACTIVE org.springframework.bundle.spring.beans_2.5.5 9 ACTIVE org.springframework.bundle.spring.context_2.5.5 10 ACTIVE org.springframework.bundle.spring.aop_2.5.5 11 ACTIVE org.springframework.bundle.spring.web_2.5.5 12 ACTIVE org.springframework.bundle.osgi.core_1.1.2 13 ACTIVE org.springframework.bundle.osgi.io_1.1.2 14 ACTIVE org.springframework.bundle.osgi.extender_1.1.2 15 ACTIVE org.springframework.bundle.osgi.extensions.annotations_1.1.2 16 ACTIVE org.springframework.bundle.osgi.web_1.1.2 17 ACTIVE org.springframework.bundle.osgi.web.extender_1.1.2 18 ACTIVE org.mortbay.jetty.util_6.1.14 19 ACTIVE org.mortbay.jetty.server_6.1.14 20 ACTIVE org.springframework.osgi.servlet-api.osgi_2.5.0.SNAPSHOT 21 ACTIVE org.springframework.osgi.jetty.start.osgi_1.0.0 22 INSTALLED org.springframework.osgi.jetty.web.extender.fragment.osgi_1.0.1 osgi> r 17 [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STOPPING] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STOPPING] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] INFO org.springframework.scheduling.timer.TimerTaskExecutor - Cancelling Timer [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STOPPED] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STOPPED] for bundle [org.springframework.bundle.osgi.web.extender] [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - BundleEvent STOPPED [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - FrameworkEvent ERROR org.osgi.framework.BundleException: Exception in org.springframework.osgi.web.extender.internal.activator.WarLoaderListener.stop() of bundle org.springframework.bundle.osgi.web.extender. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1066) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:531) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1104) at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:281) at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:416) at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:224) at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:162) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at org.springframework.osgi.web.extender.internal.activator.WarLoaderListener$DeploymentManager.destroy(WarLoaderListener.java:136) at org.springframework.osgi.web.extender.internal.activator.WarLoaderListener.stop(WarLoaderListener.java:470) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1050) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1046) ... 8 more [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [UNRESOLVED] for bundle [org.springframework.bundle.osgi.web.extender] osgi> [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.support.NamespacePlugins - Removing handler spring-osgi-web-extender (org.springframework.bundle.osgi.web.extender) [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [UNRESOLVED] for bundle [org.springframework.bundle.osgi.web.extender] [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - BundleEvent UNRESOLVED [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [RESOLVED] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [RESOLVED] for bundle [org.springframework.bundle.osgi.web.extender] [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - BundleEvent RESOLVED [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STARTING] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STARTING] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] TRACE org.springframework.core.CollectionFactory - Creating [java.util.concurrent.ConcurrentHashMap] [Refresh Packages] TRACE org.springframework.core.CollectionFactory - Creating [java.util.concurrent.ConcurrentHashMap] [Refresh Packages] INFO org.springframework.scheduling.timer.TimerTaskExecutor - Initializing Timer [Refresh Packages] INFO org.springframework.osgi.web.extender.internal.activator.WarLoaderListener - Starting [org.springframework.bundle.osgi.web.extender] bundle v.[1.1.2] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STARTED] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STARTED] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Scanning bundle [spring-osgi-web-extender(org.springframework.bundle.osgi.web.extender)] for configurations... [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Creating an application context for bundle [spring-osgi-web-extender (org.springframework.bundle.osgi.web.extender)] [Refresh Packages] TRACE org.springframework.osgi.extender.support.ApplicationContextConfiguration - Configuration: AppCtxCfg [Bundle=org.springframework.bundle.osgi.web.extender]isSpringBundle=false|async=true|wait-for-deps=true|publishCtx=true|timeout=300s [Refresh Packages] TRACE org.springframework.osgi.extender.support.DefaultOsgiApplicationContextCreator - Created configuration AppCtxCfg [Bundle=org.springframework.bundle.osgi.web.extender]isSpringBundle=false|async=true|wait-for-deps=true|publishCtx=true|timeout=300s for bundle spring-osgi-web-extender (org.springframework.bundle.osgi.web.extender) [WebExtender-Init] INFO org.springframework.osgi.web.extender.internal.activator.WarListenerConfiguration - No custom extender configuration detected; using defaults... [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - No application context created for bundle[spring-osgi-web-extender (org.springframework.bundle.osgi.web.extender)] [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - BundleEvent STARTED [Framework Event Dispatcher] INFO org.eclipse.osgi - FrameworkEvent PACKAGES REFRESHED

    Spring JIRA | 8 years ago | Hendy Irawan
    org.osgi.framework.BundleException: Exception in org.springframework.osgi.web.extender.internal.activator.WarLoaderListener.stop() of bundle org.springframework.bundle.osgi.web.extender.
  2. 0

    spring-osgi-web-extender throws NullPointerException when refreshed Note that there isn't any WAR bundle active yet. osgi> ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.4.2.R34x_v20080826-1230 1 ACTIVE org.eclipse.osgi.util_3.1.300.v20080303 2 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605 3 RESOLVED ... 4 ACTIVE org.ops4j.pax.logging.pax-logging-api_1.1.1 5 ACTIVE org.ops4j.pax.logging.pax-logging-service_1.1.1 6 ACTIVE com.springsource.org.aopalliance_1.0.0 7 ACTIVE org.springframework.bundle.spring.core_2.5.5 8 ACTIVE org.springframework.bundle.spring.beans_2.5.5 9 ACTIVE org.springframework.bundle.spring.context_2.5.5 10 ACTIVE org.springframework.bundle.spring.aop_2.5.5 11 ACTIVE org.springframework.bundle.spring.web_2.5.5 12 ACTIVE org.springframework.bundle.osgi.core_1.1.2 13 ACTIVE org.springframework.bundle.osgi.io_1.1.2 14 ACTIVE org.springframework.bundle.osgi.extender_1.1.2 15 ACTIVE org.springframework.bundle.osgi.extensions.annotations_1.1.2 16 ACTIVE org.springframework.bundle.osgi.web_1.1.2 17 ACTIVE org.springframework.bundle.osgi.web.extender_1.1.2 18 ACTIVE org.mortbay.jetty.util_6.1.14 19 ACTIVE org.mortbay.jetty.server_6.1.14 20 ACTIVE org.springframework.osgi.servlet-api.osgi_2.5.0.SNAPSHOT 21 ACTIVE org.springframework.osgi.jetty.start.osgi_1.0.0 22 INSTALLED org.springframework.osgi.jetty.web.extender.fragment.osgi_1.0.1 osgi> r 17 [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STOPPING] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STOPPING] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] INFO org.springframework.scheduling.timer.TimerTaskExecutor - Cancelling Timer [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STOPPED] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STOPPED] for bundle [org.springframework.bundle.osgi.web.extender] [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - BundleEvent STOPPED [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - FrameworkEvent ERROR org.osgi.framework.BundleException: Exception in org.springframework.osgi.web.extender.internal.activator.WarLoaderListener.stop() of bundle org.springframework.bundle.osgi.web.extender. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1066) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:531) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1104) at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:281) at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:416) at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:224) at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:162) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at org.springframework.osgi.web.extender.internal.activator.WarLoaderListener$DeploymentManager.destroy(WarLoaderListener.java:136) at org.springframework.osgi.web.extender.internal.activator.WarLoaderListener.stop(WarLoaderListener.java:470) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1050) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1046) ... 8 more [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [UNRESOLVED] for bundle [org.springframework.bundle.osgi.web.extender] osgi> [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.support.NamespacePlugins - Removing handler spring-osgi-web-extender (org.springframework.bundle.osgi.web.extender) [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [UNRESOLVED] for bundle [org.springframework.bundle.osgi.web.extender] [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - BundleEvent UNRESOLVED [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [RESOLVED] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [RESOLVED] for bundle [org.springframework.bundle.osgi.web.extender] [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - BundleEvent RESOLVED [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STARTING] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STARTING] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] TRACE org.springframework.core.CollectionFactory - Creating [java.util.concurrent.ConcurrentHashMap] [Refresh Packages] TRACE org.springframework.core.CollectionFactory - Creating [java.util.concurrent.ConcurrentHashMap] [Refresh Packages] INFO org.springframework.scheduling.timer.TimerTaskExecutor - Initializing Timer [Refresh Packages] INFO org.springframework.osgi.web.extender.internal.activator.WarLoaderListener - Starting [org.springframework.bundle.osgi.web.extender] bundle v.[1.1.2] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STARTED] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Processing bundle event [STARTED] for bundle [org.springframework.bundle.osgi.web.extender] [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Scanning bundle [spring-osgi-web-extender(org.springframework.bundle.osgi.web.extender)] for configurations... [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Creating an application context for bundle [spring-osgi-web-extender (org.springframework.bundle.osgi.web.extender)] [Refresh Packages] TRACE org.springframework.osgi.extender.support.ApplicationContextConfiguration - Configuration: AppCtxCfg [Bundle=org.springframework.bundle.osgi.web.extender]isSpringBundle=false|async=true|wait-for-deps=true|publishCtx=true|timeout=300s [Refresh Packages] TRACE org.springframework.osgi.extender.support.DefaultOsgiApplicationContextCreator - Created configuration AppCtxCfg [Bundle=org.springframework.bundle.osgi.web.extender]isSpringBundle=false|async=true|wait-for-deps=true|publishCtx=true|timeout=300s for bundle spring-osgi-web-extender (org.springframework.bundle.osgi.web.extender) [WebExtender-Init] INFO org.springframework.osgi.web.extender.internal.activator.WarListenerConfiguration - No custom extender configuration detected; using defaults... [Refresh Packages] DEBUG org.springframework.osgi.extender.internal.activator.ContextLoaderListener - No application context created for bundle[spring-osgi-web-extender (org.springframework.bundle.osgi.web.extender)] [Framework Event Dispatcher] INFO org.springframework.bundle.osgi.web.extender - BundleEvent STARTED [Framework Event Dispatcher] INFO org.eclipse.osgi - FrameworkEvent PACKAGES REFRESHED

    Spring JIRA | 8 years ago | Hendy Irawan
    org.osgi.framework.BundleException: Exception in org.springframework.osgi.web.extender.internal.activator.WarLoaderListener.stop() of bundle org.springframework.bundle.osgi.web.extender.
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. java.lang.NullPointerException

      No message provided

      at org.springframework.osgi.web.extender.internal.activator.WarLoaderListener$DeploymentManager.destroy()
    2. org.springframework.osgi
      WarLoaderListener.stop
      1. org.springframework.osgi.web.extender.internal.activator.WarLoaderListener$DeploymentManager.destroy(WarLoaderListener.java:136)
      2. org.springframework.osgi.web.extender.internal.activator.WarLoaderListener.stop(WarLoaderListener.java:470)
      2 frames
    3. Eclipse OSGi
      BundleContextImpl$3.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1050)
      1 frame
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. Eclipse OSGi
      PackageAdminImpl$1.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1046)
      2. org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457)
      3. org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:531)
      4. org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1104)
      5. org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:281)
      6. org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:416)
      7. org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:224)
      8. org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:162)
      8 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame