Configurator does not take OCD's registered by bundles though OSGI-INF/metatype/*.xml into account.

Description

I have a bundle that registers metatype information through an XML file in OSGI-INF/metatype/.
When referring to the OCD in that metatype information in an autconf.xml file by using <Object ocdref="... this results in a NullPointerException at runtime.

java.lang.NullPointerException
at org.amdatu.configurator.autoconf.AutoConfResource.getConfiguration(AutoConfResource.java:105)
at org.amdatu.configurator.autoconf.AutoConfigurator.provision(AutoConfigurator.java:140)
at org.amdatu.configurator.autoconf.AutoConfigurator.provision(AutoConfigurator.java:98)
at org.amdatu.configurator.autoconf.AutoConfigurator.provisionAll(AutoConfigurator.java:118)

Status

Assignee

Unassigned

Reporter

Xander Uiterlinden

Labels

None

Priority

Major
Configure