Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8AE88105D2 for ; Fri, 19 Jul 2013 22:28:36 +0000 (UTC) Received: (qmail 49012 invoked by uid 500); 19 Jul 2013 22:28:36 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 48968 invoked by uid 500); 19 Jul 2013 22:28:36 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 48960 invoked by uid 99); 19 Jul 2013 22:28:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jul 2013 22:28:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ajpurkiss@hotmail.com designates 65.54.190.216 as permitted sender) Received: from [65.54.190.216] (HELO bay0-omc4-s14.bay0.hotmail.com) (65.54.190.216) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jul 2013 22:28:29 +0000 Received: from BAY165-W12 ([65.54.190.199]) by bay0-omc4-s14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 19 Jul 2013 15:28:08 -0700 X-TMN: [liNVZ482d+QUyCkFpa2HyMSfdmcEZ/Q5] X-Originating-Email: [ajpurkiss@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_13b853fe-666d-49e0-b0e1-94f9c6be32c6_" From: Adam Purkiss To: "users@felix.apache.org" Subject: RE: NPE from DependencyManager in scr code Date: Fri, 19 Jul 2013 18:28:08 -0400 Importance: Normal In-Reply-To: References: ,,,<25CDF5B0-A720-4670-9240-90A2681CF8CC@yahoo.com>,,, MIME-Version: 1.0 X-OriginalArrivalTime: 19 Jul 2013 22:28:08.0161 (UTC) FILETIME=[3E7A1D10:01CE84CF] X-Virus-Checked: Checked by ClamAV on apache.org --_13b853fe-666d-49e0-b0e1-94f9c6be32c6_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I just answered my own problem. =20 It seems at least that because we are starting as a service the war I had s= till included the gogo stuff which if there is no console dies a horrible d= eath and takes down everything in a blaze of glory. I guess really this is = a bug against gogo that it dies in such a spectacular fashion. =20 > From: ajpurkiss@hotmail.com > To: users@felix.apache.org > Subject: RE: NPE from DependencyManager in scr code > Date: Fri=2C 19 Jul 2013 18:02:40 -0400 >=20 > If it helps I just checked a different log and notice > =20 > INFO: Starting Servlet Engine: Apache Tomcat/7.0.39 > java.io.IOException: The handle is invalid > at java.io.FileInputStream.readBytes(Native Method) > at java.io.FileInputStream.read(FileInputStream.java:242) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) > at java.io.BufferedInputStream.read(BufferedInputStream.java:254) > at org.apache.felix.gogo.runtime.threadio.ThreadInputStream.read(ThreadI= nputStream.java:77) > at org.apache.felix.gogo.shell.Console.getLine(Console.java:117) > at org.apache.felix.gogo.shell.Console.run(Console.java:53) > 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) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > 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:4= 03) > 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(CommandSessi= onImpl.java:89) > at org.apache.felix.gogo.shell.Activator.run(Activator.java:75) > at java.lang.Thread.run(Thread.java:722) > java.lang.IllegalStateException: Invalid BundleContext. > at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleCont= extImpl.java:514) > at org.apache.felix.framework.BundleContextImpl.getService(BundleContext= Impl.java:449) > at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory$Axis= ConfigServiceListener.serviceChanged(OSGiConfigurationContextFactory.java:2= 23) > at org.apache.felix.framework.util.EventDispatcher.invokeServiceListener= Callback(EventDispatcher.java:932) > at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(= EventDispatcher.java:793) > at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Even= tDispatcher.java:543) > at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) > at org.apache.felix.framework.Felix.access$000(Felix.java:74) > at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:401) > at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceR= egistry.java:151) > at org.apache.felix.framework.ServiceRegistrationImpl.unregister(Service= RegistrationImpl.java:127) > at org.apache.felix.framework.ServiceRegistry.unregisterServices(Service= Registry.java:196) > at org.apache.felix.framework.Felix.stopBundle(Felix.java:2555) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309) > at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStart= LevelImpl.java:304) > at java.lang.Thread.run(Thread.java:722) > java.lang.IllegalStateException: Invalid BundleContext. > at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleCont= extImpl.java:514) > at org.apache.felix.framework.BundleContextImpl.getService(BundleContext= Impl.java:449) > at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory$Axis= ConfigServiceListener.serviceChanged(OSGiConfigurationContextFactory.java:2= 23) > at org.apache.felix.framework.util.EventDispatcher.invokeServiceListener= Callback(EventDispatcher.java:932) > at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(= EventDispatcher.java:793) > at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Even= tDispatcher.java:543) > at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) > at org.apache.felix.framework.Felix.access$000(Felix.java:74) > at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:401) > at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceR= egistry.java:151) > at org.apache.felix.framework.ServiceRegistrationImpl.unregister(Service= RegistrationImpl.java:127) > at org.apache.felix.framework.ServiceRegistry.unregisterServices(Service= Registry.java:196) > at org.apache.felix.framework.Felix.stopBundle(Felix.java:2555) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309) > at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStart= LevelImpl.java:304) > at java.lang.Thread.run(Thread.java:722) > java.lang.IllegalStateException: Invalid BundleContext. > at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleCont= extImpl.java:514) > at org.apache.felix.framework.BundleContextImpl.getService(BundleContext= Impl.java:449) > at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory$Axis= ConfigServiceListener.serviceChanged(OSGiConfigurationContextFactory.java:2= 23) > at org.apache.felix.framework.util.EventDispatcher.invokeServiceListener= Callback(EventDispatcher.java:932) > at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(= EventDispatcher.java:793) > at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Even= tDispatcher.java:543) > at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) > at org.apache.felix.framework.Felix.access$000(Felix.java:74) > at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:401) > at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceR= egistry.java:151) > at org.apache.felix.framework.ServiceRegistrationImpl.unregister(Service= RegistrationImpl.java:127) > at org.apache.felix.framework.ServiceRegistry.unregisterServices(Service= Registry.java:196) > at org.apache.felix.framework.Felix.stopBundle(Felix.java:2555) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309) > at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStart= LevelImpl.java:304) > at java.lang.Thread.run(Thread.java:722) > =20 > =20 >=20 > =20 > > From: ajpurkiss@hotmail.com > > To: users@felix.apache.org > > Subject: RE: NPE from DependencyManager in scr code > > Date: Fri=2C 19 Jul 2013 17:30:08 -0400 > >=20 > > Looks like it was not fixed. I still see the error. > > =20 > > If it helps narrow things down we are running felix inside tomcat. If w= e start tomcat from batch file it starts up fine. If we have tomcat as a se= rvice it has issues so it might not be totally an scr issue=2C but the logs= are not helpful at this time to see what is failing and causing these knoc= k on effects. > > =20 > > 2013.07.19 17:13:21.807 [ERROR]: [] Cannot create component instance du= e to failure to bind reference HttpService > > 2013.07.19 17:13:21.807 [ERROR]: []Failed creating the component instan= ce=3B see log for reason > > 2013.07.19 17:13:21.809 [ INFO]: ServiceEvent UNREGISTERING > > 2013.07.19 17:13:21.814 [ INFO]: ServiceEvent UNREGISTERING > > 2013.07.19 17:13:21.820 [ERROR]: [] Cannot create component instance du= e to failure to bind reference WindowsLogger > > 2013.07.19 17:13:21.821 [ERROR]: FrameworkEvent ERROR > > org.apache.felix.log.LogException: org.osgi.framework.ServiceException:= Service factory exception: null > > at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchec= ked(ServiceRegistrationImpl.java:312) > > at org.apache.felix.framework.ServiceRegistrationImpl.getService(Servi= ceRegistrationImpl.java:219) > > at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegist= ry.java:320) > > at org.apache.felix.framework.Felix.getService(Felix.java:3568) > > at org.apache.felix.framework.BundleContextImpl.getService(BundleConte= xtImpl.java:468) > > at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMe= thod.java:572) > > at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObjec= t(DependencyManager.java:2082) > > at org.apache.felix.scr.impl.manager.DependencyManager$SingleDynamicCu= stomizer.prebind(DependencyManager.java:846) > > at org.apache.felix.scr.impl.manager.DependencyManager.prebind(Depende= ncyManager.java:1416) > > at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectD= ependencies(AbstractComponentManager.java:1034) > > at org.apache.felix.scr.impl.manager.ImmediateComponentManager.getServ= iceInternal(ImmediateComponentManager.java:743) > > at org.apache.felix.scr.impl.manager.ImmediateComponentManager.getServ= ice(ImmediateComponentManager.java:713) > > at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchec= ked(ServiceRegistrationImpl.java:308) > > at org.apache.felix.framework.ServiceRegistrationImpl.getService(Servi= ceRegistrationImpl.java:219) > > at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegist= ry.java:320) > > at org.apache.felix.framework.Felix.getService(Felix.java:3568) > > at org.apache.felix.framework.BundleContextImpl.getService(BundleConte= xtImpl.java:468) > > at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory$Ax= isConfigServiceListener.serviceChanged(OSGiConfigurationContextFactory.java= :223) > > at org.apache.felix.framework.util.EventDispatcher.invokeServiceListen= erCallback(EventDispatcher.java:932) > > at org.apache.felix.framework.util.EventDispatcher.fireEventImmediatel= y(EventDispatcher.java:793) > > at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Ev= entDispatcher.java:543) > > at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) > > at org.apache.felix.framework.Felix.registerService(Felix.java:3423) > > at org.apache.felix.framework.BundleContextImpl.registerService(Bundle= ContextImpl.java:346) > > at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.regist= er(AbstractComponentManager.java:919) > > at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.regist= er(AbstractComponentManager.java:908) > > at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistr= ation(RegistrationManager.java:134) > > at org.apache.felix.scr.impl.manager.AbstractComponentManager.register= Service(AbstractComponentManager.java:960) > > at org.apache.felix.scr.impl.manager.AbstractComponentManager.activate= Internal(AbstractComponentManager.java:755) > > at org.apache.felix.scr.impl.manager.DependencyManager$SingleDynamicCu= stomizer.addedService(DependencyManager.java:718) > > at org.apache.felix.scr.impl.manager.DependencyManager$SingleDynamicCu= stomizer.addedService(DependencyManager.java:664) > > at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizer= Added(ServiceTracker.java:1477) > > at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizer= Added(ServiceTracker.java:1398) > > at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.tr= ackAdding(ServiceTracker.java:1210) > > at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.tr= ack(ServiceTracker.java:1148) > > at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceCha= nged(ServiceTracker.java:1429) > > at org.apache.felix.framework.util.EventDispatcher.invokeServiceListen= erCallback(EventDispatcher.java:932) > > at org.apache.felix.framework.util.EventDispatcher.fireEventImmediatel= y(EventDispatcher.java:793) > > at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Ev= entDispatcher.java:543) > > at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) > > at org.apache.felix.framework.Felix.registerService(Felix.java:3423) > > at org.apache.felix.framework.BundleContextImpl.registerService(Bundle= ContextImpl.java:346) > > at org.apache.felix.http.base.internal.HttpServiceController.register(= HttpServiceController.java:135) > > at org.apache.felix.http.base.internal.DispatcherServlet.init(Dispatch= erServlet.java:48) > > at org.apache.felix.http.proxy.DispatcherTracker.initDispatcher(Dispat= cherTracker.java:97) > > at org.apache.felix.http.proxy.DispatcherTracker.setDispatcher(Dispatc= herTracker.java:77) > > at org.apache.felix.http.proxy.DispatcherTracker.addingService(Dispatc= herTracker.java:52) > > at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(Servi= ceTracker.java:932) > > at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(Servi= ceTracker.java:864) > > at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.j= ava:256) > > at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.= java:183) > > at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317) > > at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261) > > at org.apache.felix.http.proxy.ProxyServlet.doInit(ProxyServlet.java:5= 1) > > at org.apache.felix.http.proxy.ProxyServlet.init(ProxyServlet.java:39) > > at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrappe= r.java:1280) > > at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrappe= r.java:1193) > > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:= 1088) > > at org.apache.catalina.core.StandardContext.loadOnStartup(StandardCont= ext.java:5123) > > at org.apache.catalina.core.StandardContext.startInternal(StandardCont= ext.java:5407) > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150= ) > > at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBas= e.java:1559) > > at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBas= e.java:1549) > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1145) > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:615) > > at java.lang.Thread.run(Thread.java:722) > > Caused by: java.lang.NullPointerException > > at org.apache.felix.scr.impl.manager.DependencyManager.invokeUnbindMet= hod(DependencyManager.java:1756) > > at org.apache.felix.scr.impl.manager.DependencyManager.close(Dependenc= yManager.java:1510) > > at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createI= mplementationObject(ImmediateComponentManager.java:282) > > at org.apache.felix.scr.impl.manager.ServiceFactoryComponentManager.ge= tService(ServiceFactoryComponentManager.java:139) > > at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchec= ked(ServiceRegistrationImpl.java:308) > > ... 67 more > > 2013.07.19 17:13:21.823 [ERROR]: [] Cannot create component instance du= e to failure to bind reference Environment > > =20 > > > From: ajpurkiss@hotmail.com > > > To: users@felix.apache.org > > > Subject: RE: NPE from DependencyManager in scr code > > > Date: Wed=2C 17 Jul 2013 23:15:29 -0400 > > >=20 > > > Thanks > > > I will grab the latest code and let it run and see what happens and r= eport back with any issues (if any) > > >=20 > > > > From: david_jencks@yahoo.com > > > > Subject: Re: NPE from DependencyManager in scr code > > > > Date: Wed=2C 17 Jul 2013 17:44:25 -0700 > > > > To: users@felix.apache.org > > > >=20 > > > > Hi Adam=2C > > > >=20 > > > > Thanks for the details. You found a bug=2C FELIX-4171 . I've commi= tted a fix and am thinking about how to write a test. > > > >=20 > > > > In the scenario I thought of=2C I think your failing component has= at least 2 dependencies and the WindowsLogger is not the last one. When th= e failing component is first enabled the WindowsLogger is present but by th= e time the failing component is attempted to be activated it isn't. The co= mponent manager then tries to close all the dependency managers=2C but the = one(s) that haven't been opened cause the NPE you see. > > > >=20 > > > > It is possible for the activation attempt to have a race condition = with unregistering the dependency (WindowsLogger) so the failure to activat= e is always going to be a possibility. However I think it's more likely th= at you ran into the defect I fixed recently FELIX-4166 where for a delayed = component removing a required dependency before the component is activated = did not make it unsatisfied. So probably upgrading to yesterdays trunk wou= ld have fixed the problem=2C but better to get current trunk with the fix f= or the issue you found. > > > >=20 > > > > If my guesses are accurate enough and you have enough logging turne= d on you should be able to see the WindowsLogger get deactivated before you= r failing component is activated. > > > >=20 > > > > If this is not what is going on please let me know some more detail= s! > > > >=20 > > > > thanks > > > > david jencks > > > >=20 > > > > On Jul 17=2C 2013=2C at 2:11 PM=2C Adam Purkiss wrote: > > > >=20 > > > > > Sorry let me explain a little better. DependencyManager in this c= ase is SCR related. It was noted during startup that we see a failure to bi= nd reference message and the stack trace has Caused by: java.lang.NullPoint= erException at org.apache.felix.scr.impl.manager.DependencyManager.invokeUn= bindMethod(DependencyManager.java:1746) > > > > > What puzzled me at first is why during startup there would be a c= all to unbind and where the NPE is coming from. The windows logger componen= t is not much during activate or any of its set calls that I can see. > > > > > We have been running the trunk build as of end of May and this se= ems to be an intermittent issue that is not easy to reproduce. When I did a= n update and tried to build it I noticed that it took three attempts before= it would build so I am not sure if there are real test issues or if the te= sts themselves have issues. We can try to update to the last few changes ma= de in July. If you have some thoughts on what could be up that would be goo= d though. > > > > >=20 > > > > >> Subject: Re: NPE from DependencyManager in scr code > > > > >> From: david_jencks@yahoo.com > > > > >> Date: Wed=2C 17 Jul 2013 11:47:13 -0700 > > > > >> To: users@felix.apache.org > > > > >>=20 > > > > >> I'm not clear on what you are describing. There's a DependencyM= anager class in SCR and also a felix component called DependencyManager. A= lso is this problem in your code or while trying to build a felix component= ? > > > > >>=20 > > > > >> If the problem is in SCR/DS could you try again with current tru= nk? Possibly the problem already got fixed. > > > > >>=20 > > > > >> thanks > > > > >> david jencks > > > > >>=20 > > > > >> On Jul 17=2C 2013=2C at 11:39 AM=2C Adam Purkiss wrote: > > > > >>=20 > > > > >>> We are noticing an intermittent issue with DependencyManager (b= uild of 1.7 snapshot with all changes up to and including May 29). Not sure= what is causing this behaviour. Does anyone have thoughts on what it might= be? Are we doing something wrong or is it a threading issue we are running= into? I tried to get the latest code built but I was finding that "mvn cl= ean install" failed 2 out of 4 times=2C one with a test failure and one wit= h a different error to do with fail safe so I am not sure how safe the late= st code changes are. I don't understand why at this point it is trying to d= o an unbind as the system is starting up. > > > > >>> thanks > > > > >>>=20 > > > > >>>=20 > > > > >>> 2013.07.17 12:22:50.759 [ERROR]: > > > > >>> [com.nuance.docimg.dws.core.logprovider.impl.LogServiceImpl(15)= ] Cannot create > > > > >>> component instance due to failure to bind reference WindowsLogg= er > > > > >>>=20 > > > > >>> 2013.07.17 12:22:50.759 [ERROR]: FrameworkEvent ERROR > > > > >>>=20 > > > > >>> org.apache.felix.log.LogException: > > > > >>> org.osgi.framework.ServiceException: Service factory exception:= null > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUn= checked(ServiceRegistrationImpl.java:312) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.ServiceRegistrationImpl.getServic= e(ServiceRegistrationImpl.java:219) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.ServiceRegistry.getService(ServiceRe= gistry.java:320) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.Felix.getService(Felix.java:3568) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.BundleContextImpl.getService(BundleC= ontextImpl.java:468) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(Bi= ndMethod.java:572) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.DependencyManager.getServi= ceObject(DependencyManager.java:2072) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.DependencyManager$SingleDynam= icCustomizer.prebind(DependencyManager.java:836) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.DependencyManager.prebind(= DependencyManager.java:1406) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.AbstractComponentManager.coll= ectDependencies(AbstractComponentManager.java:1034) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.ImmediateComponentManager.= getServiceInternal(ImmediateComponentManager.java:736) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ImmediateComponentManager.get= Service(ImmediateComponentManager.java:706) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.ServiceRegistrationImpl.getFactor= yUnchecked(ServiceRegistrationImpl.java:308) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.ServiceRegistrationImpl.getService(S= erviceRegistrationImpl.java:219) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.ServiceRegistry.getService(ServiceRe= gistry.java:320) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.Felix.getService(Felix.java:3568) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.BundleContextImpl.getService(BundleC= ontextImpl.java:468) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFac= tory$AxisConfigServiceListener.serviceChanged(OSGiConfigurationContextFacto= ry.java:223) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.util.EventDispatcher.invokeServiceLi= stenerCallback(EventDispatcher.java:932) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.util.EventDispatcher.fireEventImmedi= ately(EventDispatcher.java:793) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.util.EventDispatcher.fireServiceEven= t(EventDispatcher.java:543) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java= :4419) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.Felix.registerService(Felix.java:= 3423) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.BundleContextImpl.registerService(Bu= ndleContextImpl.java:346) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.AbstractComponentManager$3= .register(AbstractComponentManager.java:919) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.AbstractComponentManager$3.re= gister(AbstractComponentManager.java:908) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.RegistrationManager.change= Registration(RegistrationManager.java:134) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.AbstractComponentManager.regi= sterService(AbstractComponentManager.java:960) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.AbstractComponentManager.a= ctivateInternal(AbstractComponentManager.java:755) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.DependencyManager$SingleDynam= icCustomizer.addedService(DependencyManager.java:709) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.DependencyManager$SingleDy= namicCustomizer.addedService(DependencyManager.java:655) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.custom= izerAdded(ServiceTracker.java:1477) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.cus= tomizerAdded(ServiceTracker.java:1398) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracke= d.trackAdding(ServiceTracker.java:1210) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTra= cked.track(ServiceTracker.java:1148) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.servic= eChanged(ServiceTracker.java:1429) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.util.EventDispatcher.invokeServic= eListenerCallback(EventDispatcher.java:932) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.util.EventDispatcher.fireEventImmedi= ately(EventDispatcher.java:793) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.util.EventDispatcher.fireServiceE= vent(EventDispatcher.java:543) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java= :4419) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.Felix.registerService(Felix.java:= 3423) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.BundleContextImpl.registerService= (BundleContextImpl.java:346) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.AbstractComponentManager$3.re= gister(AbstractComponentManager.java:919) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.AbstractComponentManager$3= .register(AbstractComponentManager.java:908) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.RegistrationManager.changeReg= istration(RegistrationManager.java:134) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.AbstractComponentManager.regi= sterService(AbstractComponentManager.java:960) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.AbstractComponentManager.acti= vateInternal(AbstractComponentManager.java:755) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.DependencyManager$SingleDynam= icCustomizer.addedService(DependencyManager.java:709) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.DependencyManager$SingleDynam= icCustomizer.addedService(DependencyManager.java:655) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.custom= izerAdded(ServiceTracker.java:1477) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.custom= izerAdded(ServiceTracker.java:1398) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTra= cked.trackAdding(ServiceTracker.java:1210) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracke= d.track(ServiceTracker.java:1148) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.ser= viceChanged(ServiceTracker.java:1429) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.util.EventDispatcher.invokeServiceLi= stenerCallback(EventDispatcher.java:932) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.util.EventDispatcher.fireEventImm= ediately(EventDispatcher.java:793) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.util.EventDispatcher.fireServiceEven= t(EventDispatcher.java:543) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java= :4419) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.framework.Felix.registerService(Felix.java:= 3423) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.BundleContextImpl.registerService(Bu= ndleContextImpl.java:346) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.http.base.internal.HttpServiceController.re= gister(HttpServiceController.java:135) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.http.base.internal.DispatcherServlet.init(Disp= atcherServlet.java:48) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.http.proxy.DispatcherTracker.initDispatcher(Di= spatcherTracker.java:97) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.http.proxy.DispatcherTracker.setDispatcher(Dis= patcherTracker.java:77) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.http.proxy.DispatcherTracker.addingService(Dis= patcherTracker.java:52) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAddin= g(ServiceTracker.java:932) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(S= erviceTracker.java:864) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTr= acked.java:256) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractT= racked.java:183) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.jav= a:317) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.jav= a:261) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.http.proxy.ProxyServlet.doInit(ProxyServlet= .java:51) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.http.proxy.ProxyServlet.init(ProxyServlet.j= ava:39) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.catalina.core.StandardWrapper.initServlet(Standar= dWrapper.java:1280) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWr= apper.java:1193) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.catalina.core.StandardWrapper.load(StandardWrappe= r.java:1088) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.catalina.core.StandardContext.loadOnStartup(Standard= Context.java:5123) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.catalina.core.StandardContext.startInternal(Standard= Context.java:5407) > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.j= ava:150) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.catalina.core.ContainerBase$StartChild.call(Containe= rBase.java:1559) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.catalina.core.ContainerBase$StartChild.call(Containe= rBase.java:1549) > > > > >>>=20 > > > > >>>=20 > > > > >>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.jav= a:334) > > > > >>>=20 > > > > >>>=20 > > > > >>> at java.util.concurrent.FutureTask.run(FutureTask.java:166) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExe= cutor.java:1145) > > > > >>>=20 > > > > >>>=20 > > > > >>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo= lExecutor.java:615) > > > > >>>=20 > > > > >>>=20 > > > > >>> at java.lang.Thread.run(Thread.java:722) > > > > >>>=20 > > > > >>> Caused by: java.lang.NullPointerException > > > > >>>=20 > > > > >>>=20 > > > > >>> at org.apache.felix.scr.impl.manager.DependencyManager.invokeUn= bindMethod(DependencyManager.java:1746) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.DependencyManager.close(Depen= dencyManager.java:1500) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ImmediateComponentManager.cre= ateImplementationObject(ImmediateComponentManager.java:276) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.scr.impl.manager.ServiceFactoryComponentManage= r.getService(ServiceFactoryComponentManager.java:139) > > > > >>>=20 > > > > >>>=20 > > > > >>> at > > > > >>> org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUn= checked(ServiceRegistrationImpl.java:308) > > > > >>>=20 > > > > >>>=20 > > > > >>> ... 85 more =20 > > > > >>=20 > > > > >>=20 > > > > >> ----------------------------------------------------------------= ----- > > > > >> To unsubscribe=2C e-mail: users-unsubscribe@felix.apache.org > > > > >> For additional commands=2C e-mail: users-help@felix.apache.org > > > > >>=20 > > > > > =20 > > > >=20 > > > =20 > > =20 > =20 = --_13b853fe-666d-49e0-b0e1-94f9c6be32c6_--