Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1119311187 for ; Sun, 11 May 2014 09:41:38 +0000 (UTC) Received: (qmail 16155 invoked by uid 500); 11 May 2014 09:34:17 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 15836 invoked by uid 500); 11 May 2014 09:34:16 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 15751 invoked by uid 99); 11 May 2014 09:34:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 May 2014 09:34:16 +0000 Date: Sun, 11 May 2014 09:34:16 +0000 (UTC) From: "Andreas Veithen (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AXIS2-5646) An IllegalStateException with invalid BundleContext occurres during the shutdown process of Axis2 OSGi bundle MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5646?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1399= 4491#comment-13994491 ]=20 Andreas Veithen commented on AXIS2-5646: ---------------------------------------- I also see some NullPointerException that occurs during shutdown before the= IllegalStateExceptions: {noformat} ERROR: Bundle org.apache.axis2.osgi [28] Error stopping bundle. (java.lang.= NullPointerException) java.lang.NullPointerException at org.apache.axis2.osgi.deployment.ModuleRegistry.unRegister(Modul= eRegistry.java:74) at org.apache.axis2.osgi.deployment.ModuleRegistry.remove(ModuleReg= istry.java:226) at org.apache.axis2.osgi.deployment.tracker.BundleTracker.close(Bun= dleTracker.java:143) at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory= .stop(OSGiConfigurationContextFactory.java:78) at org.apache.axis2.osgi.internal.Activator.stop(Activator.java:56) at org.apache.felix.framework.util.SecureAction.stopActivator(Secur= eAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2361) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:= 1214) at org.apache.felix.framework.FrameworkStartLevelImpl.run(Framework= StartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:745) {noformat} I=E2=80=99ll try to fix this first. > An IllegalStateException with invalid BundleContext occurres during the s= hutdown process of Axis2 OSGi bundle > -------------------------------------------------------------------------= ------------------------------------ > > Key: AXIS2-5646 > URL: https://issues.apache.org/jira/browse/AXIS2-5646 > Project: Axis2 > Issue Type: Bug > Affects Versions: 1.6.2 > Reporter: Andy Schmidt > Fix For: 1.7.0, 1.6.3 > > Attachments: OSGiConfigurationContextFactory.java > > > An IllegalStateException with invalid BundleContext occurres during the s= hutdown process of the Axis2 OSGi bundle. > 2014-05-05T11:02:32.621 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.felix.= fileinstall[org.osgi.service.cm.ConfigurationListener, org.apache.felix.fil= einstall.ArtifactListener, org.apache.felix.fileinstall.ArtifactInstaller] = 11:02:32.620] ServiceEvent UNREGISTERING > 2014-05-05T11:02:32.623 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.felix.= fileinstall[org.osgi.service.url.URLStreamHandlerService] 11:02:32.623] Ser= viceEvent UNREGISTERING > 2014-05-05T11:02:32.626 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.felix.= fileinstall[org.osgi.service.cm.ManagedServiceFactory] 11:02:32.625] Servic= eEvent UNREGISTERING > 2014-05-05T11:02:32.626 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.felix.= fileinstall 11:02:32.625] BundleEvent STOPPED > 2014-05-05T11:02:32.627 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.ws.com= mons.schema.XmlSchema 11:02:32.627] BundleEvent STOPPED > 2014-05-05T11:02:32.628 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.woden.= woden-api 11:02:32.628] BundleEvent STOPPED > 2014-05-05T11:02:32.628 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.common= s.io 11:02:32.628] BundleEvent STOPPED > 2014-05-05T11:02:32.629 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.httpco= mponents.httpcore 11:02:32.628] BundleEvent STOPPED > 2014-05-05T11:02:32.629 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.common= s.codec 11:02:32.628] BundleEvent STOPPED > 2014-05-05T11:02:32.629 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.axis2.= osgi[org.osgi.service.cm.ManagedService] 11:02:32.629] ServiceEvent UNREGIS= TERING > 2014-05-05T11:02:32.634 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.axis2.= osgi[org.apache.axis2.context.ConfigurationContext] 11:02:32.633] ServiceEv= ent UNREGISTERING > 2014-05-05T11:02:32.636 UTC ERROR [Thread-3|DCSOSGi:?] [org.apache.axis2.= osgi 11:02:32.635] FrameworkEvent ERROR > java.lang.IllegalStateException: Invalid BundleContext. > =09at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleCo= ntextImpl.java:514) > =09at org.apache.felix.framework.BundleContextImpl.getService(BundleConte= xtImpl.java:449) > =09at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory$Ax= isConfigServiceListener.serviceChanged(OSGiConfigurationContextFactory.java= :158) > =09at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatch= er.java:925) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at org.apache.felix.framework.util.EventDispatcher.invokeServiceListen= erCallback(EventDispatcher.java:921) > =09at org.apache.felix.framework.util.EventDispatcher.fireEventImmediatel= y(EventDispatcher.java:793) > =09at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Ev= entDispatcher.java:543) > =09at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260) > =09at org.apache.felix.framework.Felix.access$000(Felix.java:74) > =09at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:390) > =09at org.apache.felix.framework.ServiceRegistry.unregisterService(Servic= eRegistry.java:148) > =09at org.apache.felix.framework.ServiceRegistrationImpl.unregister(Servi= ceRegistrationImpl.java:127) > =09at org.apache.felix.framework.ServiceRegistry.unregisterServices(Servi= ceRegistry.java:191) > =09at org.apache.felix.framework.Felix.stopBundle(Felix.java:2386) > =09at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:121= 4) > =09at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkSta= rtLevelImpl.java:295) > =09at java.lang.Thread.run(Thread.java:744) > 2014-05-05T11:02:32.636 UTC INFO [Thread-3|DCSOSGi:?] [org.apache.axis2.= osgi[org.apache.axis2.transport.TransportListener] 11:02:32.636] ServiceEve= nt UNREGISTERING > 2014-05-05T11:02:32.637 UTC ERROR [Thread-3|DCSOSGi:?] [org.apache.axis2.= osgi 11:02:32.637] FrameworkEvent ERROR > java.lang.IllegalStateException: Invalid BundleContext. > =09at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleCo= ntextImpl.java:514) > =09at org.apache.felix.framework.BundleContextImpl.getService(BundleConte= xtImpl.java:449) > =09at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory$Ax= isConfigServiceListener.serviceChanged(OSGiConfigurationContextFactory.java= :158) > =09at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatch= er.java:925) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at org.apache.felix.framework.util.EventDispatcher.invokeServiceListen= erCallback(EventDispatcher.java:921) > =09at org.apache.felix.framework.util.EventDispatcher.fireEventImmediatel= y(EventDispatcher.java:793) > =09at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Ev= entDispatcher.java:543) > =09at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260) > =09at org.apache.felix.framework.Felix.access$000(Felix.java:74) > =09at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:390) > =09at org.apache.felix.framework.ServiceRegistry.unregisterService(Servic= eRegistry.java:148) > =09at org.apache.felix.framework.ServiceRegistrationImpl.unregister(Servi= ceRegistrationImpl.java:127) > =09at org.apache.felix.framework.ServiceRegistry.unregisterServices(Servi= ceRegistry.java:191) > =09at org.apache.felix.framework.Felix.stopBundle(Felix.java:2386) > =09at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:121= 4) > =09at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkSta= rtLevelImpl.java:295) > =09at java.lang.Thread.run(Thread.java:744) -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org