Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4937

IllegalArgumentException on shutdown if sessions have been created

    XMLWordPrintableJSON

Details

    Description

      java.lang.IllegalArgumentException: Context cannot be null!
      at org.apache.felix.http.base.internal.service.PerBundleHttpServiceImpl.<init>(PerBundleHttpServiceImpl.java:74)
      at org.apache.felix.http.base.internal.service.HttpServiceFactory.getService(HttpServiceFactory.java:137)
      at org.apache.felix.http.base.internal.whiteboard.HttpServiceContextHandler.getServletContext(HttpServiceContextHandler.java:82)
      at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.sessionDestroyed(WhiteboardManager.java:252)
      at org.apache.felix.http.base.internal.HttpServiceController$1.sessionDestroyed(HttpServiceController.java:76)
      at org.apache.felix.http.base.internal.EventDispatcher.sessionDestroyed(EventDispatcher.java:56)
      at org.eclipse.jetty.server.session.AbstractSessionManager.removeSession(AbstractSessionManager.java:772)
      at org.eclipse.jetty.server.session.AbstractSession.invalidate(AbstractSession.java:326)
      at org.eclipse.jetty.server.session.HashSessionManager.shutdownSessions(HashSessionManager.java:447)
      at org.eclipse.jetty.server.session.AbstractSessionManager.doStop(AbstractSessionManager.java:304)
      at org.eclipse.jetty.server.session.HashSessionManager.doStop(HashSessionManager.java:192)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
      at org.eclipse.jetty.server.session.SessionHandler.doStop(SessionHandler.java:127)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
      at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:835)
      at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:215)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:143)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:73)
      at org.eclipse.jetty.server.Server.doStop(Server.java:456)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
      at org.apache.felix.http.jetty.internal.JettyService.stopJetty(JettyService.java:218)
      at org.apache.felix.http.jetty.internal.JettyService.stop(JettyService.java:164)
      at org.apache.felix.http.jetty.internal.JettyActivator.doStop(JettyActivator.java:66)
      at org.apache.felix.http.base.internal.AbstractActivator.stop(AbstractActivator.java:47)
      at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:719)
      at org.apache.felix.framework.Felix.stopBundle(Felix.java:2604)
      at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:1013)
      at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:1000)

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: