Http Context Null Pointer Exception On Updating War Bundle

Description

In testing in my dev environment I am seeing null pointer exceptions when I update my bundle stopping the war from registering. Log is below:

14:01:09,524 | DEBUG | Gogo shell | ?[?] ServiceEvent UNREGISTERING - {javax.servlet.ServletContext}={osgi.web.symbolicname=com.mycompany.myproject.myservlet, osgi.web.version=1.0.0.20130312-GC, osgi.web.contextpath=/MyTestServlet, service.id=133} - com.mycompany.myproject.myservlet
14:01:09,526 | INFO | Gogo shell | org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl[40] Unbinding bundle: [com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138]]
14:01:09,527 | DEBUG | Gogo shell | org.ops4j.pax.web.service.internal.HttpServiceProxy[91] Stopping http service: [org.ops4j.pax.web.service.internal.HttpServiceProxy@45439201]
14:01:09,527 | DEBUG | Gogo shell | org.ops4j.pax.web.service.internal.HttpServiceStopped[41] Changing HttpService state to org.ops4j.pax.web.service.internal.HttpServiceStopped@17fb4917
14:01:09,527 | DEBUG | Gogo shell | org.ops4j.pax.web.service.internal.ServletEventDispatcher[115] Sending web event ServletEvent [replay=false, type=3, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], timestamp=1363111269527, alias=null, servletName=MyTestServletServlet, urlParameter=[Ljava.lang.String;@32aa2fd8, servlet=null, servletClass=class com.mycompany.myproject.myservlet.MyTestServletServlet], httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@29a30c0e] for bundle com.mycompany.myproject.myservlet
14:01:09,528 | DEBUG | ServletEventDispatcher: 3 | ?[?] org/osgi/service/web/UNDEPLOYING
14:01:09,528 | DEBUG | Gogo shell | org.ops4j.pax.web.service.internal.ServletEventDispatcher[115] Sending web event ServletEvent [replay=false, type=4, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], timestamp=1363111269528, alias=null, servletName=MyTestServletServlet, urlParameter=[Ljava.lang.String;@32aa2fd8, servlet=null, servletClass=class com.mycompany.myproject.myservlet.MyTestServletServlet], httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@29a30c0e] for bundle com.mycompany.myproject.myservlet
14:01:09,529 | DEBUG | ServletEventDispatcher: 1 | ?[?] org/osgi/service/web/UNDEPLOYED
14:01:09,529 | DEBUG | Gogo shell | org.ops4j.pax.web.service.internal.ServletEventDispatcher[115] Sending web event ServletEvent [replay=false, type=3, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], timestamp=1363111269529, alias=null, servletName=jsp, urlParameter=[Ljava.lang.String;@5ba24f7c, servlet=org.ops4j.pax.web.jsp.JspServletWrapper@7d1084e3, servletClass=null], httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@29a30c0e] for bundle com.mycompany.myproject.myservlet
14:01:09,529 | DEBUG | ServletEventDispatcher: 2 | ?[?] org/osgi/service/web/UNDEPLOYING
14:01:09,530 | DEBUG | Gogo shell | org.ops4j.pax.web.service.internal.ServletEventDispatcher[115] Sending web event ServletEvent [replay=false, type=4, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], timestamp=1363111269530, alias=null, servletName=jsp, urlParameter=[Ljava.lang.String;@5ba24f7c, servlet=org.ops4j.pax.web.jsp.JspServletWrapper@7d1084e3, servletClass=null], httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@29a30c0e] for bundle com.mycompany.myproject.myservlet
14:01:09,531 | DEBUG | ServletEventDispatcher: 3 | ?[?] org/osgi/service/web/UNDEPLOYED
14:01:09,531 | DEBUG | Gogo shell | org.ops4j.pax.web.service.internal.ServletEventDispatcher[115] Sending web event ServletEvent [replay=false, type=3, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], timestamp=1363111269531, alias=/, servletName=default, urlParameter=[Ljava.lang.String;@5d293036, servlet=ResourceServlet{context=/MyTestServlet,alias=/,name=default}, servletClass=null], httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@29a30c0e] for bundle com.mycompany.myproject.myservlet
14:01:09,531 | DEBUG | ServletEventDispatcher: 1 | ?[?] org/osgi/service/web/UNDEPLOYING
14:01:09,532 | DEBUG | Gogo shell | org.ops4j.pax.web.service.internal.ServletEventDispatcher[115] Sending web event ServletEvent [replay=false, type=4, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], timestamp=1363111269532, alias=/, servletName=default, urlParameter=[Ljava.lang.String;@5d293036, servlet=ResourceServlet{context=/MyTestServlet,alias=/,name=default}, servletClass=null], httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@29a30c0e] for bundle com.mycompany.myproject.myservlet
14:01:09,532 | DEBUG | ServletEventDispatcher: 2 | ?[?] org/osgi/service/web/UNDEPLOYED
14:01:09,532 | DEBUG | Gogo shell | org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper[207] ServletContextHandler for HTTP context [org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@29a30c0e] referenced [9] times.
14:01:09,533 | DEBUG | Gogo shell | org.ops4j.pax.swissbox.extender.BundleWatcher[253] Releasing bundle [com.mycompany.myproject.myservlet]
14:01:09,534 | DEBUG | Gogo shell | org.ops4j.pax.swissbox.extender.BundleWatcher[257] Un-registering [bundleentry://138.fwk1329414206/WEB-INF/web.xml]
14:01:09,534 | DEBUG | Gogo shell | org.ops4j.pax.web.extender.war.internal.WebEventDispatcher[133] Sending web event WebEvent [replay=false, type=3, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], extenderBundle=org.ops4j.pax.web.pax-web-extender-war_3.0.0.M3 [37], cause=null, timestamp=1363111269534, contextPath=/MyTestServlet, collisionIds=null, httpService=null, httpContext=null] for bundle com.mycompany.myproject.myservlet
14:01:09,535 | DEBUG | Gogo shell | org.ops4j.pax.web.extender.war.internal.WebAppPublisher[114] Unpublishing web application [WebApp{displayName=MyTestServlet,contextName=MyTestServlet,m_httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@29a30c0e}]
14:01:09,535 | DEBUG | WebListenerExecutor: 3 | ?[?] org/osgi/service/web/UNDEPLOYING
14:01:09,535 | DEBUG | Gogo shell | org.ops4j.pax.web.extender.war.internal.WebEventDispatcher[133] Sending web event WebEvent [replay=false, type=4, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], extenderBundle=org.ops4j.pax.web.pax-web-extender-war_3.0.0.M3 [37], cause=null, timestamp=1363111269535, contextPath=/MyTestServlet, collisionIds=null, httpService=null, httpContext=null] for bundle com.mycompany.myproject.myservlet
14:01:09,536 | DEBUG | Gogo shell | org.ops4j.pax.web.extender.war.internal.WebObserver[98] Check for a waiting webapp.
14:01:09,536 | DEBUG | WebListenerExecutor: 2 | ?[?] org/osgi/service/web/UNDEPLOYED
14:01:09,536 | DEBUG | Gogo shell | org.ops4j.pax.swissbox.extender.BundleWatcher[253] Releasing bundle [com.mycompany.myproject.myservlet]
14:01:09,537 | DEBUG | Framework Event Dispatcher | ?[?] BundleEvent STOPPED - com.mycompany.myproject.myservlet
14:01:09,590 | DEBUG | Framework Event Dispatcher | ?[?] BundleEvent UNRESOLVED - com.mycompany.myproject.myservlet
14:01:09,599 | DEBUG | Framework Event Dispatcher | ?[?] BundleEvent UPDATED - com.mycompany.myproject.myservlet
14:01:09,616 | DEBUG | Framework Event Dispatcher | ?[?] BundleEvent RESOLVED - com.mycompany.myproject.myservlet
14:01:09,617 | DEBUG | Gogo shell | org.ops4j.pax.swissbox.extender.BundleWatcher[211] Scanning bundle [com.mycompany.myproject.myservlet]
14:01:09,619 | DEBUG | Gogo shell | org.ops4j.pax.swissbox.extender.BundleWatcher[216] Found resources [bundleentry://138.fwk1329414206/WEB-INF/web.xml]
14:01:09,620 | DEBUG | Gogo shell | org.ops4j.pax.swissbox.extender.BundleWatcher[211] Scanning bundle [com.mycompany.myproject.myservlet]
14:01:09,620 | DEBUG | Gogo shell | org.ops4j.pax.web.extender.war.internal.BundleServletScanner[72] scanning for annotated classes
14:01:09,624 | INFO | Gogo shell | com.mycompany.myproject.mybundlelistener.service.MyBundleListenerServiceImpl$BundleListenerImpl[136] New bundle started: com.mycompany.myproject.myservlet
14:01:09,626 | INFO | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebXmlObserver[97] Using [MyTestServlet] as web application context name
14:01:09,627 | INFO | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebXmlObserver[100] [0] virtual hosts defined in bundle header
14:01:09,628 | INFO | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebXmlObserver[103] [2] connectors defined in bundle header
14:01:09,628 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebXmlObserver[141] Parsing a web application from [bundleentry://138.fwk1329414206/WEB-INF/web.xml]
14:01:09,628 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebObserver[159] No 'Webapp-Root' manifest attribute specified
14:01:09,628 | INFO | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebXmlObserver[144] Using [] as web application root path
14:01:09,631 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser[102] version found in web.xml - 2.5
14:01:09,631 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser[121] metadata-complete is: false
14:01:09,632 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser[327] scanning for ServletContainerInitializers
14:01:09,648 | DEBUG | Framework Event Dispatcher | ?[?] FrameworkEvent ERROR - org.ops4j.pax.web.pax-web-extender-war
java.lang.NoClassDefFoundError: org/objectweb/asm/commons/EmptyVisitor
at java.lang.ClassLoader.defineClass1(Native Method)[:1.7.0_17]
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)[:1.7.0_17]
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClassHoldingLock(ClasspathManager.java:632)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:607)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:568)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:492)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:465)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)[:1.7.0_17]
at org.ops4j.pax.web.extender.war.internal.BundleServletScanner.createBundleAnnotationFinder(BundleServletScanner.java:184)
at org.ops4j.pax.web.extender.war.internal.BundleServletScanner.scan(BundleServletScanner.java:74)
at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:212)
at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:51)
at org.ops4j.pax.swissbox.extender.BundleWatcher$2.bundleChanged(BundleWatcher.java:161)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.updateWorker(AbstractBundle.java:645)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.update(AbstractBundle.java:592)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.update(AbstractBundle.java:575)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.apache.felix.gogo.command.Basic.update(Basic.java:849)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_17]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_17]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_17]
at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_17]
at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.felix.gogo.shell.Console.run(Console.java:62)
at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_17]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_17]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_17]
at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_17]
at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
at java.lang.Thread.run(Thread.java:722)[:1.7.0_17]
Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.commons.EmptyVisitor
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)[:1.7.0_17]
... 60 more
14:01:09,664 | DEBUG | Framework Event Dispatcher | ?[?] BundleEvent STARTED - com.mycompany.myproject.myservlet
14:01:11,463 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebXmlObserver[153] Parsed web app [WebApp{displayName=MyTestServlet,contextName=null,m_httpContext=null}]
14:01:11,464 | INFO | BundleWatcher: 2 | org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl[33] Binding bundle: [com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138]] to http service
14:01:11,465 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.service.internal.HttpServiceStarted[98] Creating http service for: com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138]
14:01:11,466 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.service.internal.HttpServiceProxy[47] HttpServiceProxy created for HttpService org.ops4j.pax.web.service.internal.HttpServiceStarted@62fbc724
14:01:11,467 | DEBUG | BundleWatcher: 2 | ?[?] ServiceEvent REGISTERED - {org.ops4j.pax.web.service.WebAppDependencyHolder}={bundle.id=138, service.id=176} - org.ops4j.pax.web.pax-web-extender-war
14:01:11,471 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebEventDispatcher[133] Sending web event WebEvent [replay=false, type=1, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], extenderBundle=org.ops4j.pax.web.pax-web-extender-war_3.0.0.M3 [37], cause=null, timestamp=1363111271471, contextPath=/MyTestServlet, collisionIds=null, httpService=null, httpContext=null] for bundle com.mycompany.myproject.myservlet
14:01:11,471 | DEBUG | WebListenerExecutor: 1 | ?[?] org/osgi/service/web/DEPLOYING
14:01:11,473 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebAppPublisher[81] Publishing web application [WebApp{displayName=MyTestServlet,contextName=MyTestServlet,m_httpContext=null}]
14:01:11,474 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener[187] Registering web application [WebApp{displayName=MyTestServlet,contextName=MyTestServlet,m_httpContext=null}] from http service [org.ops4j.pax.web.service.internal.HttpServiceProxy@45439201]
14:01:11,475 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC[99] visiting webappWebApp{displayName=MyTestServlet,contextName=MyTestServlet,m_httpContext=null}
14:01:11,476 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.service.internal.HttpServiceProxy[85] Creating a default context
14:01:11,476 | WARN | BundleWatcher: 2 | org.ops4j.pax.web.service.internal.HttpServiceStopped[65] Http service has already been stopped
14:01:11,476 | ERROR | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebXmlObserver[182] Could not parse web.xml
org.ops4j.lang.NullArgumentException: http context is null.
at org.ops4j.lang.NullArgumentException.validateNotNull(NullArgumentException.java:75)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebAppHttpContext.<init>(WebAppHttpContext.java:83)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext.<init>(WebAppWebContainerContext.java:49)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:102)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:615)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppPublisher.java:190)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:243)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:131)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[org.eclipse.osgi-3.8.1.v20120830-144521.jar:]
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:89)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebObserver.deploy(WebObserver.java:66)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:173)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:226)[37:org.ops4j.pax.web.pax-web-extender-war:3.0.0.M3]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_17]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_17]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_17]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_17]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_17]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_17]
14:01:11,478 | DEBUG | BundleWatcher: 2 | org.ops4j.pax.web.extender.war.internal.WebEventDispatcher[133] Sending web event WebEvent [replay=false, type=5, bundle=com.mycompany.myproject.myservlet_1.0.0.20130312-GC [138], extenderBundle=org.ops4j.pax.web.pax-web-extender-war_3.0.0.M3 [37], cause=org.ops4j.lang.NullArgumentException: http context is null., timestamp=1363111271478, contextPath=/MyTestServlet, collisionIds=null, httpService=null, httpContext=null] for bundle com.mycompany.myproject.myservlet

Environment

Mac OS X, Eclipse Juno SR2 with Bndtools 2.0 launcher

Status

Assignee

Achim Nierbeck

Reporter

G

Labels

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure