[
https://issues.apache.org/jira/browse/FELIX-4293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806130#comment-13806130
]
David Jencks commented on FELIX-4293:
-------------------------------------
Pierre reports the problem is still there. It looks like CM_LOCATION_CHANGE
events are supposed to be sent out even before there are any properties set.
In rev 1536005 I added some code to ignore these events.
> [DS] logic error in handling configuration LOCATION_CHANGED event
> -----------------------------------------------------------------
>
> Key: FELIX-4293
> URL: https://issues.apache.org/jira/browse/FELIX-4293
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.8.0
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: scr-1.8.0
>
>
> Pierre de Rop found this with a stack trace like:
> ava.lang.NullPointerException
> at
> org.apache.felix.scr.impl.manager.ComponentFactoryImpl.getProperties(ComponentFactoryImpl.java:226)
> at
> org.apache.felix.scr.impl.manager.ComponentFactoryImpl.configurationUpdated(ComponentFactoryImpl.java:396)
> at
> org.apache.felix.scr.impl.config.ConfigurationSupport.configurationEvent(ConfigurationSupport.java:390)
> at
> The problem occurs because I didn't adapt the code well enough to broken
> config admin implementations.
--
This message was sent by Atlassian JIRA
(v6.1#6144)