felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4468) EventObject is created with null pointer : "null source"
Date Wed, 19 Aug 2015 14:54:46 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet resolved FELIX-4468.
------------------------------------
       Resolution: Fixed
    Fix Version/s: framework-5.0.2

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	framework/src/main/java/org/apache/felix/framework/Felix.java
Committed r1696606


> EventObject is created with null pointer : "null source"
> --------------------------------------------------------
>
>                 Key: FELIX-4468
>                 URL: https://issues.apache.org/jira/browse/FELIX-4468
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-4.2.1, framework-4.4.0, scr-1.8.2
>            Reporter: Vincent G.
>            Assignee: Guillaume Nodet
>             Fix For: framework-5.0.2
>
>
> "java.util.EventObject" should not be created with null pointer. As a result, the real
cause of the error is masked.
> java.lang.IllegalArgumentException: null source
>         at java.util.EventObject.<init>(EventObject.java:56)
>         at org.osgi.framework.FrameworkEvent.<init>(FrameworkEvent.java:196)
>         at org.apache.felix.framework.Felix.fireFrameworkEvent(Felix.java:4392)
>         at org.apache.felix.framework.Felix.getService(Felix.java:3572)
>         at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
>         at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:411)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
>         at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java: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.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:107)
>         at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:258)
>         at org.apache.felix.scr.impl.Activator.access$000(Activator.java:45)
>         at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:185)
>         at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
>         at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
>         at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:479)
>         at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:414)
>         at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
>         at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443)
>         at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)
>         at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
>         at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
>         at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
>         at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
>         at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
>         at java.lang.Thread.run(Thread.java:722)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message