You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2018/08/09 16:37:17 UTC
[GitHub] andrei-ivanov commented on a change in pull request #434: NPE when
annotations bundle found but not active
andrei-ivanov commented on a change in pull request #434: NPE when annotations bundle found but not active
URL: https://github.com/apache/cxf/pull/434#discussion_r208998630
##########
File path: rt/rs/description-swagger-ui/src/main/java/org/apache/cxf/jaxrs/swagger/OsgiSwaggerUiResolver.java
##########
@@ -47,6 +47,9 @@ public String findSwaggerUiRootInternal(String swaggerUiMavenGroupAndArtifact,
if (bundle == null) {
return null;
}
+ if (bundle.getState() != Bundle.ACTIVE) {
+ bundle.start();
Review comment:
is it me or the indentation is mixed, space and tabs?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services