rgra 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_r209169173
########## 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: Uh.... sorry, fixed. Was lazy and didn't edit it in the IDE but directly in GitHub and thought GitHub would be smart and tell me if indent uses the wrong characters. It doesn't. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services