AtlasOfLivingAustralia / collectory

Metadata registry for the Atlas
https://collections.ala.org.au
Other
0 stars 15 forks source link

`regression` repatriation loading failing after upgrades #210

Closed djtfmartin closed 1 year ago

djtfmartin commented 1 year ago

The following exception is thrown:

Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'FluxSwitchMap' with class 'reactor.core.publisher.FluxSwitchMap' to class 'io.reactivex.rxjava3.core.Flowable'
        at org.grails.web.converters.ConverterUtil.invokeOriginalAsTypeMethod(ConverterUtil.java:147)
        at org.grails.web.converters.ConvertersExtension.asType(ConvertersExtension.groovy:56)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at au.org.ala.collectory.resources.gbif.GbifDataSourceAdapter.getJSONWS(GbifDataSourceAdapter.groovy:249)
        at au.org.ala.collectory.resources.gbif.GbifRepatDataSourceAdapter.datasets(GbifRepatDataSourceAdapter.groovy:33)
        at au.org.ala.collectory.ExternalDataService.searchForDatasets(ExternalDataService.groovy:65)
        at au.org.ala.collectory.ManageController.searchForRepatResources(ManageController.groovy:126)
        ... 21 common frames omitted