Stefan Bischof created FELIX-5966:
-------------------------------------
Summary: NPE at RuntimeDTOBuilder.java:74
Key: FELIX-5966
URL: https://issues.apache.org/jira/browse/FELIX-5966
Project: Felix
Issue Type: Bug
Components: HTTP Service
Affects Versions: http.jetty-4.0.6
Reporter: Stefan Bischof
Got a Nullpointer when asking for runtimeDTO of the second HttpServiceRuntime
{code:java}
@Reference(policy =
ReferencePolicy.DYNAMIC,cardinality=ReferenceCardinality.MULTIPLE)
public void bindHttpServiceRuntime(HttpServiceRuntime rt) {
RuntimeDTO dto = rt.getRuntimeDTO();
}
java.lang.NullPointerException
at
org.apache.felix.http.base.internal.runtime.dto.RuntimeDTOBuilder.createServiceDTO(RuntimeDTOBuilder.java:74)
at
org.apache.felix.http.base.internal.runtime.dto.RuntimeDTOBuilder.build(RuntimeDTOBuilder.java:56)
at
org.apache.felix.http.base.internal.service.HttpServiceRuntimeImpl.getRuntimeDTO(HttpServiceRuntimeImpl.java:92){code}
regards
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)