felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-4186) NPE in DependencyManager Logger
Date Fri, 26 Jul 2013 13:29:48 GMT
Bram de Kruijff created FELIX-4186:
--------------------------------------

             Summary: NPE in DependencyManager Logger
                 Key: FELIX-4186
                 URL: https://issues.apache.org/jira/browse/FELIX-4186
             Project: Felix
          Issue Type: Bug
          Components: Dependency Manager
    Affects Versions: dependencymanager-3.1.0
            Reporter: Bram de Kruijff


Logger line 191 is missing a null check on m_logRef

{code}
ERROR: Bundle com.lopexs.arl.gadgets.mastercontrol [34] EventDispatcher: Error during dispatch.
(java.lang.NullPointerException)
java.lang.NullPointerException
	at org.apache.felix.dm.impl.Logger.serviceChanged(Logger.java:191)
	at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
	at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)
	at org.apache.felix.framework.Felix.access$000(Felix.java:74)
	at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:390)
	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:148)
	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:127)
	at org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:191)
	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2386)
	at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:980)
	at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:967)
	at org.apache.felix.deploymentadmin.spi.StopBundleCommand.execute(StopBundleCommand.java:57)
	at org.apache.felix.deploymentadmin.spi.DeploymentSessionImpl.call(DeploymentSessionImpl.java:73)
	at org.apache.felix.deploymentadmin.DeploymentAdminImpl.installDeploymentPackage(DeploymentAdminImpl.java:214)
	at org.apache.ace.deployment.deploymentadmin.DeploymentAdminDeployer.install(DeploymentAdminDeployer.java:51)
	at org.apache.ace.deployment.service.impl.DeploymentServiceImpl.installVersion(DeploymentServiceImpl.java:120)
	at org.apache.ace.deployment.task.DeploymentUpdateTask.run(DeploymentUpdateTask.java:57)
	at org.apache.ace.scheduler.Executer.run(Executer.java:92)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message