While trying to figure out how to delete just the SAML 2 services to 
prepare for that, I saw the new fields were added to the DB instead of 
being in one of the serialized fields. So this worked, getting me to 
defaults:

update regexregisteredservice set 
skipGeneratingAssertionNameId=0,skipGeneratingSubjectConfirmationInResponseTo=0,skipGeneratingSubjectConfirmationNotBefore=1,skipGeneratingSubjectConfirmationNotOnOrAfter=0,skipGeneratingSubjectConfirmationRecipient=0,skipGeneratingTransientNameId=0
 
where metadataLocation is not null;


On 2/5/20 5:36 PM, Richard Frovarp wrote:
> Looks like there was a change to how SAML 2 services were defined in CAS
> 5.2. So when Hibernate brings those back in, it's failing to create the
> object. My guess is that since there isn't anything there in the
> serialized form, it is trying to set a boolean to null, which doesn't
> work well for primitives. I haven't been able to find any upgrade
> instructions to handle this. Are there any? Or are we going to need to
> delete our SAML 2 services first, and then recreate?
>
> org.hibernate.PropertyAccessException: Null value was assigned to a
> property [class
> org.apereo.cas.support.saml.services.SamlRegisteredService.skipGeneratingAssertionNameId]
> of primitive type
> setter of
> org.apereo.cas.support.saml.services.SamlRegisteredService.skipGeneratingAssertionNameId
>
>
> Thanks,
>
> Richard
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/520f171d-d2c5-33fd-d98b-4e31b2ffd4d6%40ndsu.edu.

Reply via email to