Uploaded image for project: 'Shibboleth User Interface'
  1. Shibboleth User Interface
  2. SHIBUI-1386

Bug: Provider Version API errors after adding a filter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • Sprint - Versions (8/8/2019)

    Description

      Replicon bucket:  Persistence History: Metadata Providers > Display of Versions > API

       

      I am seeing some errors when trying to access the version api once I've added an EntityAttributesFilter to a FilebackedHttpMetadataProvider.

      I get a 400 error, with this api
      http://localhost:4200/api/MetadataResolvers/7daa90b1-847f-4486-b63e-707a2b817c83/Versions/125

      {"errorCode":"400","errorMessage":"Type definition error: [simple type, class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: edu.internet2.tier.shibboleth.admin.ui.domain.resolvers.FileBackedHttpMetadataResolver[\"metadataFilters\"]->org.hibernate.envers.internal.entities.mapper.relation.lazy.proxy.ListProxy[2]->edu.internet2.tier.shibboleth.admin.ui.domain.filters.EntityAttributesFilter[\"entityAttributesFilterTarget\"]->edu.internet2.tier.shibboleth.admin.ui.domain.filters.EntityAttributesFilterTarget_$$_jvst9e8_2f[\"handler\"])","cause":"No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: edu.internet2.tier.shibboleth.admin.ui.domain.resolvers.FileBackedHttpMetadataResolver[\"metadataFilters\"]->org.hibernate.envers.internal.entities.mapper.relation.lazy.proxy.ListProxy[2]->edu.internet2.tier.shibboleth.admin.ui.domain.filters.EntityAttributesFilter[\"entityAttributesFilterTarget\"]->edu.internet2.tier.shibboleth.admin.ui.domain.filters.EntityAttributesFilterTarget_$$_jvst9e8_2f[\"handler\"])"}

       

      Attachments

        Activity

          People

            jonathan.johnson@at.internet2.edu Jonathan Johnson (unicon.net)
            ryan.mathis@at.internet2.edu Ryan Mathis (unicon.net)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: