This is a workaround, I don't think that it should be necessary to define a compound service to use one of the base services. If you agree, I will open a GH issue in TDS to fix the actual bug (and add a task to remove this workaround here).
This should fix the error we are currently getting on thredds-dev:
Caused by: java.lang.AssertionError
at thredds.server.catalogservice.CatalogViewContextParser.makeFileServerUrl(CatalogViewContextParser.java:317)
at thredds.server.catalogservice.CatalogViewContextParser.getCatalogItemHref(CatalogViewContextParser.java:231)
at thredds.server.catalogservice.CatalogViewContextParser.populateItemContext(CatalogViewContextParser.java:135)
at thredds.server.catalogservice.CatalogViewContextParser.addCatalogItems(CatalogViewContextParser.java:126)
at thredds.server.catalogservice.CatalogViewContextParser.populateItemContext(CatalogViewContextParser.java:145)
at thredds.server.catalogservice.CatalogViewContextParser.addCatalogItems(CatalogViewContextParser.java:126)
at thredds.server.catalogservice.CatalogViewContextParser.getCatalogViewContext(CatalogViewContextParser.java:64)
at thredds.server.catalogservice.CatalogServiceController.handleHTMLRequest(CatalogServiceController.java:98)
at thredds.server.catalogservice.CatalogServiceController.handleRequest(CatalogServiceController.java:67)
at jdk.internal.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
This is a workaround, I don't think that it should be necessary to define a compound service to use one of the base services. If you agree, I will open a GH issue in TDS to fix the actual bug (and add a task to remove this workaround here).
This should fix the error we are currently getting on thredds-dev: