wso2 / msf4j

WSO2 Microservices Framework for Java (MSF4J)
http://wso2.com/products/microservices-framework-for-java/
Apache License 2.0
400 stars 349 forks source link

NullPointerException when starting the Product SP with v2.6.1 #537

Closed Yasara123 closed 6 years ago

Yasara123 commented 6 years ago

Description: NullPointerException when starting the Product SP with v2.6.1

ERROR {msf4j-swagger} - [SCR] Error while trying to bind reference Reference[name = microserviceregsitry, interface = org.wso2.msf4j.MicroservicesRegistry, policy = dynamic, cardinality = 1..n, target = null, bind = addRegistry, unbind = removeRegistry]
    Details:
    Problematic reference = Reference[name = microserviceregsitry, interface = org.wso2.msf4j.MicroservicesRegistry, policy = dynamic, cardinality = 1..n, target = null, bind = addRegistry, unbind = removeRegistry]
    of service component = SwaggerDefinitionS
............
at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
Caused by: java.lang.NullPointerException
    at org.wso2.msf4j.swagger.internal.SwaggerDefinitionSC.addRegistry(SwaggerDefinitionSC.java:48)
    ... 106 more

Suggested Labels: Bug

Suggested Assignees: @Yasara123

Affected Product Version: 2.6.1