java.lang.IllegalArgumentException: bundle context should be set before refreshing the application context

Google Groups | Pavel Kuzin | 7 years ago
  1. 0

    Spring DM 2.0M1 with Glassfish v3

    Google Groups | 7 years ago | Pavel Kuzin
    java.lang.IllegalArgumentException: bundle context should be set before refreshing the application context
  2. 0

    Trouble in creating an osgi web bundle calling and external bundle service

    Google Groups | 6 years ago | Hajer Oualha
    java.lang.IllegalArgumentException: bundle context should be set before refreshing the application context
  3. 0

    Cannot get Spring MVC with equinox

    Google Groups | 8 years ago | evaleto...@gmail.com
    java.lang.IllegalArgumentException: bundle context should be set before refreshing the application context
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    bundle context should be set before refreshing the application context

    Google Groups | 9 years ago | Matt Raible
    java.lang.IllegalArgumentException: bundle context should be set before refreshing the application context
  6. 0

    Loading spring dm in OSGi container

    Stack Overflow | 1 year ago | Prashant Onkar
    java.lang.IllegalArgumentException: bundle context should be set before refreshing the application context

  1. batwalrus76 4 times, last 2 weeks ago
  2. serious2monkeys 1 times, last 3 weeks ago
  3. tvrmsmith 1 times, last 1 month ago
  4. fima 1 times, last 2 months ago
  5. dafman 2 times, last 2 months ago
8 more registered users
87 unregistered visitors
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.IllegalArgumentException

    bundle context should be set before refreshing the application context

    at org.springframework.util.Assert.notNull()
  2. Spring Core
    Assert.notNull
    1. org.springframework.util.Assert.notNull(Assert.java:112)
    1 frame
  3. Spring OSGi Core
    AbstractDelegatedExecutionApplicationContext.refresh
    1. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:163)
    2. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:80)
    3. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:159)
    3 frames
  4. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:270)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    3 frames
  5. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4664)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:5289)
    2 frames
  6. Glassfish
    WebModule.start
    1. com.sun.enterprise.web.WebModule.start(WebModule.java:499)
    1 frame
  7. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
    2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
    3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
    3 frames
  8. Glassfish
    WebApplication.start
    1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1831)
    2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1515)
    3. com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
    3 frames
  9. Private APIs of Glassfish
    ApplicationInfo.start
    1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
    2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:219)
    3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:240)
    3 frames
  10. Kernel Classes
    ApplicationLifecycle.deploy
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:308)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
    2 frames
  11. org.glassfish.web
    WebExtender.bundleChanged
    1. org.glassfish.web.osgi.JavaEEDeploymentRequest.deploy(JavaEEDeploymentRequest.java:167)
    2. org.glassfish.web.osgi.JavaEEDeploymentRequest.execute(JavaEEDeploymentRequest.java:119)
    3. org.glassfish.web.osgi.OSGiWebContainer.deployJavaEEArtifacts(OSGiWebContainer.java:141)
    4. org.glassfish.web.osgi.OSGiWebContainer.deploy(OSGiWebContainer.java:106)
    5. org.glassfish.web.osgi.WebExtender.deploy(WebExtender.java:158)
    6. org.glassfish.web.osgi.WebExtender.bundleChanged(WebExtender.java:110)
    6 frames
  12. Eclipse OSGi
    BundleContextImpl.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:919)
    1 frame
  13. Eclipse OSGi
    ListenerQueue.dispatchEventSynchronous
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
    2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
    2 frames
  14. Eclipse OSGi
    AbstractBundle.update
    1. org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1350)
    2. org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1301)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:338)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.updateWorker(AbstractBundle.java:625)
    5. org.eclipse.osgi.framework.internal.core.AbstractBundle.update(AbstractBundle.java:572)
    5 frames
  15. Apache Felix File Install
    DirectoryWatcher.run
    1. org.apache.felix.fileinstall.DirectoryWatcher.update(DirectoryWatcher.java:786)
    2. org.apache.felix.fileinstall.DirectoryWatcher.update(DirectoryWatcher.java:679)
    3. org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:380)
    4. org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:123)
    4 frames